Dear All,
I've renamed my 'index.php' to 'index' and used ForceType in my .htaccess file to run 'index' as a php file.
However, now when I call my website, I get a 'Forbidden
You don't have permission to access / on this server.' error.
Can anyone tell me what line I might have to add to .htaccess to get it to use 'index' as the top level page of the site?
Many thanks
Mark
<Files ...> directive to forcetype extensionless files
Moderator: General Moderators
Code: Select all
DirectoryIndex index
<Files index>
ForceType application/x-httpd-php
</Files>