From Alain.Picard at memetrics.com Fri Feb 18 03:35:02 2005
From: Alain.Picard at memetrics.com (Alain.Picard at memetrics.com)
Date: Fri, 18 Feb 2005 14:35:02 +1100
Subject: [mod-lisp-devel] mod_lisp and virtual hosts
Message-ID: <16917.25190.910846.749981@memetrics.com>
Well, shoot.
Just after firing this off, I was reading the backlog of this
list and I found this:
Message-ID: <020c01c4ffc5$9c0d6420$0a02a8c0 at marcxp>
By Mr. Battyani, which answers my question (in the affirmative).
Sorry for the trouble!
From Alain.Picard at memetrics.com Fri Feb 18 03:06:30 2005
From: Alain.Picard at memetrics.com (Alain.Picard at memetrics.com)
Date: Fri, 18 Feb 2005 14:06:30 +1100
Subject: [mod-lisp-devel] mod_lisp and virtual hosts
Message-ID: <16917.23478.429976.641837@memetrics.com>
Hello everyone!
I've started using mod_lisp in earnest. I'm trying to set it up
in a possibly unsupported way (Google didn't turn up anything)
but perhaps someone already knows how to do this.
What I want to do is have multiple virtual hosts within an Apache (1.3),
and have each virtual host use it's own mod_lisp interface.
I.e. I'd like to have multiple Lisp servers, e.g.
LispServer 127.0.0.1 3001 "alpha"
LispServer 127.0.0.1 3002 "beta"
LispServer 127.0.0.1 3003 "gamma"
etc.
and then have each virtual host use one and only one server, such as:
SetHandler lisp-handler1 # or some such
SetHandler lisp-handler2 # or some such
etc.
I believe this is not currently possible because the only
lisp-handler defined is, well, `lisp-handler'.
Would I have to hack in mod_lisp.c to achieve this sort of functionality?
Or is there a much easier workaround that I'm missing?
Basically, I need each IP to use 1 and only 1 lisp back end.
Any hints whatsoever will be greatly appreciated...
Also, I'm tempted to use 1.3 because I have some existing PHP stuff
which works and has been tested on 1.3, and I'm afraid to move to
Apache 2 because I don't understand the various thread models and what
impact they may have on the modules I'm currently using. If anyone
thinks this is a spectacularly bad idea, I'd be interested to know why
they think that.
--Alain Picard