Web Servers on Unix and Linux - Cannot get UserDir to work with Apache2.0.52 and Fedora3

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > February 2005 > Cannot get UserDir to work with Apache2.0.52 and Fedora3





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Cannot get UserDir to work with Apache2.0.52 and Fedora3
G. Roderick Singleton

2005-02-07, 5:54 pm

I have configured httpd.conf as follows for user personal webpages:

<IfModule mod_userdir.c>
UserDir public_html
</IfModule>

and

<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>

Yest I keep getting a 403 message as follows:
Forbidden

You don't have permission to access /~gerry/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.

Perms are:

drwxr-xr-x 107 <user1> wheel 20480 Feb 7 13:10 /home/<user1>
drwxr-xr-x 13 root root 4096 Jan 23 08:26 /home
drwxr-xr-x 21 gerry wheel 4096 Aug 15 12:22 /home/<user1>/public_html/

Where <user1> is the username.

This worked with Apache2 and RH9

Any clues?



Nick Kew

2005-02-07, 5:54 pm

G. Roderick Singleton wrote:

> Yest I keep getting a 403 message as follows:
> Forbidden


I expect the error log will tell you what's wrong.

Oh, and why the <IfModule>?

--
Nick Kew
G. Roderick Singleton

2005-02-07, 5:54 pm

On Mon, 07 Feb 2005 21:09:21 +0000, Nick Kew wrote:

> G. Roderick Singleton wrote:
>
>
> I expect the error log will tell you what's wrong.
>
> Oh, and why the <IfModule>?



Nope. Error log reports:
[Mon Feb 07 13:48:58 2005] [error] [client 207.189.41.25] (13)Permission
denied: access to /~<user1>/ denied

As you are aware perms should be correct. Why should access be denied?


Alan J. Flavell

2005-02-07, 5:54 pm

nOn Mon, 7 Feb 2005, G. Roderick Singleton wrote:

> Nick Kew wrote:
>
>
> Nope.


What's that got to do with the <IfModule>?

> Error log reports:
> [Mon Feb 07 13:48:58 2005] [error] [client 207.189.41.25] (13)Permission
> denied: access to /~<user1>/ denied


Then you have your answer. Google for "(13) Permission denied" and
all will be revealed.

> As you are aware perms should be correct.


As -you- are aware, permissions -should- be correct. Evidently they
are not.

> Why should access be denied?


http://www.google.co.uk/search?q=%2...ssion+denied%22

Use the web, Luke.

G. Roderick Singleton

2005-02-08, 2:51 am

On Mon, 07 Feb 2005 14:08:00 -0500, G. Roderick Singleton wrote:

> I have configured httpd.conf as follows for user personal webpages:
>
> <IfModule mod_userdir.c>
> UserDir public_html
> </IfModule>
>
> and
>
> <Directory /home/*/public_html>
> AllowOverride FileInfo AuthConfig Limit
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> </Directory>
>
> Yest I keep getting a 403 message as follows:
> Forbidden
>
> You don't have permission to access /~gerry/ on this server.
>
> Additionally, a 403 Forbidden error was encountered while trying to use an
> ErrorDocument to handle the request.
>
> Perms are:
>
> drwxr-xr-x 107 <user1> wheel 20480 Feb 7 13:10 /home/<user1>
> drwxr-xr-x 13 root root 4096 Jan 23 08:26 /home
> drwxr-xr-x 21 gerry wheel 4096 Aug 15 12:22 /home/<user1>/public_html/
>
> Where <user1> is the username.
>
> This worked with Apache2 and RH9
>
> Any clues?



Never mind it is not an apache problem.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com