<Files ~ "^.(htpasswd|htaccess)$">
    deny from all
</Files>

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /link/
RewriteRule ^(.*)/$ category.php?mode=cate&kt=$1
RewriteRule ^(.*)/(.*).html$ category.php?mode=cate&kt=$1&page=$2
