httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] problems with userdir
Date Fri, 18 Mar 2005 19:40:28 GMT
On Fri, 18 Mar 2005 14:06:03 -0500, Mike Burkhouse
<> wrote:
> 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] Premature end of script
> headers: index.html
> [Fri Mar 18 13:47:20 2005] [error] [client] File does not exist:
> /usr/local/apache2/htdocs/favicon.ico
> [Fri Mar 18 13:47:28 2005] [error] [client] attempt to invoke
> directory as script: /home/me/public_html/
> <Directory /home/*/public_html>
>         Allow from all
>         Options +Indexes
>         Options ExecCGI
>         SetHandler cgi-script
> </Directory>

What is that SetHandler in there for?  Its effect is to mark
everything in there as a cgi script, which obviously is not what you
want.  That is the cause of the "Premature..." and "attempt to
invoke..." errors.

For the original "forbidden" error, if it still exists after fixing
the above, make sure to check the permissions on all the parent
directories.  They need to have at least global search (chmod +x).


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message