[Mono-aspnet-list] Mono and IHttpHandler
robertj at gmx.net
Thu Nov 17 12:42:11 EST 2011
On 17.11.2011 18:19, mbrenn wrote:
> Within XSP or mod_mono on Apache, I can create an index.aspx which is parsed
> and executed perfectly according to .Net-Framework, but it seems to be that
> the handler is not included within the mod_mono-Framework.
> Is using IHttpHandler really implemented within Mono or shall I use another
> approach for collection all Requests to a certain Host and/or virtual
It's implemented, although its configuration is a bit different.
On ASP.NET's side you must add a handler:
<add verb="*" path="*.foo" type="IISHost.Class1"/>
On Apache+mod_mono's side you must add a new type:
AddType application/x-asp-net .foo
I don't know if something like "*" is supported. Maybe inside a
location where a SetHandler was activated. See mod_mono's docs.
More information about the Mono-aspnet-list