pie in the sky idea (asp.net *bah*)

3 posts / 0 new
Last post
#1 Thu, 07/05/2007 - 17:57
DanielLlewellyn

pie in the sky idea (asp.net *bah*)

yeah, I know I'm not going to be popular on this one, but I think it would be neat if mod_mono could be used successfully in a virtual-hosting setup. I understand that at the moment, xsp and mod_mono are limited to running under a single user context, and cannot do suexec style execution of asp.net pages. However, the reason I was thinking about this, is that I've been playing around with Phalanger on a windows machine for my PHP pages. Phalanger is a PHP to .NET compiler, so all PHP applications can get the compiled speed boost. There is now a mono version of Phalanger that supposedly works in linux. I was wondering about adding Phalanger as another supported PHP platform as well as mod_php and fcgid/suexec, along with generic asp.net support. But until the mono dudes make xsp multi-user aware it is pretty much a no-go for now.

What are your thoughts?

Thu, 07/05/2007 - 18:19
DanielLlewellyn

there is a memory intensive way of doing this, though, in that virtualmin could spawn the xsp (or xsp2 depending on whether you want .net 1.1 or .net 2.0) as the user on a set random port, and configure Apache to proxy to that random predefined port. this means that security of running anything as root is negated, and another Apache module is not needed (just the mod_proxy and mod_proxy_http modules which ship with Apache).

Fri, 07/06/2007 - 00:09 (Reply to #2)
Joe
Joe's picture

Hey Daniel,

We're doing something what you describe with our new Ruby on Rails support. Since RoR people seem to like running under mongrel instead of Apache, we're spawning a new mongrel for every new RoR application. It is somewhat resource intensive, but it is the way people like to run Ruby on Rails apps, so we do what we're told. ;-)

If, and this is a pretty big if, we get several people itching for something like you describe, we'd consider implementing it. I've yet to meet anyone working with .Net or Mono, so it hasn't even been on our radar, so far. I've got no clue how any of it works and don't know anyone who does. That puts a damper on our implementing it. ;-)

--

Check out the forum guidelines!

Topic locked