分类分类
大小:24 KB更新:2026-08-31
类别:系统组件系统:Win2003,WinXP,Win2000,Win9X
UrlRewriter .NET重写组件是IIS6中.net项目伪静态重写路径的配置组件,使用教程:
1、右键点击 要设置网站的网站
2、属性 ——》主目录 ——》配置——》
3、如右侧窗口,找到 .aspx 扩展名——》编辑——》复制 可执行文件的路径——》关闭

4、点击 添加——》粘贴 刚复制的 可执行文件路径
5、扩展名填写 .html (如果是 .htm 或者 任意你想要的扩展都可以 前提是以后的应用程序扩展列表里边没有该扩展)

6、不选中 确认文件是否存在
7、确定
iis6 web.config 伪静态配置方法:
1、参数用()括起来,使用 $1 来获得参数。
2、多个参数的时候使用&分割。
3、把Intelligencia.UrlRewriter.dll添加到bin目录
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
</configSections>
<system.web>
<httpModules>
<add type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" name="UrlRewriter"/>
</httpModules>
</system.web>
<rewriter>
<!--首页-->
<rewrite url="~/default.html$" to="~/default.aspx" processing="stop"/>
<!--新闻-->
<rewrite url="~/news/list-([A-Za-z0-9-]*).html$" to="~/NewsList.aspx?typeUrl=$1" processing="stop"/>
<rewrite url="~/news/list-([A-Za-z0-9-]*)-([0-9]*).html$" to="~/NewsList.aspx?typeUrl=$1&page=$2" processing="stop"/>
<!--新闻详细-->
<rewrite url="~/news/([A-Za-z0-9-]*).html$" to="~/NewsDetail.aspx?url=$1" processing="stop"/>
</rewriter>
</configuration>
百度网盘绿色免安装版其它工具366.81 MBv7.37.0.5官方版2026-08-31
下载威盾VirtualWall泛域名解析器系统组件1.06 MBv1.0.0.10002026-07-06
下载HostManage虚拟主机管理组件系统组件349 KBv1.102026-07-06
下载JMail Free系统组件425 KBv4.52026-07-06
下载ISAPI_Rewrite Lite 3.1 build 94系统组件2.19 MB2026-07-06
下载mysql备份脚本(bat)系统组件1 KBv1.12026-07-06
下载perl系统组件19.2 MBv5.18.12026-07-06
下载Microsoft .NET Framework系统组件35.2 MBv4.0 正式版2026-07-06
下载Microsoft .NET Framework系统组件72.3 MBv4.5.1 简体中文官方正式版2026-07-06
下载IIS FILTER Anti Leech for Image File系统组件49.9 KB2026-07-05
下载EMQTT(Erlang MQTT消息服务器)系统组件19.05 MBv2.3.10 for Ubuntu162026-07-05
下载砺青服务器管理组件系统组件223 KBv1.60 免费版2026-07-05
下载ServUFans(Serv-U插件)系统组件520 KB2026-07-05
下载
