RE: [users@httpd] problems with userdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yep, that was it. Thanks Joshua.

Mike

> -----Original Message-----
> From: Joshua Slive [mailto:jslive@xxxxxxxxx]
> Sent: Friday, March 18, 2005 2:40 PM
> To: users@xxxxxxxxxxxxxxxx; mburkhouse@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] problems with userdir
> 
> On Fri, 18 Mar 2005 14:06:03 -0500, Mike Burkhouse
> <mburkhouse@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux