[Mono-list] mod_mono in a shared hosting envionment

Joshua Tauberer tauberer at for.net
Wed Nov 23 21:38:03 EST 2005


Jesse Pasichnyk wrote:
> There have been several posts about this sort of thing in the past (from me
> and others), and I think the consensus is its probably better to run
> standalone xsp servers per site.

You can run XSPs and then proxy them with Apache, as you say, but 
alternatively you can run mod-mono-server's and not have to configure 
proxying.  Remember that mod_mono is just a light-weight thing that 
spawns mod-mono-server.exe to run the mono environment.  Normally 
mod_mono starts the mod-mono-server, but you can turn that off to start 
it yourself under a different user, or on another machine.  (See the man 
page for mod-mono-server.exe, I think.)

Also, mod-mono-server runs as the same user as apache (if it is started 
automatically by mod_mono), which at least on Fedora systems is the 
apache user, who has no access to do anything malicious.

> believe people also argue against mod_mono because that would tie the GC
> instance to the apache server in some sorts 

Since the mono runtime is in a separate process, there's no interaction 
like that.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




More information about the Mono-list mailing list