[Mono-list] Multiple Website w/ Same Mono Instance

Joshua Tauberer tauberer at for.net
Thu Jul 14 21:05:03 EDT 2005


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