1 2 3 4 5 6 7 8 9 10 11 12 13 14
RewriteEngine On Options FollowSymLinks RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) - [PT,L] RewriteRule (.*) index.php?action=$1 [QSA,L] <Files *.php> Order Allow,Deny Deny from all </Files>