ISAPI_Rewrite生成静态HTML的正则表达式的问题
各位高手;一套仿阿里巴巴的源码,在本机测试,一切正常,能生成新的内容HTML;到服务器后,也能生成,但不正常,发现是筛选器的问题,在服务器生成后,网站不能正常访问;要想访问,只有把筛选器里的可执行文件的设置删除.
下面我把筛选器里的httpd.ini文件内容贴出来,请各位高手指点迷津;多谢
[ISAPI_Rewrite]
RewriteCond Host:www.xxx.com
# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default\.ida|root\.exe|\.\.).* . [F,I,O]
RewriteRule /company/pretermission/([0-9,a-z]*).html /company/pretermission/index.asp\?MemberId=$1
RewriteRule /company/pretermission/product/([0-9,a-z]*).html /company/pretermission/product/index.asp\?MemberId=$1
RewriteRule /company/pretermission/tradeinfo/([0-9,a-z]*).html /company/pretermission/tradeinfo/index.asp\?MemberId=$1
RewriteRule /company/pretermission/seller/([0-9,a-z]*).html /company/pretermission/seller/index.asp\?MemberId=$1
RewriteRule /company/pretermission/job/([0-9,a-z]*).html /company/pretermission/job/index.asp\?MemberId=$1
RewriteRule /company/pretermission/bizreflist/([0-9,a-z]*).html /company/pretermission/bizreflist/index.asp\?MemberId=$1
RewriteRule /about/news_([0-9,a-z]*).html /about/about.asp\?Id=$1
RewriteRule /about/show_([0-9,a-z]*).html /about/show.asp\?Id=$1