[Mono-list] Apache virtual hosts, all or some mod_mono

Gonzalo Paniagua Javier gonzalo@ximian.com
Thu, 29 Apr 2004 16:10:06 +0200


El mié, 28-04-2004 a las 22:10, Andrew Arnott escribió:
> Maybe I can make my question more clear.
>  
> I have one Apache 2.0 server running.  It must handle requests for several domains:
>  
> gerontology.byu.edu
> fhss.byu.edu
> familylife.byu.edu
> and anyway you get the idea.
>  
> Several of these domains will be sites that use mod_mono, all on the
> same Apache 2.0.49 server. I can use "virtual hosts" in Apache to get
> Apache to respond with different root directories for each URL
> request.  My problem is getting mod_mono to also recognize the virtual
> hosts (NOT virtual directories within one host) and serve up the
> correct root directories. 
>  
> Here is what we are trying in httpd.conf:
>  
> LoadModule mono_module modules/libmod_mono.so
> # Note that these next paths are NOT virtual directories, but should be roots in virtual hosts
> MonoApplications "/:/var/www/gerontology,/:/var/www/fhss,/:/var/www/familylife"

Someone sent a patch for allowing a virtual host in MonoApplications,
but I kept it out until I fix some issues in it. Hopefully it will be in
CVS soon.

-Gonzalo