[Mono-dev] [Patch] mod_mono/xsp and virtual hosts
Juraj Skripsky
js at hotfeet.ch
Thu Dec 28 13:52:52 EST 2006
Hi,
Mod_mono/xsp do not support virtual hosts with ServerAlias correctly:
<VirtualHost *:80>
DocumentRoot /var/www/html/somesite
ServerName www.somesite.com
ServerAlias www.somesite.org
</VirtualHost>
(AutoConfiguration enabled)
Requesting http://www.somesite.com/xyz.aspx and then
http://www.somesite.org/xyz.aspx results in _two_ applications being
started.
We're hosting about 20 ASP.NET websites with apache/mod_mono, with some
of them having a lot of ServerAliases. The amount of memory used by the
mod-mono-server process is steadly rising as people start hitting those
aliases and new AppDomains are created...
The attached patches fix the problem (at least for our
configuration...). Could somebody please review them and provide
feedback?
- Juraj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_mono.patch
Type: text/x-patch
Size: 1234 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061228/52cf48f8/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xsp.patch
Type: text/x-patch
Size: 1771 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061228/52cf48f8/attachment-0001.bin
More information about the Mono-devel-list
mailing list