[Mono-list] Apache Virtual Hosts With mod_mono

Joshua Tauberer tauberer at for.net
Mon Oct 31 16:21:45 EST 2005


David P. Donahue wrote:
> I've been following the guide at http://www.mono-project.com/Mod_mono to 
> try and get Mono to properly handle virtual hosts on my Apache 1.3.x 
> server, but with no luck yet.  The most common symptom is that, when 
> accessing the virtual host, I get the page for the root host.

Hi, David.

I think I fixed this in a patch after the 1.1.9.2 release.  I say think 
because I'm only pretty sure it was after the release, and I only tested 
it with Apache 2.

If what you're experiencing is what I fixed, then the work around is to 
use different aliases for each virtual host, described in the section 
'Multiple Applications, Multiple mod-mono-servers' on the mod_mono page. 
  That'll put each vhost into a different mod-mono-server. 
Alternatively, put all of the AddMonoApplications directives at the 
root-level of httpd.conf (and see the last example in the 'More on 
Applications' section).

Or maybe there's going to be a release soon with that fix...

Hope that helps.  (If not, let us know.)

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




More information about the Mono-list mailing list