Edi Weitz edi@agharta.de writes:
Hi!
On Tue, 27 Sep 2005 16:08:22 +0200, Nicolas Lamirault lam@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.
ok thanks a lot
i try this configuration of apache :
<Location /cl-album> LispServer 127.0.0.1 3000 "cl-album" SetHandler lisp-handler </Location>
<Location /musicdb> LispServer 127.0.0.1 3001 "musicdb" SetHandler lisp-handler </Location>
but when i try to acces web site by http://127.0.0.1/cl-album/index or http://127.0.0.1/musicdb/index, i have the tbnl's default page.
Does that help?
Cheers, Edi.