正文

使用ISAPI_Rewrite实现UrlRewrite2008-03-07 23:33:00

【评论】 【打印】 【字体: 】 本文链接:http://blog.pfan.cn/goalbell/33230.html

分享到:

本篇文章讲述一下使用ISAPI_Rewrite实现UrlRewrite。我使用的环境是Win2003SP2+IIS6.0。

Step1:

      在http://www.isapirewrite.com/下载一个ISAPI_Rewrite3 Lite免费的版本使用。下载并安装。

Step2:

    打开IIS,右键网站属性,在ISAPI_Rewrite上输写:

       RewriteRule /ZBlog/catalog-([0-9]*).html /ZBlog/catalog.asp\?cate=$1

应用保存好就可以了。

Step3:

  打开网址进行测试:http://tengfeiblog.vicp.net/ZBlog/catalog-1.htmlhttp://tengfeiblog.vicp.net/ZBlog/catalog.asp?cate=1实现的效果是一样的。

最后有关ISAPI_Rewrite使用的中文手册请浏览:

http://www.biglee.cn/blog/article.asp?id=71

   

阅读(3066) | 评论(0)


版权声明:编程爱好者网站为此博客服务提供商,如本文牵涉到版权问题,编程爱好者网站不承担相关责任,如有版权问题请直接与本文作者联系解决。谢谢!

评论

暂无评论
您需要登录后才能评论,请 登录 或者 注册