Added ProxyOptions to Windsor so allow facilities to easily add proxy interfaces...
[castle.git] / MonoRail / TestSiteBrail / web.config
blob7349bdc1c304eea13f6bd2e0a985df874b4c2031
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
4 <configSections>
5 <section name="log4net"
6 type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
7 <section name="monoRail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" />
8 <section name="Brail"
9 type="Castle.MonoRail.Views.Brail.BrailConfigurationSection, Castle.MonoRail.Views.Brail" />
10 </configSections>
12 <monoRail>
13 <services>
14 <service
15 id="Custom"
16 interface="Castle.Core.Logging.ILoggerFactory, Castle.Core"
17 type="Castle.Services.Logging.Log4netIntegration.Log4netFactory, Castle.Services.Logging.Log4netIntegration" />
18 </services>
19 <controllers>
20 <assembly>TestSiteBrail</assembly>
21 </controllers>
22 <viewEngine
23 viewPathRoot="Views"
24 customEngine="Castle.MonoRail.Views.Brail.BooViewEngine, Castle.MonoRail.Views.Brail" />
25 <routing>
26 <rule>
27 <pattern>(/blog/posts/)(\d+)/(\d+)/(.)*$</pattern>
28 <replace><![CDATA[ /blog/view.rails?year=$2&month=$3 ]]></replace>
29 </rule>
30 <rule>
31 <pattern>(/news/)(\d+)/(\d+)/(.)*$</pattern>
32 <replace><![CDATA[ /news/view.rails?year=$2&month=$3 ]]></replace>
33 </rule>
34 </routing>
35 </monoRail>
37 <Brail
38 debug="true"
39 saveToDisk="true"
40 saveDirectory="BrailGen"
41 batch="false"
42 commonScriptsDirectory="CommonScripts">
43 <reference assembly="Castle.MonoRail.Framework"/>
44 <import namespace="System.Net"/>
45 </Brail>
47 <system.web>
48 <httpHandlers>
49 <add verb="*" path="*.rails"
50 type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" />
51 </httpHandlers>
53 <httpModules>
54 <add name="routing" type="Castle.MonoRail.Framework.RoutingModule, Castle.MonoRail.Framework" />
55 <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" />
56 </httpModules>
57 </system.web>
59 </configuration>