From marc.battyani at fractalconcept.com Sat Aug 20 09:04:58 2005
From: marc.battyani at fractalconcept.com (Marc Battyani)
Date: Sat, 20 Aug 2005 11:04:58 +0200
Subject: [mod-lisp-devel] Re: mod_lisp demultiplex to 2 backends
References: <4877ae6405082001241e5ca8cb@mail.gmail.com>
Message-ID: <01e001c5a566$3e395880$0a02a8c0@marcxp>
Mac Chan wrote:
>Hi Marc,
Hi Mac,
>Sorry to bother you directly, since I can't find a dev mailing list
>for mod_lisp.
There is one, but unfortunately it is spelled mod-lisp-devel instead of
mod_lisp-devel, this is probably why you missed it. Here it is:
http://common-lisp.net/cgi-bin/mailman/listinfo/mod-lisp-devel
(I've CCed this email to it.)
>If there a way to configure mod_lisp demultiplex the incoming request
>to different backends based on the /location directive or the
>AddHandler directive?
Yes, sure ;-)
>Currently I have the following config to play around with ucw and tbnl.
>However, I can only use one framework at a time.
>
>
> LispServer 127.0.0.1 3000 "localhost"
> AddHandler lisp-handler .ucw
> AddHandler lisp-handler .tbnl
>
> SetHandler lisp-handler
>
>
> SetHandler lisp-handler
>
>
>
>It would be nice if I could do the following, since something is
>rather neat to implement in ucw. But ucw is not very mature, so I can
>want to implement the majority of the *boring* stuff in tbnl, which is
>very polished piece of code.
>
>Any help would be appreciated. If it is not currently supported, I'd
>appreciate any pointers how to hack mod_lisp to do what I want. And
>I'll try my best to contribute to your great mod !
Thanks but it's already there. Just put LispServer directives in the
location description.
This should work:
LispServer 127.0.0.1 3000 "localhost"
LispServer 127.0.0.1 3042 "localhost"
SetHandler lisp-handler
SetHandler lisp-handler
Marc