[Mono-list] System.Web.IHttpModule support test case

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Mon, 06 Dec 2004 21:05:34 -0500


On Mon, 2004-12-06 at 19:50 -0500, Shawn Vose wrote:
> I believe it was Gonzolo who responded to my question about 
> System.Web.IHttpModule support in mono. Attached is a zip file of the 
> project. it is not large. Please let me know if you need anything else.

Hi Shaun ;-).

I unzipped your file, run xsp in the directory and then
http://127.0.0.1:8080/index.aspx gives me an empty page which is in fact
seoHandler.aspx.

To test further, I added a Console.WriteLine in the Init method of the
module and right before rewriting the request. I also added some text to
seoHandler.aspx. The output in xsp is now:
----
Hit Return to stop the server.
En Init
rewriting /index.aspx to /seoHandler.aspx
----

And in the browser I get
----
Hey there. This is seoHandler.aspx.
----

So everything seems to work. May be you're using an old version of mono
and/or class libraries/xsp?

-Gonzalo