Warning: DocumentRoot * does not exist on Centos 6
Posted
by
user1213807
on Super User
See other posts from Super User
or by user1213807
Published on 2013-11-05T09:08:23Z
Indexed on
2013/11/05
9:58 UTC
Read the original article
Hit count: 422
My virtual hosts lines:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /www/docs/example.com
ServerName example.com
ErrorLog logs/example.com-error_log
CustomLog logs/example.com.com-access_log common
</VirtualHost>
And when I apache restart (sudo apachectl -k stop)
get this error:
Warning: DocumentRoot [/www/docs/example.com] does not exist
I've checked some ways:
All files and directories permissions is OK, everything 755. I think, maybe this error about SeLinux and disable it. But not working. Still same error.
How can I fix this problem?
© Super User or respective owner