httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <>
Subject Re: [users@httpd] Why wont apache start with this httpd.conf?
Date Fri, 14 Oct 2005 13:08:26 GMT
On Thu, Oct 13, 2005 at 03:38:22PM +0200, Søren Neigaard wrote:
> I have a strange problem on Fedora Core 4. I have edited my httpd.conf, 
> and now apache will not start when i use the /etc/init.d/httpd script, 
> but if do a configtest it says ok, and if i start apache manually with 
> /usr/sbin/httpd it allso works just fine.

This is an SELinux issue.  In FC4, SELinux policy is only applied if 
httpd is started via the init script. 

You'd have to correctly label the docroots outside /var/www so that the 
SELinux policy will allow access; see the following guides for more 

e.g. something like this should work:

  # chcon  -R -t httpd_sys_content_t /home/www/

> > <VirtualHost>
> >     DocumentRoot /home/www/html
> > </VirtualHost>



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message