Tag Archives: 403
Block Visitors From Viewing Directory Indexes
By XPS on February 6, 2011.

Adding blank index.htm files to all your website directories in effort to keep nosy visitors from viewing all the files in a directory is an annoying chore. You have to check each directory and upload an extra file per directory, so you end up wasting time. Fortunately, there is an easy, 1-shot deal if you create a .htaccess file in your website’s root directory. Add the following line to the .htaccess file: Options -Indexes A [...]
Posted in: Web Development
Tagged: .htaccess, 403, code, directory, disable, folder, index, message, permission, syntax, web, web development
