1 <?xml version="1.0"?>
\r
3 Note: As an alternative to hand editing this file you can use the
\r
4 web admin tool to configure settings for your application. Use
\r
5 the Website->Asp.Net Configuration option in Visual Studio.
\r
6 A full list of settings and comments can be found in
\r
7 machine.config.comments usually located in
\r
8 \Windows\Microsoft.Net\Framework\v2.x\Config
\r
10 <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
\r
12 <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
\r
15 <connectionStrings/>
\r
18 Set compilation debug="true" to insert debugging
\r
19 symbols into the compiled page. Because this
\r
20 affects performance, set this value to true only
\r
23 <compilation debug="true" defaultLanguage="c#" targetFramework="4.0"/>
\r
25 The <authentication> section enables configuration
\r
26 of the security authentication mode used by
\r
27 ASP.NET to identify an incoming user.
\r
29 <authentication mode="Windows"/>
\r
31 The <customErrors> section enables configuration
\r
32 of what to do if/when an unhandled error occurs
\r
33 during the execution of a request. Specifically,
\r
34 it enables developers to configure html error pages
\r
35 to be displayed in place of a error stack trace.
\r
37 <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
\r
38 <error statusCode="403" redirect="NoAccess.htm" />
\r
39 <error statusCode="404" redirect="FileNotFound.htm" />
\r
43 <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>
\r
45 <!--urlMappings enabled="true">
\r
46 <add url="~/redirect" mappedUrl="~/Redirect.aspx" />
\r
48 <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
\r
50 <modules runAllManagedModulesForAllRequests="true">
\r
51 <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/>
\r
55 <rewrite url="~/redirect" to="~/Redirect.aspx"/>
\r
56 <rewrite url="~/page/([0-9]+)$" to="~/Page.aspx?pageNumber=$1"/>
\r
57 <rewrite url="~/page/([0-9]+)(\?)(.*)" to="~/Page.aspx?pageNumber=$1&$3"/>
\r