RE: [users@httpd] Alias and user directories gives 403 errors

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

 



> On Fri, May 20, 2005 at 10:12:14AM +0100, Andrew Walmsley wrote:
> > I'm trying to duplicate a server setup from one machine 
> running Redhat 
> > 9.0 and Apache 2.0.44 to a machine running Red Hat Enterprise 
> > 2.6.9-5.0.5.Elsmp and Apache 2.0.52
> > 
> > The machine was setup, and Apache test page works correctly, tarred 
> > over relevant user directories and Apache conf.d files. This setup 
> > works fine on the old machine.
> > 
> > With UserDir disabled, we use an alias file in conf.d to 
> change /~atx/ 
> > to /home/atx/public_html/ Whenever we try to connect to it, 
> 403 errors 
> > are given.
> > Access to /home/atx/public/ is 755 for all directories, 
> home owned by 
> > root, atx & below by atx
> 
> This is probably due to the SELinux policy - please see, e.g:
> 
> http://fedora.redhat.com/docs/selinux-apache-fc3/
> 
> http://fedora.redhat.com/docs/selinux-apache-fc3/sn-user-homedir.html
> 
> there is RHEL-specific SELinux information in the RHEL 
> documentation, too.
> 
> Regards,
> 
> joe

Access was forbidden by the SELinux policy. Thanks for that.
I have temporarily disabled SELinux and everything now works fine. I'll
sit down and read the manual on how to configure a proper policy when I
get chance (and before the box goes live!). 
Many Thanks

-- 
Andrew Walmsley
Software Development
Travel Technology Systems Ltd.
2 Nile Close, Riversway
Preston, PR2 2XU
Tel: 01772 766800
Fax: 01772 766801

(please note the new address and contact number)

This Email may contain information of a confidential and/or privileged
nature.
The information transmitted is intended only for the benefit of the
person or entity to which it is addressed and must not be copied or
forwarded without the sender's express permission.
This Email does not reflect the views or opinions of Travel Technology
Systems Ltd.
This Email is without prejudice.
This Email does not constitute an agreement either explicitly or
implicitly with Travel Technology Systems Ltd.  

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux