You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by rs...@mor-or.pn.psu.ac.th on 2006/06/27 14:05:24 UTC

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

Dear Sir,
    I used Apache/2.0.52 that come with Fedora Core 3.
I want to config "public_html" for each user in file
"httpd.conf" but don"t work.
     I config httpd.conf below.
         #UserDir disable        //Delete this line
            UserDir public_html
     When used IE it has error message below.

Forbidden
You don't have permission to access /~sysmail/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an 
ErrorDocument to handle the request.

       And error in "error_log" show below.
[Tue Jun 27 18:55:55 2006] [error] [client 250.168.180.156] (13)Permission denie
d: access to /~manuser/ denied

       More detail in home directory show below.
# ls -ld /home
drwx--x--x  7 root root 4096 Jun 26 15:17 /home
# ls -ld /home/manuser/
drwx--x--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/

     Please let me know how to solve this problem.
             Thanks & Best Regards,
                       Somsak.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Craig Dunigan <cd...@doit.wisc.edu>.
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@mor-or.pn.psu.ac.th 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 <jo...@slive.ca>:
>
>> On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
>> <rs...@mor-or.pn.psu.ac.th> 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@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

-- 
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
Dear Joshua, Craig Dunigan and all members,
   I just understand what is SElinux because the first time
for me to use Fedora.
   I follow you and now can solve this problem. I solve that
set "SELINUX=disabled" in /etc/selinux/config
   Thank you very much for your help.
                Best Regards,
                    Somsak.

Quoting Craig Dunigan <cd...@doit.wisc.edu>:

> On Sun, 2 Jul 2006, Joshua Slive wrote:
> 
> > On 7/2/06, rsomsak123@mor-or.pn.psu.ac.th
> > <rs...@mor-or.pn.psu.ac.th> wrote:
> >> Quoting Joshua Slive <jo...@slive.ca>:
> >> 
> >> > You've already been told several times that the problem is likely
> >> > SELinux config, and you've been given direct links explaining how
> to
> >> > understand and solve the problem.  What more do you want?
> >> >
> >>
> >>    I just told you that user which have home directory under
> >> "/home" is working well.
> >>    But user that have home directory under "/office" don"t
> >> work.
> >
> > And that even more strongly suggests SELinux config problems.
> >
> > Have you, or have you not turned off SELinux entirely and checked if
> > the problem persists?
> >
> > Have you, or have you not checked /var/log/;messages for related
> > SELinux problems?
> >
> > Until you do those things, there is no point discussing this issue
> further.
> >
> > Joshua.
> >
> 
> To turn SELinux off completely (as I posted before):
> 
> http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825880
> 
> Note this requires a reboot.  If you can't reboot, I'll repeat what
> Bill Jones said (which looks to a non-user of SELinux like it will
> turn off enforcing policies and accomplish the same thing):
> 
> > Also, if you execute
> > su - -c "setenforce 0"
> >
> > And restart your web server using:
> > su - -c "service httpd stop && service httpd start"
> >
> > Does the error appear now?
> 
> I don't recall seeing an answer to that question.
> 
> As for your statement "I don't know why and how to solve this
> problem", I have to say that I suspect that it means that you did
> *not*, as I recommended, read all of
> http://fedora.redhat.com/docs/selinux-faq-fc3/.  I'm guessing that 
> you'll continue to struggle until you do.
> 
> -- 
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log [thx Joshua and Nail]

Posted by Norbul <nw...@post.pl>.
Yes, that's right it's empty slot,

Thanks a lot


----- Original Message ----- 
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Monday, July 03, 2006 6:06 PM
Subject: Re: [users@httpd] strange log


> On 7/3/06, Norbul <nw...@post.pl> wrote:
> > I use http://host/server-status site to show status, and then on this
site
> > is few "normal" request and this from ::1 without pid ???
>
> When there is no PID, check the column "M".  You'll see a "." there
> which, according to the legend, indicates the slot is empty (there is
> no process on this slot) because the server load is low.  If the slot
> has been empty since the last graceful restart, then the rest of the
> data for this slot will come from the "wake-up" request that I
> mentioned in my last message.
>
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by Joshua Slive <jo...@slive.ca>.
On 7/3/06, Norbul <nw...@post.pl> wrote:
> I use http://host/server-status site to show status, and then on this site
> is few "normal" request and this from ::1 without pid ???

When there is no PID, check the column "M".  You'll see a "." there
which, according to the legend, indicates the slot is empty (there is
no process on this slot) because the server load is low.  If the slot
has been empty since the last graceful restart, then the rest of the
data for this slot will come from the "wake-up" request that I
mentioned in my last message.

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by Pid <p...@pidster.com>.

Norbul wrote:
> I use http://host/server-status site to show status, and then on this site
> is few "normal" request and this from ::1 without pid ???
> 
> ----- Original Message ----- 
> From: "Joshua Slive" <jo...@slive.ca>
> To: <us...@httpd.apache.org>
> Sent: Monday, July 03, 2006 5:54 PM
> Subject: Re: [users@httpd] strange log
> 
> 
>> On 7/3/06, Norbul <nw...@post.pl> wrote:
>>> Please notice, that this request doesn't have PID number
>> And why should it?  It looks like you are using common log format,
>> which doesn't log the PID.
>>
>> Try changing to combined log format.  You may find that these requests
>> happen during apache graceful restarts when the parent process needs
>> to wake up the children to get them to restart.
>> If so, it will be noted in the user-agent field.
>>
>> Joshua.

"CustomLog logs/access_log combined"

I'm unlikely to appear in your logs.

Pid


>> ---------------------------------------------------------------------
>> 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@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by Norbul <nw...@post.pl>.
I use http://host/server-status site to show status, and then on this site
is few "normal" request and this from ::1 without pid ???




----- Original Message ----- 
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Monday, July 03, 2006 5:54 PM
Subject: Re: [users@httpd] strange log


> On 7/3/06, Norbul <nw...@post.pl> wrote:
> > Please notice, that this request doesn't have PID number
>
> And why should it?  It looks like you are using common log format,
> which doesn't log the PID.
>
> Try changing to combined log format.  You may find that these requests
> happen during apache graceful restarts when the parent process needs
> to wake up the children to get them to restart.
> If so, it will be noted in the user-agent field.
>
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by Joshua Slive <jo...@slive.ca>.
On 7/3/06, Norbul <nw...@post.pl> wrote:
> Please notice, that this request doesn't have PID number

And why should it?  It looks like you are using common log format,
which doesn't log the PID.

Try changing to combined log format.  You may find that these requests
happen during apache graceful restarts when the parent process needs
to wake up the children to get them to restart.
If so, it will be noted in the user-agent field.

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by "Neil A. Hillard" <hi...@whl.co.uk>.
Hi,

Norbul wrote:
> Please notice, that this request doesn't have PID number
> 
> 
> ----- Original Message ----- 
> From: "Neil A. Hillard" <hi...@whl.co.uk>
> To: <us...@httpd.apache.org>
> Sent: Monday, July 03, 2006 5:24 PM
> Subject: Re: [users@httpd] strange log
> 
> 
>> Hi,
>>
>> Norbul wrote:
>>> I have somet thing like this in log file
>>>
>>> ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
>>> ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
>>> ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
>>> ::1 - - [03/Jul/2006:17:14:34 +0200] "GET / HTTP/1.0" 200 29935
>>> ::1 - - [03/Jul/2006:17:14:47 +0200] "GET / HTTP/1.0" 200 29935
>>>
>>> Does anybody know what this mean, I have't any cron jobs etc.
>> Unless I'm mistaken then that'll be the IPv6 loopback address
>> (equivalent of 127.0.0.1 for IPv4).
>>
>> You must have something on the local box that is performing those
>> requests.  Try using a combined log format to log the user agent which
>> may give more clues.

Please try not to top post.

PID isn't normally logged in access.log.  If you want to log it, check
out the LogFormat directive.

Nothing looks out of the ordinary in that log extract.


				Neil.

-- 
Neil Hillard                    hillardn@whl.co.uk
Westland Helicopters Ltd.       http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by Norbul <nw...@post.pl>.
Please notice, that this request doesn't have PID number


----- Original Message ----- 
From: "Neil A. Hillard" <hi...@whl.co.uk>
To: <us...@httpd.apache.org>
Sent: Monday, July 03, 2006 5:24 PM
Subject: Re: [users@httpd] strange log


