您的位置:首页 > 其它

apche2.24版本

2020-09-03 17:48 1121 查看

创建虚拟主机
访问报错:500
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.15 (CentOS) Server at 192.168.179.137 Port 8888

日志报错:
[Thu Sep 03 17:45:48 2020] [crit] [client 192.168.179.1] configuration error: couldn't perform authentication. AuthType not set!: /

需要配置:satisfy any
[root@jack6-2 vhost]# cat vhost.conf

BEGIN ANSIBLE MANAGED BLOCK

<VirtualHost *:8888>
DocumentRoot /data/www/html
ServerName myvhost.com
<Directory /data/www/html>
AllowOverride None
Require all granted
Satisfy Any
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

END ANSIBLE MANAGED BLOCK

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: