[Mono-list] Using mod_mono with same server for different hosts

Jiri Cincura diskuze at cincura.net
Wed Nov 10 15:36:15 EST 2010


On Wed, Nov 10, 2010 at 16:09, Abe Gillespie <abe.gillespie at gmail.com> wrote:
> test2.cincura.net is a different virtual host.  You need two

Yes, I was kind of hoping for similar work as mod_vhost_alias.

> <VirtualHost> sections:
>
> <VirtualHost *:80>
>  ServerName test.cincura.net
>  # Mono config ...
> </VirtualHost>
>
> <VirtualHost *:80>
>  ServerName test2.cincura.net
>  # Mono config ...
> </VirtualHost>

Is it possible to run just one (or just few specified in
MonoServerPath using same alias) mod-mono-server instance? Looks like,
it's not possible.

> Also, your MonoApplications directive needs to look like this (remove
> the server name bits):
>
> MonoApplications default "/:/www/cincura.net/test"

This brings me to question, what's the reason then to have support
there for hostnames?

-- 
Jiri {x2} Cincura (x2develop.com founder)
http://blog.cincura.net/ | http://www.ID3renamer.com


More information about the Mono-list mailing list