1 Star 0 Fork 32

jangocheng/ELightShop

forked from Yokit/ELightShop 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
web.config.bak 6.52 KB
一键复制 编辑 原始数据 按行查看 历史
Yokit 提交于 2016-05-16 06:22 . First Commit
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="CustomConfiguration" type="URLRewriter.Config.UrlsSection, URLRewriter"/>
</configSections>
<appSettings>
<add key="AppDir" value="/KH_atablet/" />
</appSettings>
<connectionStrings>
<add name="DBConnStr" connectionString="Data Source=.;Initial Catalog=sq_offertablets;User ID=sa;Password=123456" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="auto" fileEncoding="utf-8"/>
<pages enableEventValidation="false" enableViewState="false" validateRequest="false">
<controls>
<add tagPrefix="Stencil" src="~/stencil/basistemp.ascx" tagName="BasisTemp"/>
<add tagPrefix="Stencil" src="~/stencil/headtemp.ascx" tagName="HeadTemp"/>
<add tagPrefix="Stencil" src="~/stencil/foottemp.ascx" tagName="FootTemp"/>
<add tagPrefix="Stencil" src="~/account/stencil/lefttemp.ascx" tagName="AccLeftTemp"/>
</controls>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<authentication mode="Windows"/>
<customErrors mode="Off"/>
<!--
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<!--
<httpModules>
<add type="URLRewriter.RewriterModule, URLRewriter" name="RewriterModule"/>
</httpModules>
-->
</system.web>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite to Store">
<match url="^store/(.+)-([0-9]+).html$" />
<action type="Rewrite" url="./store/?uid={R:2}" />
</rule>
<rule name="Rewrite to News">
<match url="^news/(.+)-([0-9]+).html$" />
<action type="Rewrite" url="./news/xhtml.aspx?uid={R:2}" />
</rule>
<rule name="Rewrite to Help">
<match url="^help/(.+)-([0-9]+).html$" />
<action type="Rewrite" url="./help/?uid={R:2}" />
</rule>
<rule name="Rewrite to Topics">
<match url="^promotion/$" />
<action type="Rewrite" url="./topics/" />
</rule>
<rule name="Rewrite to Cart">
<match url="^cart/pay.html$" />
<action type="Rewrite" url="./cart/pay.aspx" />
</rule>
<rule name="Rewrite to New-Arrivals">
<match url="^new-arrivals/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1" />
</rule>
<rule name="Rewrite to Tablets-2x">
<match url="^android-tablets-2x/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1-1" />
</rule>
<rule name="Rewrite to Tablets-2.1">
<match url="^android-tablets-2-1/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1-1-1" />
</rule>
<rule name="Rewrite to Tablets-2.2">
<match url="^android-tablets-2-2/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1-1-2" />
</rule>
<rule name="Rewrite to Tablets-2.3">
<match url="^android-tablets-2-3/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1-1-3" />
</rule>
<rule name="Rewrite to Tablets-4x">
<match url="^android-tablets-4x/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1-2" />
</rule>
<rule name="Rewrite to Tablets-4.0">
<match url="^android-tablets-4-0/$" />
<action type="Rewrite" url="./list/default.aspx?cate=1-1-2-1" />
</rule>
<rule name="Rewrite to My-Order-List">
<match url="^account/my-order-list.html$" />
<action type="Rewrite" url="./account/my-order-list.aspx" />
</rule>
<rule name="Rewrite to My-Wish-Lists">
<match url="^account/my-wish-lists.html$" />
<action type="Rewrite" url="./account/my-wish-lists.aspx" />
</rule>
<rule name="Rewrite to My-Profile">
<match url="^account/my-profile.html$" />
<action type="Rewrite" url="./account/my-profile.aspx" />
</rule>
<rule name="Rewrite to Confirm-Email-Address">
<match url="^account/confirm-email-address.html$" />
<action type="Rewrite" url="./account/confirm-email-address.aspx" />
</rule>
<rule name="Rewrite to Email-Subscriptions">
<match url="^account/email-subscriptions.html$" />
<action type="Rewrite" url="./account/email-subscriptions.aspx" />
</rule>
</rules>
</rewrite>
</system.webServer>
<!--
<CustomConfiguration>
<urls>
<add virtualUrl="~/new-arrivals/" destinationUrl="~/list/default.aspx?act=new"/>
<add virtualUrl="~/android-tablets-2x/" destinationUrl="~/list/default.aspx?cate=1"/>
<add virtualUrl="~/android-tablets-3x/" destinationUrl="~/list/default.aspx?cate=2"/>
<add virtualUrl="~/android-tablets-4x/" destinationUrl="~/list/default.aspx?cate=3"/>
<add virtualUrl="~/store/(.+)-([0-9]+).html" destinationUrl="~/store/default.aspx?uid=$2"/>
<add virtualUrl="~/news/(.+)-([0-9]+).html" destinationUrl="~/news/xhtml.aspx?uid=$2"/>
<add virtualUrl="~/help/(.+)-([0-9]+).html" destinationUrl="~/help/default.aspx?uid=$2"/>
<add virtualUrl="~/cart/pay.html" destinationUrl="~/cart/pay.aspx"/>
<add virtualUrl="~/account/my-order-list.html" destinationUrl="~/account/my-order-list.aspx"/>
<add virtualUrl="~/account/my-wish-lists.html" destinationUrl="~/account/my-wish-lists.aspx"/>
<add virtualUrl="~/account/my-profile.html" destinationUrl="~/account/my-profile.aspx"/>
<add virtualUrl="~/account/confirm-email-address.html" destinationUrl="~/account/confirm-email-address.aspx"/>
<add virtualUrl="~/account/email-subscriptions.html" destinationUrl="~/account/email-subscriptions.aspx"/>
</urls>
</CustomConfiguration>
-->
</configuration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jangocheng/ELightShop.git
[email protected]:jangocheng/ELightShop.git
jangocheng
ELightShop
ELightShop
master

搜索帮助