<?xml version="1.0" encoding="gb2312"?>
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/c(\d{1,8})\.aspx</LookFor>
<SendTo>~/list.aspx?cid=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/c(\d{1,8})p(\d{1,6})\.aspx</LookFor>
<SendTo>~/list.aspx?cid=$1&page=$2</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/n(\d{1,8})c(\d{1,8})\.aspx</LookFor>
<SendTo>~/show.aspx?id=$1&cid=$2</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/n(\d{1,8})c(\d{1,8})p(\d{1,8})\.aspx</LookFor>
<SendTo>~/show.aspx?id=$1&cid=$2&page=$3</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<appSettings>
<add key="Charset" value="gb2312" />
</appSettings>
<system.web>
<compilation defaultLanguage="C#" debug="false"/>
<!--如果为.net SDK 1.0及以前版本,请删除validateRequest="false" -->
<pages validateRequest="false" enableSessionState="true" enableViewState="true"/>
<customErrors mode="Off" />
<globalization fileEncoding="gb2312" requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" />
<httpRuntime maxRequestLength="2048" />
<httpModules>
<add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter" />
</httpModules>
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>
</httpHandlers>
</system.web>
</configuration>