我在apache 2.2中得到了這個虛擬主機目錄的403個禁止的錯誤。任何人都可以幫忙嗎?這個apache虛擬主機指令有什麼問題?
<VirtualHost *:80>
ServerName www.xyz.com
ServerAlias xyz.com
DocumentRoot "/home/bruce/projects/links/www"
<Directory />
AllowOverride None
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html index.htm index.jsp index.php
</VirtualHost>
謝謝!在日誌
編輯錯誤是
(13)Permission denied: access to/denied
您的虛擬主機與您的文件夾錯誤沒有問題。您需要將755設置爲文件夾鏈接和www。 – Prix