Options -Indexes
RewriteEngine on
RewriteCond %{REQUEST_URI} \.php [NC]
RewriteRule .* / [L,R]
