This should work for 'extensionless' url's, change the MonoRail handler's
path to something like "*.castle" if you require file extensions on your
url's.
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<clear />
<add name="FavIcon" path="favicon.ico" verb="*"
type="System.Web.StaticFileHandler"/>
<add name="Trace" path="Trace.axd" verb="*"
preCondition="integratedMode" type="System.Web.Handlers.TraceHandler"/>
<add name="Block-Config" path="*.config" verb="*"
preCondition="integratedMode" type="System.Web.HttpForbiddenHandler" />
<add name="Static-css" path="*.css" verb="*"
type="System.Web.StaticFileHandler"/>
<add name="Static-jpg" path="*.jpg" verb="*"
type="System.Web.StaticFileHandler"/>
<add name="Static-png" path="*.png" verb="*"
type="System.Web.StaticFileHandler"/>
<add name="Static-gif" path="*.gif" verb="*"
type="System.Web.StaticFileHandler"/>
<add name="Static-js" path="*.js" verb="*"
type="System.Web.StaticFileHandler"/>
<add name="Block-Boo" path="*.boo" verb="*"
preCondition="integratedMode" type="System.Web.HttpForbiddenHandler" />
<add name="Block-Brail" path="*.brail" verb="*"
preCondition="integratedMode" type="System.Web.HttpForbiddenHandler" />
<add name="Block-BrailJS" path="*.brailjs" verb="*"
preCondition="integratedMode" type="System.Web.HttpForbiddenHandler" />
<add name="MonoRail" path="*" verb="*"
type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,
Castle.MonoRail.Framework" modules="ManagedPipelineHandler"
scriptProcessor="" resourceType="Unspecified" requireAccess="Script"
preCondition="integratedMode,runtimeVersionv2.0" />
</handlers>
<modules>
<add name="routing"
type="Castle.MonoRail.Framework.Routing.RoutingModuleEx,
Castle.MonoRail.Framework" />
<add name="PerRequestLifestyle"
type="Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule,
Castle.MicroKernel" />
</modules>
</system.webServer>
On Mon, Jul 6, 2009 at 5:17 PM, [email protected] <
[email protected]> wrote:
>
> Hello, I am required to install an application (monorail's) in a IIS7
> Server, The problem is
> that the server throws an error caused apparently by my web.config
> file.
> The instalation on IIS 6 goes ok following the monorail's
> documentation,
>
> Please, I need help finding out information about this topic.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---