You could add a regular ASP.NET handler-mapping for default.aspx and in that file make a Server.Transfer if you don't want to use the routing-module. Just define the handler before the MonoRailHttpHandler in your web.config.
On 2009-10-15 15:06, Daniel Hölbling wrote: > This is probably not possible without the routing module is it? > > Since I'm not using it I hoped I could get around that.. > > greetings Daniel > > On Thu, Oct 15, 2009 at 3:03 PM, Daniel Hölbling > <[email protected] <mailto:[email protected]>> wrote: > > Thanks ken! > > > On Thu, Oct 15, 2009 at 2:58 PM, Ken Egozi <[email protected] > <mailto:[email protected]>> wrote: > > > http://www.kenegozi.com/blog/2009/02/10/monorail-routing-and-the-homepage-routing-rule.aspx > > > > On Thu, Oct 15, 2009 at 2:18 PM, Daniel Hölbling > <[email protected] <mailto:[email protected]>> wrote: > > Hi, > I'm facing a bit of a problem and maybe you can help me out. > > I'm running a MonoRail application that has no routing > configured. So I'm using MRs standard > Area/Controller/Action.aspx scheme. > (I changed the MonoRail handler to listen for .aspx requests). > > Now, the problem here is that /Home/Index.aspx is my > start-page, yet if someone comes to http://server.com/ > it's not transferred to /Home/Index.aspx but is seeing a > directory listing forbidden page instead. > > Are there any quick fixes for this? Obviously I can't > place a Default.aspx that does a Server.Transfer in the > root since .aspx is getting mapped to MR :( > > greetings Daniel > > > > > > > -- > Ken Egozi. > http://www.kenegozi.com/blog > http://www.delver.com > http://www.musicglue.com > http://www.castleproject.org > http://www.idcc.co.il - הכנס הקהילתי הראשון למפתחי דוטנט - > בואו בהמוניכם > > > > > > > -- Med vänlig hälsning, Jimmy Shimizu Panagora Room AB Engelbrektsplan 2 114 34 Stockholm Sweden Phone +46 (0)8 24 01 00 Fax +46 (0)8 24 21 23 Direct +46 (0)8 522 049 55 panagora.se --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
