How to disable directory browsing?
Posted by: LunchTimeUser
Posted on: 2009-02-10 22:48:00
Hi, I have a directory that I want to disable directory browsing. I tried to FTP .htaccess file containing the one line;
Option -Indexes
into the folder, but everytime I FTP it over, it seems to get erased when it copies over?
I mean, I tried copying the file over as test.htaccess and then renaming it once it gets copied over, but it gets deleted immediatly?
... is there an easier way to turn off directory browsing for a specific directory?
Thanks in advance!