apache2.4 You don't have permission to access / on

apache2.4 You don't have permission to access / on this server.

在配置完apache2.4
conf/extra/httpd-vhosts.conf 添加完虛擬主機後以及
本地windows/system32/drivers/etc/host.conf 進行域名解析後

去到Apache
conf/httpd.conf
大概是231行的位置
修改
<Directory />
AllowOverride none
Require all no
</Directory>

<Directory “代碼目錄”>
Options Indexes FollowSymlinks
AllowOverride All
Require all granted
</Directory>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章