I've got the following htaccess file in my website's root folder:
# Deny access to everything by default
Order Deny,Allow
deny from all
# Allow access to html files
<Files *.html>
allow from all
</Files>
I do this to prevent access to everything but html files. However, it also seems to be preventing index.html from loading automatically (eg. navigating to http://www.website.com fails). But if I specifically request index.html (eg. http://www.website.com/index.html), I can access it.
How can I deny access to everything but html files and still have index.html load automatically?