Release Notes: This release fixes some warnings. It adds setCookie() and getCookie() for setting and getting cookie values.
Release Notes: This release moves a declaration from the header to the C file to ease APXS installation, stops binaries built with mod_dbd support from complaining that mod_dbd isn't enabled when a connection fails, and fixes an issue which caused POST data from XMLHttpRequests not to be properly recognized.
Release Notes: The Makefile script will now properly clean up when `make clean` is called. The getEnv() function 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.
Release Notes: Modules built with apxs should now run on Unix platforms with Lua 5.2. mod_pLua now supports the PUT and DELETE methods. This release adds getRequestBody([filename]) for reading the request body and optionally writing it to a file.
Release Notes: This release adds 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. This release adds string.explode(string, delimiter) for splitting up strings into chunks. It fixes a potential issue where the pLuaIgnoreLibrary directive could be read incorrectly.
Release Notes: This release fixes a bug (presumably) which could allow db:close() to cause a segfault when using a mod_dbd handle, removes forced output flushing at 20KB data (as it doesn't seem to be needed), adds support for disabling shorthand opening tags ("<?") via the pLuaShortHand directive, and fixes an issue which caused "<?lua" tags in a script to cause the shorthand "<?" tags to be overlooked.
Release Notes: This release adds support for mod_dbd; see the wiki for further information. General code cleanup. A fix for a bug where dbclose and the database gc would clean up differently. A fix for a bad include in mod_plua.h that was halting compilations on some systems. Binary packages for Lua 5.2 are now also available for Linux and Apache 2.2.
Release Notes: The APXS system is now used for compiling and installing mod_pLua. Setting header("Location", ...) will no longer trigger an automatic 302 response by httpd - use httpError() or setReturnCode() for this instead.
Release Notes: Some thread checks, which were not needed in Lua C function calls, have been removed. Pushing the Lua thread onto the registry when acquiring the state has been reinstated to avoid having to resort to the backup list. The Lua function httpError(N) has been added for calling the internal Apache error handler with return code N. setReturnCode now only sets the return code; it does not call the Apache error handler (use httpError instead).
Release Notes: This release addresses issues with certain external modules emptying the registry stack, breaking certain calls to internal mod_pLua functions. In such cases, mod_pLua will now make use of a backup list of thread/state pairs to ensure no errors come of this.