APACHE2 修改HTTPD.CONF 后启动错误

来源:互联网 发布:淘宝买家好评语大全 编辑:程序博客网 时间:2024/04/30 04:04
#./apachectl start #Syntax error on line 291 of /etc/httpd/conf/httpd.conf:#DocumentRoot must be a directory但HTTPD.CONF 中  DocumentRoot "/home/hobbit/server/www"郁闷了很长一段时间,到处换资料.后来看到:http://www.chinaunix.net/jh/4/564402.htmlvi /etc/selinux/config 使SELINUX=disable 或/etc/seliux/targeted/booleans httpd_enable_homedirs=1应该是一样的问题,修改后重启系统,问题解决.