2.4.2版本的apache中需要在目录下面添加 Require all granted,否则无论怎么访问都是403,具体报错如下:
[Fri Aug 10 19:07:13.263893 2012] [authz_core:error] [pid 8918:tid 1126259008] [client 192.168.123.102:53420] AH01630: client denied by server configuration: /tmp
CODE: <VirtualHost *:80> ServerName d8.5y6s.com DocumentRoot /tmp <Directory /tmp> Options +indexes Order allow,deny Allow from all Require all granted </Directory> </VirtualHost> |