Re: [users@httpd] "public_html" for each user don"t work.

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

 



Presumably, you chose restrictive firewall settings when you installed Fedora. That installed and enabled SELinux: http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825207.

When you did so, that meant RedHat added SELinux to the usual control mechanisms for Apache. You can do one of the following:

Turn off SELinux altogether: http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825880

Turn off SELinux for just Apache:
http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#using-s-c-securitylevel

Follow the procedure for enabling public_html userdir under SELinux:
http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825658

In any case, you should probably *read* http://fedora.redhat.com/docs/selinux-faq-fc3/ so you understand what's probably going on.

By the way, I found all of this information by following the link Joshua sent. I don't actually know a thing about SELinux, I just know how to read the second paragraph. ;)

If it's not SELinux, I honestly and humbly apologize. I don't really have an answer for you then.


On Wed, 28 Jun 2006, rsomsak123@xxxxxxxxxxxxxxxxxxx wrote:

  I"m still problem.
  Can not access "http://xxx.xxx.xxx.xxx/~manuser"; on
Fedora Core 3 with Apache/2.0.52.
   It has error in "error_log" show below,
[Wed Jun 28 18:31:08 2006] [error] [client 210.168.195.131] (13)Permission denie
d: access to /~manuser denied

    My "httpd.conf" show below.
        http://mor-or.pn.psu.ac.th/~rsomsak123/httpd.conf.txt

    Other information on my Linux Server show below.
# grep manuserl /etc/passwd
manuser:x:500:500:Man USER:/home/manuser:/bin/bash

# ls -ld /home
drwxr-xr-x  7 root root 4096 Jun 28 09:53 /home

# ls -ld /home/manuser/
drwxr-xr-x  6 manuser manuser 4096 Jun 27 17:23 /home/manuser/

# ls -ld /home/manuser/public_html/
drwxr-xr-x  2 manuser manuser 4096 Jun 27 17:23 /home/manuser/public_html/

     Have any idea ?
           Somsak.

Quoting Joshua Slive <joshua@xxxxxxxx>:

On 6/27/06, rsomsak123@xxxxxxxxxxxxxxxxxxx
<rsomsak123@xxxxxxxxxxxxxxxxxxx> wrote:
     I used Fedora Core 3.

I read that already.  The fact that you have no idea what I mean by
"SELinux" probably means that this is the source of your problem.
See:
http://httpd.apache.org/docs/2.2/faq/error.html#error.permissiondenied

Joshua.

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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


--
Craig Dunigan
IS Technical Services Specialist
Middleware - EIS - DoIT
University of Wisconsin, Madison

opinions expressed are my own, not the University's

---------------------------------------------------------------------
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