Apache 2.2.15错误日志:
0 1 2 3 |
[root@localhost conf.d]# apachectl -v Server version: Apache/2.2.15 (Unix) Server built: Oct 16 2014 14:48:21 [Wed Jul 22 22:19:40 2015] [crit] [client 1.1.1.1] configuration error: couldn't perform authentication. AuthType not set!: / |
原因:
0 1 2 3 4 |
<Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride None Require all granted #属于2.4.X版本 </Directory> |
修改为:
0 1 2 3 4 5 |
<Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!