dwbrown Posted July 18, 2003 Share 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 :-) Link to comment Share on other sites More sharing options...
Dave_L Posted July 18, 2003 Share Posted July 18, 2003 Either put a zero-length index.htm file in the directory, or change the directory permissions to disallow indexing. Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2003 Share Posted July 18, 2003 Have a look in the tips and tricks forum somebody posted the fix for that problem HTH The_Bear Link to comment Share on other sites More sharing options...
konlong Posted July 18, 2003 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.