Usually by putting cgilua.cgi in the #! line of the script, instead of wsapi.cgi. With some web servers you can also put cgilua.cgi in the cgi-bin directory and then use URLs like:
http://foo.com/cgi-bin/cgilua.cgi/foo/bar/script.lua Or associate extensions like .lua and .lp with the CGI script cgilua.cgi. Your mileagle may vary... BTW, you will run into problems if you are also using WSAPI downloaded from LuaForge. Everything Kepler-related there has long since been deprecated, check http://github.com/keplerproject for the new homes (and LuaRocks for the preferred installation method). -- Fabio Mascarenhas On Tue, Dec 7, 2010 at 2:14 PM, McClure, Timothy J UTCFS <tim.mccl...@fs.utc.com> wrote: > Was luaforge I was wondering it what I stated below is correct? How does > the cgilua.cgi loader get executed? > > -----Original Message----- > From: kepler-project-boun...@lists.luaforge.net > [mailto:kepler-project-boun...@lists.luaforge.net] On Behalf Of Fabio > Mascarenhas > Sent: Tuesday, December 07, 2010 11:12 AM > To: Kepler Project mailing list > Subject: Re: [Kepler-Project] cgilua.cgi > > https://github.com/keplerproject/cgilua/downloads > > Which download links have you been using? LuaForge? > > -- > Fabio Mascarenhas > > > On Tue, Dec 7, 2010 at 2:03 PM, McClure, Timothy J UTCFS > <tim.mccl...@fs.utc.com> wrote: >> I downloaded everything related to wsapi and cgilua and I do not have the >> cgilua.cgi launcher on my system. Also I noticed that the cgilua page >> states the latest version is 5.1.4 however only versions up to 5.1.3 are >> available for downloading. >> >> >> >> I noticed the wsapi examples have this that the top of their scripts: >> >> #!/usr/bin/env wsapi.cgi >> >> >> >> Makes sense has this loads the launcher. The cgilua examples do not have >> this on top of their scripts - how is the launcher launched in this >> scenario? So it seems my problem with mini-httpd is that it is kicking of >> the wsapi but not setting the CGI variables in the environment before doing >> so. How does the web server typically set these environment variables in >> CGI for applications such as wsapi? >> >> >> >> Thx >> >> _______________________________________________ >> 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/ > > _______________________________________________ > 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/