Joined: 24 Feb 2006
Location: Arkansas, USA
|Posted: Mon May 21, 2007 5:21 am Post subject: Lua Server Pages (CGILua)
|Lua is a fast and simple programming language, so I thought why not use it on the web? I stumbled across CGILua and experimented trying to get it to work with Abyss and I succeeded.
(This tutorial is for Windows)
To install CGILua and get it working with Abyss Webserver, download the Windows version of Kepler: http://luaforge.net/frs/?group_id=104
(I would say just download CGILua, but the Windows version of Kepler has it compiled and ready for use)
Install Kepler (it doesn't matter too much what all you choose to install, but you will need CGILua). (Don't install Xavante or just make sure you don't run it, Xavante is a webserver...but thats what we have Abyss for.)
In Abyss Webserver's Control Panel, goto Scripting Parameters and click add in the Interpreters table.
For Interface, choose FastCGI - Local Pipes
For Interpreter, browse to C:\Program Files\Kepler (or wherever you installed Kepler). And click fastcgi.exe
Leave the arguments field blank.
For type, choose PHP Style. This is crucial otherwise you'll be given a ton of errors.
For associated extensions you can put lua, lsp, lp, or whatever you want. There isn't really a standard. Though lp and lua is probably the most common.
You have successfully setup CGILua! You can see http://lua-users.org for tutorials and stuff on how to use Lua. For CGILua and specific ways on how to use Lua with it, see:
I hope you find this useful.
-Blake | New Server :D
Soy hispanohablante. Puedes contactarme por mensajes privados.