Re: [Mono-list] System.Web.IHttpModule support using xsp and mono
Ok, I will send you my entire project this evening. It is not very big. Consists of a couple of classes and one apx page. Curious, I did not compile my project using mono, rather I compiled it in .net and moved it over to my linux box. Might this be the reason it is not working? I would think that it is not since in the end it is all the same IL, if this is not the case then I will compile on mono tonight and see if that remedies the problem. Kindest Regards, Shawn Vose Gonzalo Paniagua Javier wrote: On Sun, 2004-12-05 at 20:10 -0500, Shawn Vose wrote: I have written a project that inherits from System.Web.IHttpModule indicated in my webconfig file. Are httpModules supported in Mono. When I run my app on windows it will automatically direct me to the correct page as indicated in my webconfig. Something like this: Yes, httpModules are supported in mono. If something doesn't work as it does under MS runtime, it's a bug and I'd be willing to get a simple test case that reproduces it in order to fix our implementation. -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] System.Web.IHttpModule support using xsp and mono
I have written a project that inherits from System.Web.IHttpModule indicated in my webconfig file. Are httpModules supported in Mono. When I run my app on windows it will automatically direct me to the correct page as indicated in my webconfig. Something like this: ?xml version=1.0 encoding=utf-8 ? configuration configSections sectionGroup name=Seo section name=pagePaths type=pfrseoindex.Engine.Framework.Base.SeoSectionHandler, pfrseoindex / /sectionGroup /configSections Seo pagePaths add key=basePage value=/seoHandler.aspx/ add key=urlRoot value=/pfrseoindex/ /pagePaths /Seo system.web compilation defaultLanguage=c# debug=true / customErrors mode=RemoteOnly / httpModules add name=SeoInit type=pfrseoindex.Engine.Framework.Base.SeoInit, pfrseoindex/ /httpModules So no matter what I type in as a url it will always call the basePage value first of the root. For example on windows if I type the url http://localhost/pfrseoindex/default.aspx it would in reality be http://localhost/pfrseoindex/seoHandler.aspx because I am using Context.RewritePath(Path.GetFileName(Request.RawUrl)); in the seoHandler.aspx page Additionally if I type: http://localhost/pfrseoindex/test/default.aspx it would in reality be : http://localhost/pfrseoindex/seoHandler.aspx However if I do the same on linux running mono it complains about directory or file not found, which makes me wonder if System.Web.IHttpModule is fully supported when using xsp. Any help suggestions would be appreciated. Kindest Regards, Shawn Vose ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] System.Web.IHttpModule support using xsp and mono
On Sun, 2004-12-05 at 20:10 -0500, Shawn Vose wrote: I have written a project that inherits from System.Web.IHttpModule indicated in my webconfig file. Are httpModules supported in Mono. When I run my app on windows it will automatically direct me to the correct page as indicated in my webconfig. Something like this: Yes, httpModules are supported in mono. If something doesn't work as it does under MS runtime, it's a bug and I'd be willing to get a simple test case that reproduces it in order to fix our implementation. -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list