Prevent Apache listing directory contents

Add a file called .htaccess to the directory that contains the following:

IndexIgnore *
   

The * is a wildcard that matches all files. E.g. You could use *.jpg to hide only the JPG files (with a .jpg extension). The list of files to ignore should be space seperated.

Last modified: 07/05/06 01:41:45
Go to top

Related Pages

No related pages or links.

Login/out

Login

Forgot Password?
Go to top
Go to top