> Hi,
>
> Norbul wrote:
> > I have somet thing like this in log file
> >
> > ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
> > ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
> > ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
> > ::1 - - [03/Jul/2006:17:14:34 +0200] "GET / HTTP/1.0" 200 29935
> > ::1 - - [03/Jul/2006:17:14:47 +0200] "GET / HTTP/1.0" 200 29935
> >
> > Does anybody know what this mean, I have't any cron jobs etc.
>
> Unless I'm mistaken then that'll be the IPv6 loopback address
> (equivalent of 127.0.0.1 for IPv4).
>
> You must have something on the local box that is performing those
> requests.  Try using a combined log format to log the user agent which
> may give more clues.
>
>
> HTH,
>
>
> Neil.
>
> -- 
> Neil Hillard                    hillardn@whl.co.uk
> Westland Helicopters Ltd.       http://www.whl.co.uk/
>
> Disclaimer: This message does not necessarily reflect the
>             views of Westland Helicopters 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange log

Posted by "Neil A. Hillard" <hi...@whl.co.uk>.
Hi,

Norbul wrote:
> I have somet thing like this in log file
> 
> ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
> ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
> ::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
> ::1 - - [03/Jul/2006:17:14:34 +0200] "GET / HTTP/1.0" 200 29935
> ::1 - - [03/Jul/2006:17:14:47 +0200] "GET / HTTP/1.0" 200 29935
> 
> Does anybody know what this mean, I have't any cron jobs etc.

Unless I'm mistaken then that'll be the IPv6 loopback address
(equivalent of 127.0.0.1 for IPv4).

You must have something on the local box that is performing those
requests.  Try using a combined log format to log the user agent which
may give more clues.


HTH,


				Neil.

-- 
Neil Hillard                    hillardn@whl.co.uk
Westland Helicopters Ltd.       http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] strange log

Posted by Norbul <nw...@post.pl>.
I have somet thing like this in log file

::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
::1 - - [03/Jul/2006:17:14:00 +0200] "GET / HTTP/1.0" 200 29935
::1 - - [03/Jul/2006:17:14:34 +0200] "GET / HTTP/1.0" 200 29935
::1 - - [03/Jul/2006:17:14:47 +0200] "GET / HTTP/1.0" 200 29935

Does anybody know what this mean, I have't any cron jobs etc.





---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Craig Dunigan <cd...@doit.wisc.edu>.
On Sun, 2 Jul 2006, Joshua Slive wrote:

> On 7/2/06, rsomsak123@mor-or.pn.psu.ac.th
> <rs...@mor-or.pn.psu.ac.th> wrote:
>> Quoting Joshua Slive <jo...@slive.ca>:
>> 
>> > You've already been told several times that the problem is likely
>> > SELinux config, and you've been given direct links explaining how to
>> > understand and solve the problem.  What more do you want?
>> >
>>
>>    I just told you that user which have home directory under
>> "/home" is working well.
>>    But user that have home directory under "/office" don"t
>> work.
>
> And that even more strongly suggests SELinux config problems.
>
> Have you, or have you not turned off SELinux entirely and checked if
> the problem persists?
>
> Have you, or have you not checked /var/log/;messages for related
> SELinux problems?
>
> Until you do those things, there is no point discussing this issue further.
>
> Joshua.
>

To turn SELinux off completely (as I posted before):

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

Note this requires a reboot.  If you can't reboot, I'll repeat what
Bill Jones said (which looks to a non-user of SELinux like it will
turn off enforcing policies and accomplish the same thing):

> Also, if you execute
> su - -c "setenforce 0"
>
> And restart your web server using:
> su - -c "service httpd stop && service httpd start"
>
> Does the error appear now?

I don't recall seeing an answer to that question.

As for your statement "I don't know why and how to solve this
problem", I have to say that I suspect that it means that you did
*not*, as I recommended, read all of
http://fedora.redhat.com/docs/selinux-faq-fc3/.  I'm guessing that 
you'll continue to struggle until you do.

-- 
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Joshua Slive <jo...@slive.ca>.
On 7/2/06, rsomsak123@mor-or.pn.psu.ac.th
<rs...@mor-or.pn.psu.ac.th> wrote:
> Quoting Joshua Slive <jo...@slive.ca>:
>
> > You've already been told several times that the problem is likely
> > SELinux config, and you've been given direct links explaining how to
> > understand and solve the problem.  What more do you want?
> >
>
>    I just told you that user which have home directory under
> "/home" is working well.
>    But user that have home directory under "/office" don"t
> work.

And that even more strongly suggests SELinux config problems.

Have you, or have you not turned off SELinux entirely and checked if
the problem persists?

Have you, or have you not checked /var/log/;messages for related
SELinux problems?

Until you do those things, there is no point discussing this issue further.

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Pid <p...@pidster.com>.
Again,

How to configure a directory:
http://httpd.apache.org/docs/2.2/mod/core.html#directory

