(解决)apache : starting httpd : Documentroot does not exist

 

I yum installed httpd* ,then vim /etc/httpd/conf/httpd.conf   ,create a new NameVirutalhost

then service httpd restart , it shows me : Documentroot [/www] does not exist

I thought that is the permission issue . so chown 777 /www

then service httpd restart , it still shows me the msg .

so I have to ask for google . some guys say that is the selinux issue .

so I run       setsebool -P httpd_disable_trans on

then service httpd restart ,it works , the boring msg disappeared.

posted @ 2011-11-03 05:49  永哥  阅读(604)  评论(0编辑  收藏  举报