For security reasons, Apache hosts enforce that, for a directory and it’s contents to be accessible from the web, the directory must contain an index.htm page.

This can be overridden by adding a .htaccess file with the following lines included;

ErrorDocument 401 “Unauthorized”
DirectoryIndex index.php index.shtml index.html publish.htm publish.html

By | 2010-11-15T10:05:00+00:00 November 15th, 2010|Web|0 Comments

About the Author:

Leave A Comment