[tbnl-devel] Multiple virtual host

Edi Weitz edi at agharta.de
Wed Sep 28 10:58:34 UTC 2005


Hi!

On Tue, 27 Sep 2005 16:08:22 +0200, Nicolas Lamirault <lam at tuxfamily.org> wrote:

> i use tbnl to manage some web site.
> i would like to know how can i do to have several web site ?

This is actually more a question about Apache/mod_lisp and not about
TBNL but it's OK to discuss it here.

> i have this already :
>
> LispServer 127.0.0.1 3000 "tbnl"
>
> <Location /tbnl>
>   SetHandler lisp-handler
> </Location>
>
> i would like to start a second web site
> someone know how can i do this ?
>
> <Location /foo>
>         SetHandler lisp-handler
> </Location>

For example:

  <Location /foo>
    LispServer 127.0.0.1 3000 "foo"
    SetHandler lisp-handler
  </Location>

  <Location /bar>
    LispServer 127.0.0.1 3001 "bar"
    SetHandler lisp-handler
  </Location>

Then start two different Lisps, one listening on 3000, the other one
listening on 3001.

Does that help?

Cheers,
Edi.



More information about the Tbnl-devel mailing list