[hunchentoot-devel] Running multiple web application
Pierre THIERRY
nowhere.man at levallois.eu.org
Fri Apr 13 10:50:34 UTC 2007
Scribit Andrei Stebakov dies 12/04/2007 hora 16:13:
> So I need to keep track of all servers that I start and for each one return
> it's dispatch-table something like this?:
I suppose you could take advantage of the fact the global variables are
dynamic ones:
(defvar *dispatch-table1* ...)
(defvar *dispatch-table2* ...)
(let ((*dispatch-table* *dispatch-table1*))
(start-server :port 8001))
(let ((*dispatch-table* *dispatch-table2*))
(start-server :port 8002))
I didn't try this code, though, it's just what seemed natural to me for
this use.
Quickly,
Pierre
--
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20070413/d06627ea/attachment.sig>
More information about the Tbnl-devel
mailing list