Cannot get UserDir to work with Apache2.0.52 and Fedora3
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Unix and Linux > Cannot get UserDir to work with Apache2.0.52 and Fedora3




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-07-05 10: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?








[ Post a follow-up to this message ]



    Re: Cannot get UserDir to work with Apache2.0.52 and Fedora3  
Nick Kew


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-07-05 10: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





[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-07-05 10: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)Pe
rmission
denied: access to /~<user1>/ denied

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







[ Post a follow-up to this message ]



    Re: Cannot get UserDir to work with Apache2.0.52 and Fedora3  
Alan J. Flavell


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-07-05 10: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.






[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-05 07: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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:16 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register