DocumentRoot does not exist解决方法
Aug.21, 2012 in
Apache
重启Apache提示DocumentRoot does not exist,类似如下: Stopping httpd: [ OK ] Starting httpd: Warning: DocumentRoot [/var/www/html/test] does not exist 奇怪的是路径明明已经存在。查了下发现一般是由于启用了SELINUX导致的,解决方法为
重启Apache提示DocumentRoot does not exist,类似如下: Stopping httpd: [ OK ] Starting httpd: Warning: DocumentRoot [/var/www/html/test] does not exist 奇怪的是路径明明已经存在。查了下发现一般是由于启用了SELINUX导致的,解决方法为
重启Apache出现Address already in use: make_sock: could not bind to address [::]:80 查看了下端口占用情况
Apache服务器上如果启用了mod_security模块,而网站的脚本又与这个模块起冲突,就需要我们去关闭这个模块。Apache虚拟主机用户由于没办法编辑Apache配置文件httpd.conf文件,只能通过配置.htaccess文件实现了