AddHandler application/x-httpd-php5 .php RewriteEngine On RewriteRule ^(.*)$ index.php [QSA] DirectoryIndex index.php