View previous topic :: View next topic |
Author |
Message |
drkstorm Tux's lil' helper

Joined: 22 Apr 2004 Posts: 118
|
Posted: Mon Oct 29, 2007 4:29 pm Post subject: apache 403 forbidden issue w/ userdir |
|
|
I'm sure this is simple, but i cant see it, I want userdir access on my apache2 server but i keep getting:
/var/log/apache2/error_log:
Code: | client denied by server configuration: /home/users/kyle/public_html/index.html |
/etc/config.d/apache2:
Code: | APACHE2_OPTS="-D USERDIR -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SUEXEC -D PHP5" |
all dirs and index.html have chmod 755 permissions: /home, /home/users, /home/users/kyle, /home/users/kyle/public_html and I haven't changed anything in the /etc/apache2/modules.d/00_mod_userdir.conf
my root webpage works fine, located in /var/www/localhost/htdocs/ |
|
Back to top |
|
 |
mr-simon Guru


Joined: 22 Nov 2002 Posts: 367 Location: Leamington Spa, Warks, UK
|
Posted: Mon Oct 29, 2007 8:27 pm Post subject: |
|
|
You have a slightly nonstandard directory configuration there... Your home dir is looking at /home/users/kyle
00_mod_userdir.conf in /etc/apache2/modules.d says: Code: | <Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory> |
You might want to try changing that to: Code: | <Directory /home/users/*/public_html>
...
</Directory> |
I'm not 100% convinced that that'll help, as I don't know if * matches just one entry or multiple, in a Directory declaration like that... But the error you have definitely looks like there's no <Directory> segment allowing access to that part of the filesystem.. _________________ "Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey." |
|
Back to top |
|
 |
drkstorm Tux's lil' helper

Joined: 22 Apr 2004 Posts: 118
|
Posted: Mon Oct 29, 2007 10:21 pm Post subject: |
|
|
that was it ... thanks! |
|
Back to top |
|
 |
|
|
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
|
|