RewriteEngine on
RewriteBase /
DirectoryIndex index.php index.html
Options -Indexes
ErrorDocument 404 /404.html

RewriteRule ^(.*)list/(.+)_(.+)\.html$ ?s=List\/topic\/cid\/$2\/p\/$3
RewriteRule ^(.*)list/(.+)\.html$ ?s=List\/topic\/cid\/$2
RewriteRule ^(.*)show/([0-9]+)\.html$ ?s=Show\/topic\/tid/$2
RewriteRule ^(.*)show/([0-9]+)_([0-9]+)\.html$ ?s=Show\/topic\/tid/$2\/p\/$3
