Re: Apache on ES5 not recognizing DocumentRoot -- this is an install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rob wrote:
> On 2/24/10 9:57 AM, "m.roth@xxxxxxxxx" <m.roth@xxxxxxxxx> wrote:
>>>
>>> I installed ES5 on a brand new box and ported over my document store
>>> and config files from a Fedora Core 7 box.  If I bring up apache
>>> pointed to its initial default DocumentRoot, /var/www/html, all is
>>> fine.  But the DocumentRoot we use is /var/apache/html and just as it
>>> was on the Fedora Core system, /var/apache is a mount point, and Apache
>>> errs out on start-up:
>>>
>>>     Starting httpd: Syntax error on line 282 of
>>> /etc/httpd/conf/httpd.conf:
>>>     DocumentRoot must be a directory
>> <snip>
>> So, what does /etc/httpd/conf/httpd.conf, line 282 read?
>
> DocumentRoot "/var/apache/html"

Ok, I just googled on apache linux "document root must be a directory",
and found this thread
<http://fedoraforum.org/forum/showthread.php?t=27007>, which suggests it's
an selinux problem indeed. I assume you've got selinux enforcing?

         mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux