Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / TestSiteBrail / web.config
blob6a54373bd6739030c9f2ad73e4cd088bc28c92c7
1 <?xml version="1.0"?>
2 <configuration>
3 <configSections>
4 <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
5 <section name="monoRail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework"/>
6 <section name="Brail" type="Castle.MonoRail.Views.Brail.BrailConfigurationSection, Castle.MonoRail.Views.Brail"/>
7 </configSections>
8 <monoRail>
9 <services>
10 <service id="Custom" interface="Castle.Core.Logging.ILoggerFactory, Castle.Core" type="Castle.Services.Logging.Log4netIntegration.Log4netFactory, Castle.Services.Logging.Log4netIntegration"/>
11 </services>
12 <controllers>
13 <assembly>TestSiteBrail</assembly>
14 </controllers>
15 <viewEngine viewPathRoot="Views" customEngine="Castle.MonoRail.Views.Brail.BooViewEngine, Castle.MonoRail.Views.Brail"/>
16 <routing>
17 <rule>
18 <pattern>(/blog/posts/)(\d+)/(\d+)/(.)*$</pattern>
19 <replace><![CDATA[ /blog/view.rails?year=$2&month=$3 ]]></replace>
20 </rule>
21 <rule>
22 <pattern>(/news/)(\d+)/(\d+)/(.)*$</pattern>
23 <replace><![CDATA[ /news/view.rails?year=$2&month=$3 ]]></replace>
24 </rule>
25 </routing>
26 </monoRail>
27 <Brail debug="true" saveToDisk="true" saveDirectory="BrailGen" batch="false" commonScriptsDirectory="CommonScripts">
28 <reference assembly="Castle.MonoRail.Framework"/>
29 <import namespace="System.Net"/>
30 </Brail>
31 <system.web>
32 <httpHandlers>
33 <add verb="*" path="*.rails" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework"/>
34 </httpHandlers>
35 <httpModules>
36 <add name="routing" type="Castle.MonoRail.Framework.RoutingModule, Castle.MonoRail.Framework"/>
37 </httpModules>
38 <compilation debug="true"/></system.web>
39 </configuration>