View previous topic :: View next topic |
Author |
Message |
gyratedotorg Tux's lil' helper
Joined: 14 Feb 2004 Posts: 89
|
Posted: Fri Apr 23, 2004 11:38 pm Post subject: apache 403 forbidden on 'user' directories (fixed) |
|
|
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 |
|
|
gyratedotorg Tux's lil' helper
Joined: 14 Feb 2004 Posts: 89
|
Posted: Sat Apr 24, 2004 12:03 am Post subject: |
|
|
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 |
|
|
yodi Tux's lil' helper
Joined: 14 May 2004 Posts: 88 Location: Liverpool, England
|
Posted: Wed Jun 23, 2004 6:04 pm Post subject: |
|
|
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 |
|
|
|