Question
Warning: DocumentRoot * does not exist on Centos 6
My virtual hosts lines:
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /www/docs/example.com
ServerName example.com
ErrorLog logs/example.com-error_log
CustomLog logs/example.com.com-access_log common
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?
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×