In my /subwebpage/
folder I do contain an index.html
file.
When im visiting my website like this: www.website.com/subwebpage
the index.html
file is loading automatically. Even the URL don't display www.website.com/subwebpage/index.html
I would like to prevent the auto loading of the index.html
file. This means, the index.html
should only load, if the client is the URL: www.website.com/subwebpage/index.html
What do I have put into my .htaccess
to do this?
I tried with:
# Deny access to everything by default
Order Deny,Allow
deny from all
But it didn't help.