- add sources.
[platform/framework/web/crosswalk.git] / src / third_party / webdriver / test_data / Web.Config
1 <?xml version="1.0"?>\r
2 <!-- \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
9 -->\r
10 <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">\r
11         <configSections>\r
12                 <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>\r
13         </configSections>\r
14         <appSettings/>\r
15         <connectionStrings/>\r
16         <system.web>\r
17                 <!-- \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
21             during development.\r
22         -->\r
23                 <compilation debug="true" defaultLanguage="c#" targetFramework="4.0"/>\r
24                 <!--\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
28         -->\r
29                 <authentication mode="Windows"/>\r
30                 <!--\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
36 \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
40         </customErrors>\r
41         -->\r
42                 <httpModules>\r
43                         <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>\r
44                 </httpModules>\r
45                 <!--urlMappings enabled="true">\r
46       <add url="~/redirect" mappedUrl="~/Redirect.aspx" />\r
47     </urlMappings-->\r
48                 <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>\r
49         <system.webServer>\r
50                 <modules runAllManagedModulesForAllRequests="true">\r
51                         <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule"/>\r
52                 </modules>\r
53         </system.webServer>\r
54         <rewriter>\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&amp;$3"/>\r
58         </rewriter>\r
59 </configuration>\r