On Mon, Apr 13, 2009 at 6:37 AM, Hoffmann Zei <
[hidden email]> wrote:
> Hello all, I'm starting with kepler and I was wondering where I can find
> mod_lua for kepler 1.1 (with support for lua 5.1) for apache 2.2. If
> possible with windows binaries, if not with instructions on how to compile
> it (please be very specific, I'm a noob). The default Kepler 1.1
> installation doesn't come with it and I'm not sure if mod_lua.so from Kepler
> 1.0 will work. Many thanks,
Hi,
There are 2 different versions of mod_lua. The old one and the new
one, which used to be called mod_wombat. I don't know the old one very
well, it was developed outside of the Apache project, but the code
looked good last time I reviewed it
The new one is being developed by the Apache community and can be
found in the Apache subversion repository. It only works with Apache
2.3+ and will be part of Apache 2.4. It is still (not even) alpha and
there are some important features which are not supported yet. I think
only the old one would work with Kepler.
I managed to port the new mod_lua to Apache 2.2 without too much
efforts on OSX and Linux, and Corsix gives hints on how to do it on
Windows
http://www.corsix.org/content/mod-lua-win32Writing a WSAPI adapter for the new mod_lua would be a piece of cake I
think, but you would need acces to the CGI variables which are usually
stored in request.subprocess_env and are not currently populated in
current version of mod_lua (I maintain my own version for that).
Conclusion : Given the current state of the new mod_lua, I suggest
that you use fastcgi instead if you want to use Kepler, unless you
want to hack mod_lua :) I think I read somewhere that the old mod_lua
would not be supported in Kepler anymore, but this needs confirmation.
--
Bertrand Mansion
Mamasam
_______________________________________________
Kepler-Project mailing list
[hidden email]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-projecthttp://www.keplerproject.org/