Page 1 of 1

stop apache showing directiry when empty

Posted: Tue Oct 10, 2006 4:56 am
by php3ch0
Hi

How can I stop apache showing the "index of /" page when the directory is empty ?

Thanks

Dan

Posted: Tue Oct 10, 2006 7:09 am
by feyd
Remove the "indexes" attribute from the options parameter for that directory.

Posted: Tue Oct 10, 2006 9:36 am
by php3ch0
in the .htacess file?

Posted: Tue Oct 10, 2006 9:46 am
by feyd
It could be set in multiple locations.

http://httpd.apache.org/docs/2.0/mod/core.html#options

Posted: Tue Oct 10, 2006 10:32 am
by php3ch0
Once again thankyou Feyd. I think I should put this in my signature