Security tips (e.g. how to avoid "Permission Denied"):
http://httpd.apache.org/docs/2.2/misc/security_tips.html

Then read the user_dir config instructions:
http://httpd.apache.org/docs/2.2/mod/mod_userdir.html

Then read the FAQ:
http://httpd.apache.org/docs/2.2/faq/error.html#error.permissiondenied

Apache configures all directories from / (root) to be inaccessible, (for
security reasons), if you try to publish a directory that isn't
permitted to be available, you get a 'permission denied' error.

So for each directory that you wish to publish, you must configure
permissions which allow it to be read.  In your case, that means SELinux
settings and basic Apache configuration.

The docs are very clear on how to do this.


p



rsomsak123@mor-or.pn.psu.ac.th wrote:
> Quoting Joshua Slive <jo...@slive.ca>:
> 
>> You've already been told several times that the problem is likely
>> SELinux config, and you've been given direct links explaining how to
>> understand and solve the problem.  What more do you want?
>>
> 
>    I just told you that user which have home directory under
> "/home" is working well.
>    But user that have home directory under "/office" don"t
> work.
>     When access "http://xxx.xxx.xxx.xxx/~supply ", in
> "error_log" show below.
> 
> [Fri Jun 30 20:56:26 2006] [error] [client 226.168.151.53] (13)Permission
> denied: access to /~supply denied
>  
>    I follow url that get from you below.
> 
> http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825658
> 
>     But still problem if home directory is not undex"/home".
> 
>     I don"t know why and how to solve this problem..
>     My "system-config-securitylevel" is set to disable and
> other my information show below.
>           http://203.121.168.10/supply-user.txt
>           http://203.121.168.10/httpd.conf.txt
> 
>      Would you please help me because first time for me
> to config Apache 2.x ?
> 
>                    Somsak.
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
Quoting Joshua Slive <jo...@slive.ca>:

> You've already been told several times that the problem is likely
> SELinux config, and you've been given direct links explaining how to
> understand and solve the problem.  What more do you want?
>

   I just told you that user which have home directory under
"/home" is working well.
   But user that have home directory under "/office" don"t
work.
    When access "http://xxx.xxx.xxx.xxx/~supply ", in
"error_log" show below.

[Fri Jun 30 20:56:26 2006] [error] [client 226.168.151.53] (13)Permission
denied: access to /~supply denied
 
   I follow url that get from you below.

http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825658

    But still problem if home directory is not undex"/home".

    I don"t know why and how to solve this problem..
    My "system-config-securitylevel" is set to disable and
other my information show below.
          http://203.121.168.10/supply-user.txt
          http://203.121.168.10/httpd.conf.txt

     Would you please help me because first time for me
to config Apache 2.x ?

                   Somsak.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
  I create "testing" user for tesing "public_html".
   Now "testing" user that home directory under "/export3/home3/office3" is 
working well. More detail below.

# grep testing /etc/passwd
testing:x:30000:100::/export3/home3/office3/testing:/bin/bash

 And httpd.conf below.
<Directory /export3/home3/office3/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Order allow,deny
    Allow from all
</Directory>

   But if I used "usermod" command to change home directory under
"/export3/home3/office3" to under "/office3", it don"t work. 
Note that "office3" is link file.
    More detail below.

# usermod -d /office3/testing -m testing

# grep testing /etc/passwd
testing:x:30000:100::/office3/testing:/bin/bash

# ls -ld /office3
lrwxrwxrwx  1 root root 22 Jul  2 18:48 /office3 -> /export3/home3/office3

 And config httpd.conf again below.
<Directory /office3/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Order allow,deny
    Allow from all
</Directory>

   But can"t access "public_html".
   Is Apache 2.x support link file ? (/office3)
I must used link file for use short path.
   Please help me.

         Best Regards,
             Somsak.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Bill Jones <te...@gmail.com>.
On 6/30/06, Joshua Slive <jo...@slive.ca> wrote:
> On 6/30/06, rsomsak123@mor-or.pn.psu.ac.th
> <rs...@mor-or.pn.psu.ac.th> wrote:
>
> >       Have any idea ?
>
> You've already been told several times that the problem is likely
> SELinux config, and you've been given direct links explaining how to
> understand and solve the problem.  What more do you want?

(The list is way more patient than I.)

Somsak:
What does cat /etc/selinux/config show?

Also, if you execute
su - -c "setenforce 0"

And restart your web server using:
su - -c "service httpd stop && service httpd start"

