bongobongo Posted July 12, 2007 Share Posted July 12, 2007 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 Quote Link to comment Share on other sites More sharing options...
steviewdr Posted July 17, 2007 Share Posted July 17, 2007 Just add: <directory "c:/www/htdocs/scripts"> Options -indexes </directory> -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.