xavante.HTTP just configures the web server. You have to call xavante_start to get it to actually start the server loop.
About your other question, you can use WSAPI without CGILua, and I recommend it. :-) You are going to need to install wsapi-xavante to get the required libraries, and add rules for WSAPI to your launcher. Please see http://github.com/keplerproject/wsapi/blob/master/src/launcher/wsapi Another WSAPI launcher for Xavante you might want to study is Orbit's: http://github.com/keplerproject/orbit/blob/master/src/launchers/orbit -- Fabio Mascarenhas On Fri, Jan 29, 2010 at 10:57 AM, Rob Kendrick <r...@simtec.co.uk> wrote: > On Fri, 29 Jan 2010 10:40:24 -0200 > Fabio Mascarenhas <mascaren...@acm.org> wrote: > >> Do not require "xavante.cgiluahandler", as it depends on having >> wsapi-xavante, plus cgilua, plus Kepler configuration, present. > > Ah, another issue: commenting out the require line for the cgilua > handler results in my test program instantly exiting silently. An > strace suggests it is creating the socket and binding: > > fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) > fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > gettimeofday({1264769811, 76628}, NULL) = 0 > setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 > fcntl64(3, F_GETFL) = 0x802 (flags > O_RDWR|O_NONBLOCK) > fcntl64(3, F_SETFL, O_RDWR) = 0 > bind(3, {sa_family=AF_INET, sin_port=htons(8080), > sin_addr=inet_addr("0.0.0.0")}, 16) = 0 > fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) > fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > fcntl64(3, F_GETFL) = 0x802 (flags > O_RDWR|O_NONBLOCK) > fcntl64(3, F_SETFL, O_RDWR) = 0 > listen(3, 32) = 0 > fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) > fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTART|0x4000000}, {0xaf84, > [INT], SA_RESTART|0x4000000}, 8) = 0 > fcntl64(3, F_GETFL) = 0x802 (flags > O_RDWR|O_NONBLOCK) > fcntl64(3, F_SETFL, O_RDWR) = 0 > close(3) = 0 > munmap(0x4028a000, 44392) = 0 > munmap(0x40279000, 67372) = 0 > exit_group(0) = ? > > -- > Rob Kendrick, Support Team Lead Simtec Electronics > Telephone: +44 (0)1772 978013 Avondale Drive, Tarleton > Fax: +44 (0)1772 816426 Preston, Lancs, PR4 6AX, UK > http://www.simtec.co.uk/ mailto:r...@simtec.co.uk > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/