Bugzilla – Bug 324552
[PATCH] ServerAlias (Virtual hosts) support for Mod_mono/xsp
Last modified: 2007-09-15 21:24:57 UTC
---- Reported by juraj@hotfeet.ch 2007-06-15 05:29:33 MST ---- 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... ---- Additional Comments From juraj@hotfeet.ch 2007-06-15 05:31:23 MST ---- The issue was already discussed on the mailing list: http://lists.ximian.com/pipermail/mono-devel-list/2006-December/021896.html http://lists.ximian.com/pipermail/mono-devel-list/2006-December/021927.html Gonzalo's answer (second message from above): I think the patch looks good and will not break any existing configuration but it still needs some work in GetApplicationForPath... I'll try a few different configurations and get back to you in a couple of days. ---- Additional Comments From juraj@hotfeet.ch 2007-06-15 05:33:03 MST ---- Created an attachment (id=172153) Patch to mod_mono ---- Additional Comments From juraj@hotfeet.ch 2007-06-15 05:33:27 MST ---- Created an attachment (id=172154) Patch to xsp ---- Additional Comments From mhabersack@novell.com 2007-06-20 04:03:38 MST ---- This bug was fixed in svn trunk, revisions 80294 and 80295 Imported an attachment (id=172153) Imported an attachment (id=172154) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>FC6</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".