[Mono-list] Multiple Website w/ Same Mono Instance
Nick Berardi
nberardi at zigamorph.com
Thu Jul 14 21:23:13 EDT 2005
Thanks,
I think this is the answer it has been a while since I last looked at the
Mod_mono wiki.
Nick
-----Original Message-----
From: Joshua Tauberer [mailto:tauberer at for.net]
Sent: Thursday, July 14, 2005 9:05 PM
To: Nick Berardi
Cc: 'mono-list'
Subject: Re: [Mono-list] Multiple Website w/ Same Mono Instance
Nick,
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
http://taubz.for.net
** 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
the
> last Mono instance that was restarted for all the web sites. Of course
the
> 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
there
> something I can put in the Apache 1.3 config file or in the
mod-mono-server
> 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.
>
> Thanks,
> Nick
More information about the Mono-list
mailing list