[tbnl-devel] Multiple virtual host

Marc Battyani marc.battyani at fractalconcept.com
Wed Sep 28 21:25:18 UTC 2005


"Steve Huffman" <steve.huffman at gmail.com> wrote:

> If you'd like to run two different instances of Lisp you can compile
> another version of mod_lisp and do something like this:
>
> <VirtualHost 192.168.10.2:80>
> LispServer 127.0.0.1 3000 "tbnl"
>
> <Location />
> SetHandler lisp-handler
> </Location>
> </VirtualHost>
>
> <VirtualHost 192.168.10.22:80>
> LispServer2 127.0.0.1 3001 "tbnl"
> <Location />
> SetHandler lisp2-handler
> </Location>
> </VirtualHost>
>
> We do that here because there are two separate Lisp projects being
> developed, but we use the same box for both of them. The box
> (FreeBSD) responds to two IPs.

There is no need to compile 2 mod_lisp versions.
Why don't you just change the LispServer directive, as shown by Edi in a
previous email ?

LispServer2 127.0.0.1 3001 "tbnl"
=> LispServer 127.0.0.1 3001 "tbnl"

Marc





More information about the Tbnl-devel mailing list