[Mono-list] Mono/Apache Filter

tc33 clunietp at yahoo.com
Mon Oct 10 16:10:41 EDT 2011


First off, I'm a mono/*nix noob, who has probably bitten off more than he
can chew.  I'm attempting to port a .net HttpModule to the *nix platform. 
The module is used for pre- and post-processing of HTTP requests, regardless
of the server technology used (ASP, PHP, .net, etc).

Using ubuntu/apache/mod_mono, a simple HttpModule installed in the GAC seems
to work for asp.net apps and static content.  However, as expected, it will
not work for dynamic non-.net content (like php).

I appears as though the solution is to implement an Apache filter, but there
does not seem to be a way to do this with mod_mono.  A possible workaround
involves using a mono-based FastCGI server paired with an Apache 'Action' to
replicate the filter functionality, but I'm hoping that there may be a more
elegant solution using mod_mono.

Can anyone confirm or deny mod_mono's ability to act as an apache (and/or
nginx) filter, or perhaps suggest an alternative approach?  TIA

View this message in context: http://mono.1490590.n4.nabble.com/Mono-Apache-Filter-tp3891671p3891671.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list