httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl@cometa" <k...@cometagames.com>
Subject [users@httpd] RE: index files in subdirectories
Date Wed, 12 Jul 2006 12:53:13 GMT

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