BBSWeb/Web.config
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/>
</configSections>
<appSettings>
<!--缓存时间-->
<add key="ModelCache" value="600"/>
</appSettings>
<RewriterConfig>
<Rules>
<!--论坛 -->
<RewriterRule>
<LookFor>~/Bbs/([a-zA-Z0-9/]*).aspx</LookFor>
<SendTo>~/CommonDataMap.aspx?action=Bbs|$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/manage/Bbs/([a-zA-Z0-9/]*).aspx</LookFor>
<SendTo>~/CommonDataMap.aspx?action=manage|Bbs|$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/manage/Bbs/([a-zA-Z0-9/]*).aspx?id=(\d*)</LookFor>
<SendTo>~/CommonDataMap.aspx?action=manage|Bbs|$1&id=$2</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/Bbs/BbsList.aspx?ForumId=(\d+)</LookFor>
<SendTo>~/Bbs/TopicsMap.aspx?action=BbsList&ForumId=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<system.web>
<!--url重写模块-->
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
</httpHandlers>
<!--url重写模块-->
<pages enableSessionState="true" validateRequest="false"/>
<compilation debug="true">
<assemblies>
<add assembly="Microsoft.Vbe.Interop, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/>
<add assembly="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<!--允许请求webservice-->
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
<siteMap defaultProvider="Web">
<providers>
<add name="Web" type="System.Web.XmlSiteMapProvider" siteMapFile="~/web.sitemap"/>
</providers>
</siteMap>
<!--session 的失效期-->
<!--
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="true" timeout="240"/>
后面还有 17 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。