[Mono-list] mod_mono in vhost configuration with ServerAlias
Gonzalo Paniagua Javier
gonzalo at ximian.com
Mon Jan 30 20:00:11 EST 2006
On Fri, 2006-01-27 at 12:26 +0100, Bernhard wrote:
> Hi,
>
> I got mono running in a vhost configuration like this:
>
> ServerName www.myhost.com
> ServerAlias myhost.com *.myhost.com
> MonoApplications chattv "www.myhost.com:/:/home/myuser/theapp"
>
> My Problem is when I access http://www.myhost.com everything works fine,
> but when I access http://myhost.com the aspx file sourcecode is downloaded.
>
> Is it possible to have serveral ServerAliases "pointing" to a single Mono
> application?
Yes, but you need to pass "*.myhost.com:....." in MonoApplications.
Otherwise mod-mono-server only knows aboyt www.myhost.com.
-Gonzalo
More information about the Mono-list
mailing list