因為 Apache 的 Virtual Host 預設必須要放在 DocumentRoot 的目錄底下,否則會出現 client denied by server configuration
必須在 Virtual Host 的 conf 加上以下幾行
Apache 2.2 版
<Directory /{your_path}>
#...
Order allow,deny
Allow from all
</Directory>
Apache 2.4版
<Directory /{your_path}>
#...
Require all granted
</Directory>
文章標籤
全站熱搜