Does the error appear now?
-- 
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Joshua Slive <jo...@slive.ca>.
On 6/30/06, rsomsak123@mor-or.pn.psu.ac.th
<rs...@mor-or.pn.psu.ac.th> wrote:

>       Have any idea ?

You've already been told several times that the problem is likely
SELinux config, and you've been given direct links explaining how to
understand and solve the problem.  What more do you want?

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
Quoting Bill Jones <te...@gmail.com>:

> On 6/28/06, rsomsak123@mor-or.pn.psu.ac.th
> <rs...@mor-or.pn.psu.ac.th> wrote:
> > > Is the web server running as manuser?
> >    Running as "apache" user.
> >
> > # grep apache /etc/passwd
> > apache:x:48:48:Apache:/var/www:/sbin/nologin
> >
> > # grep 48 /etc/group
> > apache:x:48:
> 
> How about a proof of concept -- please post the results of this
> command:
> 
> su - -c "lsof -i tcp | grep apache"
> 
> If it is running as apache this command will prove it =)
> 
     Show below.
        http://203.121.168.10/command1.txt
     My "httpd.conf" show below.
        http://203.121.168.10/httpd.conf.txt

     Now user that have home directory under "/home"
is working well.
      But user that have home directory under "/office" don"t work.
When access "http://xxx.xxx.xxx.xxx/~supply ", in "error_log"
show below.

[Fri Jun 30 20:56:26 2006] [error] [client 226.168.151.53] (13)Permission denied
: access to /~supply denied

       My information about user "supply" show below.

           http://203.121.168.10/supply-user.txt

      Have any idea ?

                  Somsak.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Bill Jones <te...@gmail.com>.
On 6/28/06, rsomsak123@mor-or.pn.psu.ac.th
<rs...@mor-or.pn.psu.ac.th> wrote:
> > Is the web server running as manuser?
>    Running as "apache" user.
>
> # grep apache /etc/passwd
> apache:x:48:48:Apache:/var/www:/sbin/nologin
>
> # grep 48 /etc/group
> apache:x:48:

How about a proof of concept -- please post the results of this command:

su - -c "lsof -i tcp | grep apache"

If it is running as apache this command will prove it =)

HTH/Sx
-- 
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
> Is the web server running as manuser?  
   Running as "apache" user.

# grep apache /etc/passwd
apache:x:48:48:Apache:/var/www:/sbin/nologin

# grep 48 /etc/group
apache:x:48:

                   Somsak.

Quoting Chris Snyder <ca...@pennswoods.net>:

> Is the web server running as manuser?  
> 
> Quoting rsomsak123@mor-or.pn.psu.ac.th:
> 
> >    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 <jo...@slive.ca>:
> > 
> > > On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
> > > <rs...@mor-or.pn.psu.ac.th> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Chris Snyder <ca...@pennswoods.net>.
Is the web server running as manuser?  

Quoting rsomsak123@mor-or.pn.psu.ac.th:

>    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 <jo...@slive.ca>:
> 
> > On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
> > <rs...@mor-or.pn.psu.ac.th> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Marcus Yu <my...@tuckerenergy.com>.
try :

$ restorecon -R public_html



rsomsak123@mor-or.pn.psu.ac.th 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 <jo...@slive.ca>:
> 
> 
>>On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
>><rs...@mor-or.pn.psu.ac.th> 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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
   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 <jo...@slive.ca>:

> On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
> <rs...@mor-or.pn.psu.ac.th> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Joshua Slive <jo...@slive.ca>.
On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
<rs...@mor-or.pn.psu.ac.th> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
     I used Fedora Core 3.

Quoting Joshua Slive <jo...@slive.ca>:

