ErrorDocument 404 /error/
DirectoryIndex index.php
AddDefaultCharset utf-8


RewriteEngine on
RewriteRule ^(.+)/$ index.php?act=$1 [L]