httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
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
<mburkhouse@consultantsnetwork.com> 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 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/
 
> <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).

Joshua.

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


Mime
View raw message