[Mono-list] mod_mono in a shared hosting envionment

Jesse Pasichnyk jesse at pasichnyk.net
Thu Nov 24 01:50:10 EST 2005


Joshua,

Thanks for providing clarification on this.

I believe I remember someone promoting the use of mod_proxy over mod_mono in
a shared environment because they said with mod_mono all requests will be
passed onto the mod-mono-server even html page, images, etc.  I'm not sure
if this is the case or not but I'm just going off what I was told.  They
argued that using mod_proxy you could choose what to proxy to the xsp
instance and what not to proxy, letting apache serve up all the content
aside from specific ASP.NET pages.  

I'm am in the same boat as David here, looking for the best possible setup
for a scalable/secure shared hosting environment, so once again any comments
are appreciated.

Thanks,

Jesse

-----Original Message-----
From: Joshua Tauberer [mailto:tauberer at for.net] 
Sent: Wednesday, November 23, 2005 6:38 PM
To: Jesse Pasichnyk
Cc: 'David Darville'; mono-list at lists.ximian.com
Subject: Re: [Mono-list] mod_mono in a shared hosting envionment

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