AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 RewriteEngine On ### SILVERSTRIPE START ### RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* /sapphire/main.php?url=%1&%{QUERY_STRING} [L] ### SILVERSTRIPE END ###