sorry but you're way off. this piece of code is telling IIS and ASP.NET who will handle an incoming *request*
the problem you're dealing now is with the *response* On Fri, Oct 10, 2008 at 4:47 PM, Brian Chan <[EMAIL PROTECTED]> wrote: > I thought that this line in my web.config would handle the mime type? > <system.web> > <httpHandlers> > <add verb="*" path="*.rails" > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, > Castle.MonoRail.Framework"/> > > ------------------------------ > *From:* [email protected] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Ken Egozi > *Sent:* Tuesday, October 07, 2008 3:40 PM > *To:* [email protected] > *Subject:* Re: IE tries to download the .rails pages? > > please open a brail file > then do "save As". > there's an option "Save with encoding" > > which encoding is the file being saved with? > > On Tue, Oct 7, 2008 at 9:25 PM, Ayende Rahien <[EMAIL PROTECTED]> wrote: > >> Is it downloading the content of the file or the rendered output? Check >> if you set the header for attachment. >> >> On Tue, Oct 7, 2008 at 5:17 PM, Brian Chan <[EMAIL PROTECTED]> wrote: >> >>> >>> Hi all, >>> >>> When I try to access .rails pages in IE it tries to download them as a >>> file >>> instead of rendering them normally. Does anyone know why this happens? >>> In >>> firefox everything works as it should. >>> >>> Thanks. >>> >>> >>> >>> >> >> >> > > > -- > Ken Egozi. > http://www.kenegozi.com/blog > http://www.musicglue.com > http://www.castleproject.org > http://www.gotfriends.co.il > > > -- Ken Egozi. http://www.kenegozi.com/blog http://www.musicglue.com http://www.castleproject.org http://www.gotfriends.co.il --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
