Reputation: 65
Example: http://www.acuity-sports.com/skin/
I want this to be what they see below instead of my tree:
Forbidden You don't have permission to access /skin on this server.
Upvotes: 0
Views: 613
Reputation: 2947
There many ways to do so - a) apache vhost fole b) .htaccess
If u want follow (b), do following in .htaccess
Options -Indexes
Thanks
Upvotes: 1
Reputation: 17656
Take a look @ how to prevent directory access and show forbidden error in php
Add a .htaccess file with
# disable directory browsing
Options -Indexes
Upvotes: 3