0
我有一個荒謬的問題與Apache和CentOS,網絡服務器工作在默認模式,當轉到http://myip我查看正確的Apache測試頁。如果加上`/etc/httpd/conf.d/foo.confApache:403禁用時激活虛擬主機
<VirtualHost *:80>
ServerName foo.local
DocumentRoot "/home/foo/html"
ErrorLog /var/log/httpd/foo.local-error.log
<Directory "/home/foo/html">
Options Includes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
我有403禁止配置到Apache所有的目錄,我沒有看到任何的測試頁。 目錄/home/foo/html
擁有所有者和組apache
,並且權限775指向目錄,664指向文件。我在日誌中看到:
AH00035: access to/denied (filesystem path '/home/foo/html') because search permissions are missing on a component of the path
如果我取消激活此的conf文件,Apache的作品,看到了測試頁