« Return to Thread: index files in subdirectories

RE: index files in subdirectories

by Karl@cometa :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: index files in subdirectories