[Mono-list] Multiple Website w/ Same Mono Instance
nberardi at zigamorph.com
Thu Jul 14 21:23:13 EDT 2005
I think this is the answer it has been a while since I last looked at the
From: Joshua Tauberer [mailto:tauberer at for.net]
Sent: Thursday, July 14, 2005 9:05 PM
To: Nick Berardi
Subject: Re: [Mono-list] Multiple Website w/ Same Mono Instance
It sounds like you just need to tell mod_mono about the three
'applications', e.g. with:
AddMonoApplications default "www.example.com:/:/home/exampledotcom/www"
AddMonoApplications default "www.sample.com:/:/home/sampledotcom/www"
in your httpd.conf. See http://mono-project.com/Mod_mono.
You may want to run three separate instances of mod-mono-server, one for
each site. See http://mono-project.com/Mod_mono, esp. the section "Two
Applications, Two mod-mono-servers".
- Joshua Tauberer
** Nothing Unreal Exists **
Nick Berardi wrote:
> Hi Everybody,
> I am running 3 websites (production, test, and development) on one server
> and I am running into a problem where Mod_Mono is using the instance of
> last Mono instance that was restarted for all the web sites. Of course
> development instance has a different Web.Config than the other two so I am
> unable to do development on the machine.
> Is there a way to get mono to use a different config files for each of the
> sites? Would signing them differently for each instance help any? Is
> something I can put in the Apache 1.3 config file or in the
> config file? I am really stuck because this is probably just one of those
> Unix differences from Windows that we hear about so much.
> Any help from you guys would be wonderful.
More information about the Mono-list