0
我實際上是想在WAMP上安裝zend框架。我遵循this tutorial的說明。我遇到了一個問題。我在目錄C:\ websites \ test中設置了Zend Framework。我編輯的文件C:\ wampzend \ BIN \ apache的\ apache2.4.9 \的conf \額外\根據指南中的說明的httpd-vhosts.conf:設置zend框架時禁止使用Wamp 403
<Directory c:/websites>
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot "C:/wampzend/www"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/websites/test/public"
ServerName test
SetEnv APPLICATION_ENV "development"
</VirtualHost>
我還編輯我的hosts文件,並進入從測試指針到127.0.0.1。如果我去url測試,我會得到一個403 Forbidden響應。指向wampzend/www的localhost工作正常。 403響應的任何解決方案?
你的錯誤日誌說什麼?大多數情況下,你會發現更多的信息爲什麼給403。 – hakre