七零部落格
思则大道至简,疑则谜团重重!
思则大道至简,疑则谜团重重!
# Helicon ISAPI_Rewrite configuration file # Version 3.1.0.73 RewriteEngine On RewriteCompatibility2 On RepeatLimit 32 RewriteBase # unsupported directive: [ISAPI_Rewrite] # 3600 = 1 hour # unsupported directive: CacheClockRate 3600 RewriteRule ^/httpd(?:.ini|.parse.errors).*$ / [NC,F,O] # # Line 5: (Unknown expression) RewriteEngine on # Protect httpd.ini and httpd.parse.errors files # from accessing through HTTP RewriteRule ^(?!/index.php)(?!/Public)(?!/Uploads)(?!/skin)(?!/js)(?!/robots.txt)(.*)$ /index.php$1 [NC] #RewriteRule ^/sa(.*)$ /index.php/sa$1 [NC]
将会对所有的 www.xxx.com/abc 重写为 www.xxx.com/index.php/abc ,
但是一些资源文件如 www.xxx.com/js 就是实际的地址,不应该被重写为 www.xx.com/index.php/js,因此这应该跳过。
运行环境,win2003 iis6 ,