Apache DocumentRoot does not exist
29 05 2010I got to write this down this time although this is not related to Solr/Lucene. This has come back and bite me many times. The error is due to incorrect SELinux context on the DocumentRoot directory. Here is what you need to do to correct it:
chcon -R user_u:object_r:httpd_sys_content_t
You may want to check on /var/www first to see if the context is correct by issuing this command:
ls -al --context /var/www
Okay, this is it. This should fix this annoying issue.