How do I hide files in the web address?


#1

Hello. I was wondering if anyone knows how to hide the directory of files on my site. What I’m referring to is when you type in www.so-and-sodomain.com/files, it displays the directory with everything on your FTP. Is there a way disable this so no one can see? Thank you.


#2

Put a blank index.html in there. Blank as in 0 bytes. Transmit for the Mac can Create a New File, maybe other FTP programs can. Or via command line: ‘touch index.html’

Or you can go with a site-wide No Index directive:
http://wiki.dreamhost.com/Modifying_directory_indexes

-Scott


#3

Scott,

Putting a blank index.html in the directory worked. Thank you very much for your help.