You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by po...@apache.org on 2010/04/30 17:05:07 UTC
svn commit: r939703 - in /httpd/httpd/trunk/modules/lua: README
docs/basic-configuration.txt docs/running-developer-tests.txt
docs/writing-handlers.txt test/test_httpd.conf
Author: poirier
Date: Fri Apr 30 15:05:07 2010
New Revision: 939703
URL: http://svn.apache.org/viewvc?rev=939703&view=rev
Log:
Change references from mod_wombat to mod_lua.
Remove references to no-longer-needed pre-req, mod_apreq2.
Modified:
httpd/httpd/trunk/modules/lua/README
httpd/httpd/trunk/modules/lua/docs/basic-configuration.txt
httpd/httpd/trunk/modules/lua/docs/running-developer-tests.txt
httpd/httpd/trunk/modules/lua/docs/writing-handlers.txt
httpd/httpd/trunk/modules/lua/test/test_httpd.conf
Modified: httpd/httpd/trunk/modules/lua/README
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/README?rev=939703&r1=939702&r2=939703&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/README (original)
+++ httpd/httpd/trunk/modules/lua/README Fri Apr 30 15:05:07 2010
@@ -1,9 +1,7 @@
-*- mode:org -*-
* Requirements:
** lua 5.1 ( http://www.lua.org/ )
-** libapreq2 ( http://httpd.apache.org/apreq/download.cgi )
- This is no longer a requirement, actually
-** Apache HTTPD 2.2 ( http://httpd.apache.org/ )
+** Apache HTTPD 2.2 ( http://httpd.apache.org/ ) or Apache HTTPD 2.3
* Documentation
See docs/README
@@ -64,7 +62,7 @@
See NOTICE file for more information
* Problems and Patches:
- Please use dev@httpd.apache.org for discussing mod_wombat development
+ Please use dev@httpd.apache.org for discussing mod_lua development
To subscribe send email to dev-subscribe@httpd.apache.org
Note that this is for development discussion, not user support :-)
Modified: httpd/httpd/trunk/modules/lua/docs/basic-configuration.txt
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/docs/basic-configuration.txt?rev=939703&r1=939702&r2=939703&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/docs/basic-configuration.txt (original)
+++ httpd/httpd/trunk/modules/lua/docs/basic-configuration.txt Fri Apr 30 15:05:07 2010
@@ -1,19 +1,17 @@
See sample_httpd.conf for examples
The basic module loading directive is
- LoadModule apreq_module modules/mod_apreq2.so
- LoadModule wombat_module modules/mod_wombat.so
-I included the apreq_module in the example as you need it to :-)
+ LoadModule lua_module modules/mod_lua.so
The handler name is "lua-script" so you can use the normal
AddHandler directive, such as "AddHandler lua-script .lua" to
-set anything ending in .lua to use mod_wombat to evaluate
+set anything ending in .lua to use mod_lua to evaluate
-mod_wombat exports several additional directives:
+mod_lua exports several additional directives:
LuaRoot /path/to/a/directory
Specify the base path which will be used to evaluate all
- relative paths within mod_wombat. If not specified they
+ relative paths within mod_lua. If not specified they
will be resolved relative to the current working directory,
which may not always work well for a server.
Modified: httpd/httpd/trunk/modules/lua/docs/running-developer-tests.txt
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/docs/running-developer-tests.txt?rev=939703&r1=939702&r2=939703&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/docs/running-developer-tests.txt (original)
+++ httpd/httpd/trunk/modules/lua/docs/running-developer-tests.txt Fri Apr 30 15:05:07 2010
@@ -1,6 +1,6 @@
-*- mode:org -*-
-* Building mod_wombat
- The first step is to build mod_wombat per the instructions in
+* Building mod_lua
+ The first step is to build mod_lua per the instructions in
building-from-subversion.txt.
* Build and install LuaSocket
Modified: httpd/httpd/trunk/modules/lua/docs/writing-handlers.txt
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/docs/writing-handlers.txt?rev=939703&r1=939702&r2=939703&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/docs/writing-handlers.txt (original)
+++ httpd/httpd/trunk/modules/lua/docs/writing-handlers.txt Fri Apr 30 15:05:07 2010
@@ -1,4 +1,4 @@
-mod_wombat always looks to invoke a function for the handler, rather than
+mod_lua always looks to invoke a function for the handler, rather than
just evaluating a script body CGI style. A handler function looks
something like this:
Modified: httpd/httpd/trunk/modules/lua/test/test_httpd.conf
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/test/test_httpd.conf?rev=939703&r1=939702&r2=939703&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/test/test_httpd.conf (original)
+++ httpd/httpd/trunk/modules/lua/test/test_httpd.conf Fri Apr 30 15:05:07 2010
@@ -7,8 +7,7 @@ LuaRoot /Users/brianm/src/wombat/test
Listen 8000
-LoadModule apreq_module modules/mod_apreq2.so
-LoadModule wombat_module modules/mod_wombat.so
+LoadModule lua_module modules/mod_lua.so
AddHandler lua-script .lua