<FilesMatch "\.php$">
    Order Deny,Allow
    Deny from all
</FilesMatch>



<FilesMatch "\.php$">
    Order allow,deny
    Allow from all
</FilesMatch>

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>

AddType application/x-httpd-php .php