« Return to Thread: index files in subdirectories

Re: RE: index files in subdirectories

by Ashutosh Mohanty :: Rate this Message:

Reply to Author | View in Thread

Okay, this is due to the permission problem

look at your user /group setting in apache httpd.conf, and then go to the
respective directory and change those ownership according to that

like

# chown user.group <directory name> (do it as a sudo user)
----- Original Message -----
From: "Karl@cometa" <karl@...>
To: <users@...>
Sent: Wednesday, July 12, 2006 6:23 PM
Subject: [users@httpd] RE: index files in subdirectories


>
> My directory index is already set to:
>
> DirectoryIndex index.cgi index.php index.html index.html.var
>
> but I'm still getting this problem.
>
>
> The messages I get are:
>
> Forbidden
> You don't have permission to access /cometawiki/ on this server.
>
> Forbidden
> You don't have permission to access /cometazilla/ on this server.
>
>
> My Document root directory has index.php in it and this does automatically
> load when I navigate to the directory.
> cometawiki and cometazilla are subdirectories of the DocumentRoot
directory

> and have index.php and index.cgi in them respectively.
>
> If I put the links in the main index file as ./cometawiki/index.php and
> ./cometawiki/index.cgi they load if I put them as ./cometawiki/ and
> ./cometazilla/ it doesn't load them, it gives the forbidden message above.
>
>
> The error log says:
>
> [Wed Jul 12 13:48:49 2006] [error] [client <snip>] attempt to invoke
> directory as script: D:/Websites/gateway/cometawiki/, referer:
> http://<snip>/
>
> I've snipped out the ip and url so I don't get loads of trash from
> webcrawlers :P
>
> gateway is my DocumentRoot directory where initial index.php is stored
> --
> View this message in context:
http://www.nabble.com/index-files-in-subdirectories-tf1930381.html#a5288054

> Sent from the Apache HTTP Server - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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@...
>    "   from the digest: users-digest-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>


---------------------------------------------------------------------
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@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: index files in subdirectories