You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Soheil Noori Bushehri <so...@gmail.com> on 2005/09/04 14:59:27 UTC
[users@httpd] Why userdir does not work
Hi,
Is there any idea why UserDir may not work as instructed in the manual?
That is, although there is a
UserDir public_html
(and it is the only userdir directive) in httpd.conf, when I try to
access http://localhost/~soheil/, I get the error
Forbidden
You don't have permission to access /~soheil/ on this server.
The other relevant settings in httpd.conf:
...
LoadModule userdir_module modules/mod_userdir.so
...
# actual userdir setting is :
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
# directory setting :
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Order allow,deny
Allow from all
</Directory>
And some bash checkings:
bash> ls -ld /home /home/soheil /home/soheil/public_html
drwxr-xr-x 5 root root 4096 Aug 23 18:30 /home
drwxr-xr-x 52 soheil soheil 4096 Sep 4 16:06 /home/soheil
drwxr-xr-x 4 soheil soheil 4096 Sep 4 00:46 /home/soheil/public_html
bash> ls -la /home/soheil/public_html
drwxr-xr-x 4 soheil soheil 4096 Sep 4 00:46 .
drwxr-xr-x 52 soheil soheil 4096 Sep 4 17:20 ..
-rw-r--r-- 1 soheil soheil 248 Sep 4 00:46 index.html
OS is Fedora Core 4.
Thanks
--
Soheil Noori Bushehri
soheilnb@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org