Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

one apache with multiple lisp instances via modlisp

0 views
Skip to first unread message

Otto Diesenbacher

unread,
Jan 28, 2006, 9:29:12 PM1/28/06
to

Hi Lispers,

is there a way to connect multiple lisp instances to a single apache
with modlisp?

f.e. I have two Lisp instances running TBNL, one uses port 3000 and
the other 3001. These two independend Lisp instances should be
reachable f.e. as http://myhost/tbnl1/ and http://myhost/tbnl2/

- so I tried in my http.conf something like:

,----
| <IfModule mod_lisp.c>
| LispServer 127.0.0.1 3000 "tbnl1"
| <Location /tbnl1>
| SetHandler lisp-handler
| </Location>
| LispServer 127.0.0.1 3001 "tbnl2"
| <Location /tbnl2>
| SetHandler lisp-handler
| </Location>
| </IfModule>
`----

But that doesn't seem to work - it produces only internal server
errors for both entries.

Could you give me any advice? - Thanks in advance.

okflo

--

Otto Diesenbacher mailto:diesen...@gmail.com
Salzburg, Austria http://okflo.homelinux.net/

Edi Weitz

unread,
Jan 29, 2006, 4:28:29 AM1/29/06
to
On Sun, 29 Jan 2006 03:29:12 +0100, Otto Diesenbacher <diesen...@gmail.com> wrote:

> is there a way to connect multiple lisp instances to a single apache
> with modlisp?

Yep.

> ,----
> | <IfModule mod_lisp.c>
> | LispServer 127.0.0.1 3000 "tbnl1"
> | <Location /tbnl1>
> | SetHandler lisp-handler
> | </Location>
> | LispServer 127.0.0.1 3001 "tbnl2"
> | <Location /tbnl2>
> | SetHandler lisp-handler
> | </Location>
> | </IfModule>
> `----

It should look like this:

<Location /tbnl1>
LispServer 127.0.0.1 3000 "tbnl1"
SetHandler lisp-handler
</Location>
<Location /tbnl2>
LispServer 127.0.0.1 3001 "tbnl2"
SetHandler lisp-handler
</Location>

Cheers,
Edi.

--

Lisp is not dead, it just smells funny.

Real email: (replace (subseq "spam...@agharta.de" 5) "edi")

Otto Diesenbacher

unread,
Jan 29, 2006, 11:06:35 AM1/29/06
to
Edi Weitz <spam...@agharta.de> writes:

>> is there a way to connect multiple lisp instances to a single apache
>> with modlisp?

> It should look like this:
>
> <Location /tbnl1>
> LispServer 127.0.0.1 3000 "tbnl1"
> SetHandler lisp-handler
> </Location>
> <Location /tbnl2>
> LispServer 127.0.0.1 3001 "tbnl2"
> SetHandler lisp-handler
> </Location>
>
> Cheers,
> Edi.

Thanks a lot!

Additionally also thanks to Lester who gave me the hint to use virtual
servers - also a possibility.

0 new messages