dwbrown Posted July 18, 2003 Posted July 18, 2003 Hello all, I have noticed that all files below the root directory of a catalog, say, /catalog/includes will display all files in a browser as a hierarchy of directory files all viewable from the browser. How to hide the files below /catalog? Please advise :-)
Dave_L Posted July 18, 2003 Posted July 18, 2003 Either put a zero-length index.htm file in the directory, or change the directory permissions to disallow indexing.
Guest Posted July 18, 2003 Posted July 18, 2003 Have a look in the tips and tricks forum somebody posted the fix for that problem HTH The_Bear
konlong Posted July 18, 2003 Posted July 18, 2003 Read up on how to use .htaccess In the meantime, place the following line in a .htaccess file in your top level directory. Options -Indexes This will turn off indexing of that directory and all sub-directories.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.