RewriteEngine On
RewriteBase /
Options +FollowSymlinks
AddDefaultCharset UTF-8
RewriteRule ^(.*)$ index.php?action=$1 [QSA]
AllowOverride All
в настройках VirtualHost.RewriteRule ^(.*)$ /index.php?action=$1 [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?action=$1 [QSA,L]