From 8bde9ac9c0cefe0e4b7744cc1b8b30d65e476d2f Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 22 Apr 2010 11:05:30 +0000 Subject: [PATCH] Add basic almost-useful usage information. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@936778 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/index.html.en | 3 ++- docs/manual/mod/mod_lua.html.en | 39 +++++++++++++++++---------------- docs/manual/mod/mod_lua.xml | 37 +++++++++++++++---------------- 3 files changed, 40 insertions(+), 39 deletions(-) diff --git a/docs/manual/mod/index.html.en b/docs/manual/mod/index.html.en index d7cbedabd4..94bf9863f3 100644 --- a/docs/manual/mod/index.html.en +++ b/docs/manual/mod/index.html.en @@ -145,7 +145,8 @@ by other LDAP modules
mod_log_config
Logging of the requests made to the server
mod_log_forensic
Forensic Logging of the requests made to the server
mod_logio
Logging of input and output bytes per request
-
mod_lua
Provides Lua hooks to do cool stuff
+
mod_lua
Provides Lua hooks into various portions of the httpd +request processing
mod_mime
Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index 830eaf048f..e842ab19d8 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -23,7 +23,8 @@

Available Languages:  en 

- +
Description:Provides Lua hooks to do cool stuff
@@ -32,10 +33,6 @@

Someone needs to write this.

-

Example

-# Examples are always helpful.
-

-

Directives

    @@ -57,27 +54,31 @@

Topics

See also

-
top
-

Additional Documentation

+

Basic Configuration

-

More detailed information about the module in general (as opposed to -the individual directives) can follow in sections containing titles.

+The basic module loading directive is -

The id attribute will be translated into a hypertext -anchor target.

+

+ LoadModule apreq_module modules/mod_apreq2.so
+ LoadModule wombat_module modules/mod_wombat.so +

-

References to directives should use the directive tag: TemplateDirective. References to -modules should use the module tag -mod_lua.xml.

+

+mod_lua provides a handler named lua-script, +which can be used with an AddHandler directive:

+ +

+AddHandler lua-script .lua +

+

+This will cause any .lua file to be evaluated by +mod_lua. +

top

Directive

diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 03197851ec..56c31c1191 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -24,7 +24,8 @@ mod_lua -Provides Lua hooks to do cool stuff +Provides Lua hooks into various portions of the httpd +request processing experimental mod_lua.c lua_module @@ -33,31 +34,29 @@

Someone needs to write this.

-Example -# Examples are always helpful.
-
-
- -Useful document -Useful -mod_useful +
Basic Configuration - -
Additional Documentation +The basic module loading directive is -

More detailed information about the module in general (as opposed to -the individual directives) can follow in sections containing titles.

+ + LoadModule apreq_module modules/mod_apreq2.so
+ LoadModule wombat_module modules/mod_wombat.so +
-

The id attribute will be translated into a hypertext -anchor target.

+

+mod_lua provides a handler named lua-script, +which can be used with an AddHandler directive:

-

References to directives should use the directive tag: TemplateDirective. References to -modules should use the module tag -mod_lua.xml.

+ +AddHandler lua-script .lua + +

+This will cause any .lua file to be evaluated by +mod_lua. +

-- 2.40.0
Description:Provides Lua hooks into various portions of the httpd +request processing
Status:Experimental
Module Identifier:lua_module
Source File:mod_lua.c