You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Burkhouse <mb...@consultantsnetwork.com> on 2005/03/18 20:06:03 UTC

[users@httpd] problems with userdir

Hi All,

I am having some problems with userdir that I hope you can help with.

Problem:

When I try to browse my home directory, I get a 403 Forbidden error:

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

If I try to access index.html, I get an Internal Server Error

The entry in error_log is as follows:

[Fri Mar 18 13:47:20 2005] [error] [client 10.0.1.1] Premature end of script
headers: index.html
[Fri Mar 18 13:47:20 2005] [error] [client 10.0.1.1] File does not exist:
/usr/local/apache2/htdocs/favicon.ico
[Fri Mar 18 13:47:28 2005] [error] [client 10.0.1.1] attempt to invoke
directory as script: /home/me/public_html/
[Fri Mar 18 13:47:28 2005] [error] [client 10.0.1.1] File does not exist:
/usr/local/apache2/htdocs/favicon.ico
[Fri Mar 18 13:47:33 2005] [error] [client 10.0.1.1] attempt to invoke
directory as script: /home/me/public_html/
[Fri Mar 18 13:47:33 2005] [error] [client 10.0.1.1] File does not exist:
/usr/local/apache2/htdocs/favicon.ico


The server is running as: 

User nobody
Group #-1

Userdir configuration section of httpd.conf:

UserDir enabled *
UserDir disabled root
UserDir public_html

<Directory /home/*/public_html>
        Allow from all
        Options +Indexes
        Options ExecCGI
        SetHandler cgi-script
</Directory>

Permissions on public_html

drwxr-xr-x    2 me me     4096 Mar 18 13:30 public_html

Permissions on index.html

-rwxr-xr-x    1 me me       75 Feb 24  2004 index.html


Can anyone offer any advice on how to fix this? Is there any other
information that you need to help?

Thanks!

Mike



---------------------------------------------------------------------
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