> On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
> <rs...@mor-or.pn.psu.ac.th> wrote:
> > Dear Sir,
> >     I used Apache/2.0.52 that come with Fedora Core 3.
> > I want to config "public_html" for each user in file
> > "httpd.conf" but don"t work.
> >      I config httpd.conf below.
> >          #UserDir disable        //Delete this line
> >             UserDir public_html
> >      When used IE it has error message below.
> >
> > Forbidden
> > You don't have permission to access /~sysmail/ on this server.
> > Additionally, a 403 Forbidden error was encountered while trying to
> use an
> > ErrorDocument to handle the request.
> >
> >        And error in "error_log" show below.
> > [Tue Jun 27 18:55:55 2006] [error] [client 250.168.180.156]
> (13)Permission denie
> > d: access to /~manuser/ denied
> >
> >        More detail in home directory show below.
> > # ls -ld /home
> > drwx--x--x  7 root root 4096 Jun 26 15:17 /home
> > # ls -ld /home/manuser/
> > drwx--x--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/
> >
> >      Please let me know how to solve this problem.
> 
> Are you running SELinux?  Is it configured properly?
> 
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Joshua Slive <jo...@slive.ca>.
On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
<rs...@mor-or.pn.psu.ac.th> wrote:
> Dear Sir,
>     I used Apache/2.0.52 that come with Fedora Core 3.
> I want to config "public_html" for each user in file
> "httpd.conf" but don"t work.
>      I config httpd.conf below.
>          #UserDir disable        //Delete this line
>             UserDir public_html
>      When used IE it has error message below.
>
> Forbidden
> You don't have permission to access /~sysmail/ on this server.
> Additionally, a 403 Forbidden error was encountered while trying to use an
> ErrorDocument to handle the request.
>
>        And error in "error_log" show below.
> [Tue Jun 27 18:55:55 2006] [error] [client 250.168.180.156] (13)Permission denie
> d: access to /~manuser/ denied
>
>        More detail in home directory show below.
> # ls -ld /home
> drwx--x--x  7 root root 4096 Jun 26 15:17 /home
> # ls -ld /home/manuser/
> drwx--x--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/
>
>      Please let me know how to solve this problem.

Are you running SELinux?  Is it configured properly?

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by rs...@mor-or.pn.psu.ac.th.
     I follow you to use 755 but still problem. Any idea ?
               reagrds,
              Somsak.

Quoting Felipe Tocchetto <fe...@tocchetto.com>:

> try use 755 on your home:
> 
> drwxr-xr-x  18 felipe   other 2560 Jun 26 16:21 felipe
> 
> On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
> <rs...@mor-or.pn.psu.ac.th> wrote:
> > Dear Sir,
> >     I used Apache/2.0.52 that come with Fedora Core 3.
> > I want to config "public_html" for each user in file
> > "httpd.conf" but don"t work.
> >      I config httpd.conf below.
> >          #UserDir disable        //Delete this line
> >             UserDir public_html
> >      When used IE it has error message below.
> >
> > Forbidden
> > You don't have permission to access /~sysmail/ on this server.
> > Additionally, a 403 Forbidden error was encountered while trying to
> use an
> > ErrorDocument to handle the request.
> >
> >        And error in "error_log" show below.
> > [Tue Jun 27 18:55:55 2006] [error] [client 250.168.180.156]
> (13)Permission denie
> > d: access to /~manuser/ denied
> >
> >        More detail in home directory show below.
> > # ls -ld /home
> > drwx--x--x  7 root root 4096 Jun 26 15:17 /home
> > # ls -ld /home/manuser/
> > drwx--x--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/
> >
> >      Please let me know how to solve this problem.
> >              Thanks & Best Regards,
> >                        Somsak.
> >
> >
> ---------------------------------------------------------------------
> > 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@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> 
> 
> -- 
> Felipe L. Tocchetto
> http://felipe.tocchetto.com
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


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

Posted by Felipe Tocchetto <fe...@tocchetto.com>.
try use 755 on your home:

drwxr-xr-x  18 felipe   other 2560 Jun 26 16:21 felipe

On 6/27/06, rsomsak123@mor-or.pn.psu.ac.th
<rs...@mor-or.pn.psu.ac.th> wrote:
> Dear Sir,
>     I used Apache/2.0.52 that come with Fedora Core 3.
> I want to config "public_html" for each user in file
> "httpd.conf" but don"t work.
>      I config httpd.conf below.
>          #UserDir disable        //Delete this line
>             UserDir public_html
>      When used IE it has error message below.
>
> Forbidden
> You don't have permission to access /~sysmail/ on this server.
> Additionally, a 403 Forbidden error was encountered while trying to use an
> ErrorDocument to handle the request.
>
>        And error in "error_log" show below.
> [Tue Jun 27 18:55:55 2006] [error] [client 250.168.180.156] (13)Permission denie
> d: access to /~manuser/ denied
>
>        More detail in home directory show below.
> # ls -ld /home
> drwx--x--x  7 root root 4096 Jun 26 15:17 /home
> # ls -ld /home/manuser/
> drwx--x--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/
>
>      Please let me know how to solve this problem.
>              Thanks & Best Regards,
>                        Somsak.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Felipe L. Tocchetto
http://felipe.tocchetto.com

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org