rundy
rundy

Reputation: 65

How do I make folders Forbidden to view in Magento

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

Answers (2)

Krishna Sunuwar
Krishna Sunuwar

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

MagePal Extensions
MagePal Extensions

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

Related Questions