I have tried these, but still not working. I am getting the following error HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Thanks much for your suggestions and time. Appreciate. On Thu, Sep 3, 2009 at 5:15 AM, Henrik Feldt <[email protected]> wrote:
> <add name="js" path="*.js" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="css" path="*.css" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="png" path="*.png" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="gif" path="*.gif" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="jpg" path="*.jpg" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > > Are technically deprecated since as you have written yourself, there’s a > StaticFileModule. > > > > Also, looking at machine.config, you’ll see a mapping; fileending to MIME, > which takes care of what’s been written above. The above, thereby is a bit > hackish. Read machine.config, it’s really interesting J > > > > Worthy to note is that castle’s monorail doesn’t support extensionless urls > truly, but needs a refactoring, so your best bet is to use *.castle so far, > which allows the static file module to run. > > > > Cheers > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Roelof Blom > *Sent:* den 3 september 2009 09:19 > *To:* [email protected] > *Subject:* Re: monorail NVelocityViewEngine deployment > > > > You need to tell IIS 6 which request to map to MonoRail, here are some > examples. > > IIS6 > http://www.castleproject.org/monorail/documentation/trunk/usersguide/installing.html > > IIS7 (IIS6 compat mode): > http://wiki.bittercoder.com/%28X%281%29S%28zj0xcxelcp2sbwzkidkeys2q%29%29/Default.aspx?Page=ConfiguringMonorailOnIIS7&AspxAutoDetectCookieSupport=1 > > IIS7 Integrated mode: > > <system.webServer> > <validation validateIntegratedModeConfiguration="false"/> > <handlers> > <clear/> > <add name="Trace" path="Trace.axd" verb="*" > preCondition="integratedMode" type="System.Web.Handlers.TraceHandler"/> > <add name="UrlRoutingHandler" preCondition="integratedMode" > verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler"/> > <add name="FavIcon" path="favicon.ico" verb="*" > type="System.Web.StaticFileHandler"/> > <add name="js" path="*.js" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="css" path="*.css" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="png" path="*.png" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="gif" path="*.gif" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="jpg" path="*.jpg" verb="*" preCondition="integratedMode" > type="System.Web.StaticFileHandler"/> > <add name="MonoRail-Integrated" path="*.castle" verb="*" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, > Castle.MonoRail.Framework" modules="ManagedPipelineHandler" > scriptProcessor="" resourceType="Unspecified" requireAccess="Script" > preCondition="integratedMode,runtimeVersionv2.0"/> > <add name="MonoRail-ISAPI-2.0" path="*.castle" verb="*" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, > Castle.MonoRail.Framework" modules="IsapiModule" scriptProcessor="" > resourceType="Unspecified" requireAccess="Script" > preCondition="classicMode,runtimeVersionv2.0,bitness32"/> > <add name="MonoRail-ISAPI-2.0-64" path="*.castle" verb="*" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, > Castle.MonoRail.Framework" modules="IsapiModule" scriptProcessor="" > resourceType="Unspecified" requireAccess="Script" > preCondition="classicMode,runtimeVersionv2.0,bitness64"/> > <add name="PageHandlerFactory-Integrated" path="*.aspx" > verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" > modules="ManagedPipelineHandler" requireAccess="Script" > preCondition="integratedMode"/> > <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" > verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" > scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" > requireAccess="Script" > preCondition="classicMode,runtimeVersionv2.0,bitness32"/> > <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" > verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" > scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" > requireAccess="Script" > preCondition="classicMode,runtimeVersionv2.0,bitness64"/> > <add name="StaticFile" path="*" verb="*" > modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" > resourceType="Either" requireAccess="Read"/> > </handlers> > </system.webServer> > > On Thu, Sep 3, 2009 at 12:04 AM, Maddipatla <[email protected]> > wrote: > > > Hello, > > I am having trouble in deploying monorail and NVelocityViewEngine > based server application on IIS7 or IIS6. > > Basically, it needs to authenticate the user and send the response > back in xml format. > > I have added managed handler & module for monorail, but still fails > with HTTP Error 404.0 - Not Found. > > Pl. let me know, if you have any ideas or suggestions. > > Thanks in advance > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
