Problems configuring Apache

Paul Howarth paul at city-fan.org
Tue Feb 21 08:10:32 UTC 2006


On Mon, 2006-02-20 at 10:36 +1030, Tim wrote:
> On Sun, 2006-02-19 at 17:15 -0600, Wojciech Komornicki wrote:
> > I have configured Apache the way I want but am having problems letting
> > it recognize URL's of the form 
> >    http://myserver/~user
> > I have copied the configuration I have on another box (a Dec Alpha) and
> > also compared it to my configuration on a SUN and cannot figure out what
> > is wrong.
> 
> Most likely a SELinux issue.  See the FAQs available about SELinux and
> Apache on the Fedora websites.

See also "man httpd_selinux"

You probably need to do:
# setsebool -P httpd_enable_homedirs 1
# chcon -R -t httpd_sys_content_t ~user/public_html

> > I have tried setting the permissions to 777 on directories and 666 on files but that
> > does not solve the problem.
> 
> Ye gads!  Don't make things WORLD WRITABLE!

Ugh! You definitely don't want them world writable.

Cheers, Paul.




More information about the users mailing list