[Mono-list] Apache virtual hosts, all or some mod_mono
Gonzalo Paniagua Javier
Tue, 27 Apr 2004 10:31:16 +0200
El lun, 26-04-2004 a las 22:53, Andrew Arnott escribió:
> I am trying to set up multiple virtual hosts on Apache 2.0.49. Each
> of which of course has its own physical root directory. Trouble is
> the MonoApplications line only takes virtual directory paths. Running
> mod-mono-server.exe and looking at the argument syntax doesn˙t help.
> How can I have multiple virtual roots on various virtual hosts, and
> configure Mono to work on them all?
MonoApplications takes virtual:physical pairs separated by a comma.
For your purpose, you have to use the 'Alias virtual "physical"' apache
directive and when configuring the virtual host, set mod_mono as the
handler for the virtual directory for that virtual host.