On 16 Mar 2005,
jjosburn@hotmail.com <jjosburn@hotmail.com> wrote:
> To group I have just emerged Apache 2.0.52 on a gentoo box
> and I am having problems executing the index.cgi in a directory
> just under the main install (gentoo)
> /var/www/localhost/htdocs/jimzilla.
> when I open my web browswer and run http://192.168.0.10/jimzilla/
> I get access 403 Forbidden
>
> You don't have permission to access /jimzilla/ on this server.
>
> But if I enter the following url:
> http://192.168.0.10/jimzilla/index.cgi
> The cgi works correctly.
>
> I have reviewed the apache docs and of coarse google
> what am i missing?
Does jimzilla dir have 755 permission? In order for apache to tell if
there is a DirectoryIndex, the dir typically needs x permission (search
bit) for other. If apache only has r permission for the dir, it can still
access a file addressed explicitly, but cannot search for files (for
example ls command would not work for that apache user).