2016-09-17 79 views
0

我已經下載並安裝了Magento 1.9.x以及我的Mac上的示例數據。閱讀magento 1.9x htaccess文件

我已經添加到我的主機入口文件如下:

127.0.0.1 local.magento.test 

而在的httpd-vhosts.conf我有路徑Web根集:

DocumentRoot "/Library/WebServer/Documents/vhosts/magento.test/httpdocs" 
ServerName local.magento.test 

我m如果403說

服務器無法讀取htaccess文件,拒絕訪問是安全

如果我期待在Apache的錯誤日誌似乎它正在努力讀書,從magento.test目錄中的.htaccess文件,沒有的httpdocs

Permission denied: ... /Library/WebServer/Documents/vhosts/magento.test/.htaccess 

任何意見或大加讚賞建議

回答

0

好的,問題解決了。我需要將以下內容添加到我的虛擬主機條目中:

<Directory /> 
    Options FollowSymLinks 
    AllowOverride All 
</Directory>