You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ml...@hetnet.nl on 2002/01/03 23:24:38 UTC

UserDir and access rights

Hi there,

A question about access rights. I have set the UserDir= public_html. 
I get the folowing message when I try to load http://localhost/~michiel/phpinfo.php.

--- Title Forbidden 403 --------------------------------------------------

Forbidden

You don't have permission to access /~michiel/phpinfo.php on this server.

Apache-AdvancedExtranetServer/1.3.20 Server at obelix.leegwater.nl Port 80

--------------------------------------------------------------------------

It does the same with http://localhost/~michiel/ and http://localhost/~root/.
http://localhost is working properly.
No errors are recorded in the error_log.

in my httpd.conf are the following access rules

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

Can anybody tell me what I can do about this problem.

Thanks!!!

Michiel Leegwater.

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: UserDir and access rights

Posted by RuneImp <ru...@imptech.net>.
Is that file & directory set to readable by all?
chmod 744 or similar? And you are testing this
from the server itself also right?


-=- RuneImp
ImpTech - Web Design, Hosting & Computer Tech
http://imptech.net
rune@imptech.net


----- Original Message -----
From: <ml...@hetnet.nl>
To: <us...@httpd.apache.org>
Sent: Thursday, January 03, 2002 2:24 PM
Subject: UserDir and access rights


Hi there,

A question about access rights. I have set the UserDir= public_html.
I get the folowing message when I try to load
http://localhost/~michiel/phpinfo.php.

--- Title Forbidden 403 --------------------------------------------------

Forbidden

You don't have permission to access /~michiel/phpinfo.php on this server.

Apache-AdvancedExtranetServer/1.3.20 Server at obelix.leegwater.nl Port 80

--------------------------------------------------------------------------

It does the same with http://localhost/~michiel/ and http://localhost/~root/.
http://localhost is working properly.
No errors are recorded in the error_log.

in my httpd.conf are the following access rules

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

Can anybody tell me what I can do about this problem.

Thanks!!!

Michiel Leegwater.

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org