<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([a-z]+)_view_([0-9]+)\.html?$ $1.php?action=view&id=$2
RewriteRule ^([a-z]+)_edit_([0-9]+)\.html?$ $1.php?action=edit&id=$2
RewriteRule ^([a-z]+)_list_([0-9]+)\.html?$ $1.php?action=list&cat_id=$2
RewriteRule ^mod_([a-zA-Z0-9]+)_([a-zA-Z0-9]+)\.html?$ mod.php?mod=$1&modfile=$2
RewriteRule ^mod_([a-zA-Z0-9]+)\.html?$ mod.php?mod=$1
RewriteRule ^page_([0-9]+)\.html?$ index.php?action=pages&id=$1
RewriteRule ^([a-z]+)\.html?$ $1.php
</IfModule>