ForceType application/x-httpd-php Deny All RewriteEngine on RewriteCond %{REQUEST_URI} !^/test/nuneaton/index.php/.*$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)$ index.php/$1 DirectoryIndex index.php