[Mono-list] running asp.net pages via cgi
Gonzalo Paniagua Javier
gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Wed, 30 Jun 2004 14:39:33 +0200
El mié, 30-06-2004 a las 01:57, Mario Döring escribió:
> Hello,
>
> is it possible to run aspx pages the same way as perl pages?
>
>
> For example:
> perl blabla.pl
> <->
> runasp blabla.aspx
>
>
> or do I need the xsp server / mod_mono for that?
>
>
> I want to use asp.net pages on the apache server with a cgi-wrapper
> (suexec like) for security reasons. The cgi-wrapper works only with cgis
> (of course :) though.
You can run xsp and making it listen on a port known to cgi-wrapper.
Then forward the requests.
It's not worth it to start xsp (or any other program that uses
System.Web.Hosting) for every query, as all the advantages of caching
compiled pages, session, etc., are lost.
-Gonzalo