mod_pLua / News: Recent posts

mod_pLua 0.54 released

mod_pLua 0.54 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.54:

  • Fixed a bug where mod_dbd was required even though mod_pLua wasn't built for mod_dbd
  • Added string.md5() for making md5 hashes.
Posted by Daniel Gruno 2012-07-13

mod_pLua 0.53 released

mod_pLua 0.53 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.53:

  • Fixed a memory leak in database connectivity with mod_dbd
  • Added the Auth-User environment variable for extracting the username from a basic auth request
  • Added a per-thread state mode (set pLuaStates to 0 to activate)
Posted by Daniel Gruno 2012-05-29

mod_pLua 0.52 released

mod_pLua 0.52 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.52:

  • Fixed some warnings
  • Added setCookie() and getCookie() for setting and getting cookie values.
Posted by Daniel Gruno 2012-05-02 Labels: lua plua apache http mod_plua httpd apache 2

mod_pLua 0.51 released

mod_pLua 0.51 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.51:

  • Moved a declaration from the header to the c file to ease APXS installation (thanks to Igor Galic for this patch)
  • Binaries built with mod_dbd support will no longer complain that mod_dbd isn't enabled when a connection fails
  • Fixed an issue where POST data from XMLHttpRequests was not properly recognized.... read more
Posted by Daniel Gruno 2012-03-08

mod_pLua 0.50 released

mod_pLua 0.50 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.50:

  • The Makefile script will now properly clean up when make clean is called
  • getEnv() will now report a Server-Version value as well (major.minor.patch)
  • Directives are now only permissable within the main Apache configuration
  • The include() function now supports including plain lua files as set by the pLuaRaw directive
Posted by Daniel Gruno 2012-02-27

mod_pLua 0.49 released

mod_pLua 0.49 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.49:

  • Modules built with apxs should now run on UNIX platforms with Lua 5.2
  • mod_pLua now supports the PUT and DELETE methods
  • Added getRequestBody([filename]) for reading the request body, optionally writing it to a file
Posted by Daniel Gruno 2012-02-21

mod_pLua 0.48 released

mod_pLua 0.48 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.48:

  • Added file.send(filename) for sending static files using the internal sendfile mechanism
  • Calling sleep(n) with a negative number will now default to sleeping for 1 second
  • print(...) will now output the values of booleans and nils, as well as refs to tables, userdata and functions
  • Added string.explode(string, delimiter) for splitting up strings into chunks
  • Fixed a potential issue where the pLuaIgnoreLibrary directive could be read wrong
Posted by Daniel Gruno 2012-02-20

mod_pLua 0.47 released

mod_pLua 0.47 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.47:

  • dbopen() now only requires one parameter if opening a mod_dbd connection
  • Content type is now assumed to be text/html by default
  • sleep() now accepts floating point values on UNIX systems
  • Fixed an issue where Lua 5.2 on certain platforms would not load libraries properly
Posted by Daniel Gruno 2012-02-19

mod_pLua 0.46 released

mod_pLua 0.46 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.46:

  • Added the pLuaMemoryLimit directive for setting a memory limit (in kb) for each Lua state
  • Added the pLuaIgnoreLibrary directive for disabling specific libraries in the Lua states
  • The value of pLuaRuns is now properly followed

Using this release on Windows platforms with Lua 5.2 might cause some issues due to an unforeseen snafoo with Lua 5.2 not loading libraries as it should. This will be addressed in 0.47.

Posted by Daniel Gruno 2012-02-19

mod_pLua 0.45 released

mod_pLua 0.45 released

mod_pLua is an Apache HTTP Server 2.x module for developing web applications with Lua. http://sf.net/p/modplua

Changes in 0.45:

  • Fixed a bug (presumably) where db:close() could cause a segfault when using a mod_dbd handle
  • Removed the forced output flushing at 20KB data, as it doesn't seem to be needed
  • Added support for disabling short hand opening tags, <?, via the pLuaShortHand directive
  • Fixed an issue where <?lua tags in a script would cause the shorthand <? tags to be overlooked... read more
Posted by Daniel Gruno 2012-02-17