I have been using the following in a .htaccess file successfully for a while
DirectoryIndex index
<Files index>
SetHandler application/x-httpd-php
</Files>to force a clean url by removing the ".php" from the url. i.e.,
www.mysite.com/index/page rather than
www.mysite.com/index.php/page.
After enabling PHP5, the following is added to the .htaccess file:
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtmlto force the files with those extensions to run as PHP5. This works, except that the file "index" without the ".php" still runs as PHP4 since the AddHandler and AddType are not triggered.
Does anyone have any suggestions? (Other than adding back the file extension. That would change all of my sites URLs.)
Thanks