APACHE2 修改HTTPD.CONF 后启动错误
生活随笔
收集整理的這篇文章主要介紹了
APACHE2 修改HTTPD.CONF 后启动错误
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
#./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.html vi /etc/selinux/config 使SELINUX=disable 或/etc/seliux/targeted/booleans httpd_enable_homedirs=1 應該是一樣的問題,修改后重啟系統,問題解決.
總結
以上是生活随笔為你收集整理的APACHE2 修改HTTPD.CONF 后启动错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 增加数据库控制文件命令
- 下一篇: ORA-00257 错误解决