11

Copy or create a blank index.html file in folders that don't have one

view full story
linux-howto

http://www.unix.com – Hello all! I am trying to prevent my users from looking through directory files on a web server. I've already use .htaccess to set "Options All -Indexes" but it throws a 403 Forbidden error and I'd rather have it just show up as a blank page. How would I go about searching all my directories and either copying a blank index file to the directory without one, or somehow creating a new file named index.html with nothing in it? (HowTos)