Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache 403 forbidden on 'user' directories (fixed)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gyratedotorg
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2004
Posts: 89

PostPosted: Fri Apr 23, 2004 11:38 pm    Post subject: apache 403 forbidden on 'user' directories (fixed) Reply with quote

i just emerged apache2 on a new install of gentoo, and im getting the follwing error message when i try to access 'user' directories on my server:

Code:

Forbidden

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

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


this is especially confusing, since ive given full access to my public_html directory...

Code:

drwxrwxrwx    2 mike     users          80 Apr 23 18:42 public_html


and the stock commonapache2.conf is clearly allowing access to it...

Code:

<Directory /home/*/public_html>
    AllowOverride All
    Options MultiViews -Indexes Includes FollowSymLinks
    <IfModule mod_access.c>
      Order allow,deny
      Allow from all
    </IfModule>
</Directory>


is there something else i should be looking at?


Last edited by gyratedotorg on Sun Apr 25, 2004 5:52 am; edited 2 times in total
Back to top
View user's profile Send private message
gyratedotorg
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2004
Posts: 89

PostPosted: Sat Apr 24, 2004 12:03 am    Post subject: Reply with quote

fixed!

1.) add apache to the users group
2.) chmod g+x /home/*
3.) apache2ctl restart (not sure why i had to do this)
Back to top
View user's profile Send private message
yodi
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2004
Posts: 88
Location: Liverpool, England

PostPosted: Wed Jun 23, 2004 6:04 pm    Post subject: Reply with quote

Works a treat and is much less effort then any of the other fixes for this problem that people have come up with, although shouldn't some kind of message at the end of the ebuild about user public_html make things easier ? :)
_________________
All Servers :: Offline [no connection]
Gallery :: Visit Here
Homepage :: Visit Here
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum