htaccess allow default page
- by Jan De Laet
Having a problem with my .htaccess. I have this to secure all my documents:
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
<FilesMatch "\.(htm|html|css|js|php)$">
Order Allow,Deny
Allow from all
Allow from 127.0.0.1
</FilesMatch>
Now everything works fine, but only my default page www.mysite.com doesn't work and gives me the notification:
You don't have permission to access / on this server.
what is normal accroding to my coding. But how can you fix this?
If there stands www.example.com/index.php it works but if you surf to www.example.com I get this message.