[Mono-list] Using mod_mono with same server for different hosts
Jiri Cincura
diskuze at cincura.net
Tue Nov 9 23:19:44 EST 2010
Hi *,
is it possible to use one mod-mono-server process to serve two
application roots for two different hosts in one VirtualHost
container? Something like:
<VirtualHost *:80>
ServerName test.cincura.net
ServerAlias *.cincura.net
VirtualDocumentRoot /www/%-2.0.%-1/%-3+
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
MonoServerPath default /mono/mono/bin/mod-mono-server4
MonoApplications default "test.cincura.net:/:/www/cincura.net/test"
MonoApplications default "test2.cincura.net:/:/www/cincura.net/test2"
</VirtualHost>
Because no matter what combination I tried, it always considered only
the first one, ignoring the host (others were falling into the first).
I'm probably overlooking something.
Thanks JC
--
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com
More information about the Mono-list
mailing list