Jump to content

Files is listed despite use of: Options -Indexes WHY?


bongobongo

Recommended Posts

Files is listed despite use of: Options -Indexes WHY?

 

I have two relevant dirs in my webservers root

 

root/scripts

 

root/test

 

Then I have set up a virtualHost like the one at end of post:

 

I'm using

Options -indexes

 

Which work for all directories on

local.test.com

 

EXCEPT for the admin folder which still lists all files in that directory

(which is actually the files within: root/scripts)

if I do not put in a index.php that is.

 

Is there a way for me to prevent the files from beeing listed when entering:

 

local.test.com/admin

 

<VirtualHost *:80>

DocumentRoot c:/www/htdocs/test

ServerName local.test.com

 

Alias /admin c:/www/htdocs/scripts/

 

<directory "c:/www/htdocs/test">

Options -indexes

</directory>

 

</VirtualHost>

Edit/Delete Message

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.