RewriteEngine on #RewriteBase /rewrite RewriteRule ^/rewrite/act/([A-Za-z]+)/?$ /rewrite/index.php?act=$1