[ISAPI_Rewrite]
RewriteRule /index.php /index.php [L]
RewriteRule /favicon.ico /favicon.ico [L]
RewriteRule /robots.txt /robots.txt [L]
RewriteRule /(admin|static|twcms|upload)/(.*) /$1/$2 [L]
RewriteRule /(.+) /index\.php\?rewrite=$1 [L]
将以上代码保存成httpd.ini文件上传到网站根目录即可!