Using Kepler with Lighttpd in Unix
You can configure Kepler with Lighttpd with the following launchers:
Please check the corresponding launcher section for the configuration details.
FastCGI
FastCGI is a good option for Kepler on an Lighttpd Server. To use Kepler as a FastCGI
application, you have to configure Lighttpd to associate .lua
and .lp
extensions with the Kepler FastCGI launcher (/usr/local/bin/fastcgi
in the default
installation). Edit the Lighttpd configuration file to include the following:
server.modules = ( "mod_fastcgi" ) server.document-root = ( "/usr/local/kepler/web" ) fastcgi.server = ( ".lua" => ( "kepler" => ( "socket" => "/tmp/kepler-fastcgi.socket", "bin-path" => "/usr/local/bin/fastcgi", ) ), ".lp" => ( "kepler" => ( "socket" => "/tmp/kepler-fastcgi.socket", "bin-path" => "/usr/local/bin/fastcgi", ) ) )
Now run Lighttpd with
lighttpd -f lighttpd.conf
and all requests to .lua
and .lp
files will go through Kepler.
Please check the Lighttpd documentation for extra
configuration options.
CGI
Kepler can be used as a standard Lighttpd CGI application.
This part of the documentation is still under development.