You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/08/07 12:05:19 UTC

svn commit: r1370159 - in /httpd/httpd/trunk/docs/manual/mod: mod_lua.html.en mod_lua.xml.fr

Author: humbedooh
Date: Tue Aug  7 10:05:19 2012
New Revision: 1370159

URL: http://svn.apache.org/viewvc?rev=1370159&view=rev
Log:
xforms

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en?rev=1370159&r1=1370158&r2=1370159&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.html.en Tue Aug  7 10:05:19 2012
@@ -374,26 +374,50 @@ end
           <th><strong>Description</strong></th>
         </tr>
 <tr>
+          <td><code>allowoverrides</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The AllowOverride options applied to the current request.</td>
+        </tr>
+<tr class="odd">
           <td><code>ap_auth_type</code></td>
           <td>string</td>
           <td>no</td>
           <td>If an authentication check was made, this is set to the type 
           of authentication (f.x. <code>basic</code>)</td>
         </tr>
-<tr class="odd">
+<tr>
           <td><code>args</code></td>
           <td>string</td>
           <td>yes</td>
           <td>The query string arguments extracted from the request 
             (f.x. <code>foo=bar&amp;name=johnsmith</code>)</td>
         </tr>
-<tr>
+<tr class="odd">
           <td><code>assbackwards</code></td>
           <td>boolean</td>
           <td>no</td>
           <td>Set to true if this is an HTTP/0.9 style request 
             (e.g. <code>GET /foo</code> (with no headers) )</td>
         </tr>
+<tr>
+          <td><code>auth_name</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The realm name used for authorization (if applicable).</td>
+        </tr>
+<tr class="odd">
+          <td><code>banner</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The server banner, f.x. <code>Apache HTTP Server/2.4.3 openssl/0.9.8c</code></td>
+        </tr>
+<tr>
+          <td><code>basic_auth_pw</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The basic auth password sent with this request, if any</td>
+        </tr>
 <tr class="odd">
           <td><code>canonical_filename</code></td>
           <td>string</td>
@@ -483,6 +507,18 @@ end
           <td>Whether or not this request is done via HTTPS</td>
         </tr>
 <tr>
+          <td><code>is_initial_req</code></td>
+          <td>boolean</td>
+          <td>no</td>
+          <td>Whether this request is the initial request or a sub-request</td>
+        </tr>
+<tr class="odd">
+          <td><code>limit_req_body</code></td>
+          <td>number</td>
+          <td>no</td>
+          <td>The size limit of the request body for this request, or 0 if no limit.</td>
+        </tr>
+<tr>
           <td><code>log_id</code></td>
           <td>string</td>
           <td>no</td>
@@ -501,11 +537,23 @@ end
           <td>A list of notes that can be passed on from one module to another.</td>
         </tr>
 <tr class="odd">
+          <td><code>options</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The Options directive applied to the current request.</td>
+        </tr>
+<tr>
           <td><code>path_info</code></td>
           <td>string</td>
           <td>no</td>
           <td>The PATH_INFO extracted from this request.</td>
         </tr>
+<tr class="odd">
+          <td><code>port</code></td>
+          <td>number</td>
+          <td>no</td>
+          <td>The server port used by the request.</td>
+        </tr>
 <tr>
           <td><code>protocol</code></td>
           <td>string</td>
@@ -526,42 +574,72 @@ end
           <td>The contents of the <code>Range:</code> header.</td>
         </tr>
 <tr class="odd">
+          <td><code>remaining</code></td>
+          <td>number</td>
+          <td>no</td>
+          <td>The number of bytes remaining to be read from the request body.</td>
+        </tr>
+<tr>
+          <td><code>server_built</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The time the server executable was built.</td>
+        </tr>
+<tr class="odd">
+          <td><code>server_name</code></td>
+          <td>string</td>
+          <td>no</td>
+          <td>The server name for this request.</td>
+        </tr>
+<tr>
+          <td><code>some_auth_required</code></td>
+          <td>boolean</td>
+          <td>no</td>
+          <td>Whether some authorization is/was required for this request.</td>
+        </tr>
+<tr class="odd">
           <td><code>subprocess_env</code></td>
           <td>table</td>
           <td>yes</td>
           <td>The environment variables set for this request.</td>
         </tr>
 <tr>
+          <td><code>started</code></td>
+          <td>number</td>
+          <td>no</td>
+          <td>The time the server was (re)started, in seconds since the epoch (Jan 1st, 1970)</td>
+        </tr>
+<tr class="odd">
           <td><code>status</code></td>
           <td>number</td>
           <td>yes</td>
           <td>The (current) HTTP return code for this request, f.x. <code>200</code> or <code>404</code>.</td>
         </tr>
-<tr class="odd">
+<tr>
           <td><code>the_request</code></td>
           <td>string</td>
           <td>no</td>
           <td>The request string as sent by the client, f.x. <code>GET /foo/bar HTTP/1.1</code>.</td>
         </tr>
-<tr>
+<tr class="odd">
           <td><code>unparsed_uri</code></td>
           <td>string</td>
           <td>no</td>
           <td>The unparsed URI of the request</td>
         </tr>
-<tr class="odd">
+<tr>
           <td><code>uri</code></td>
           <td>string</td>
           <td>yes</td>
           <td>The URI after it has been parsed by httpd</td>
         </tr>
-<tr>
+<tr class="odd">
           <td><code>user</code></td>
           <td>string</td>
           <td>yes</td>
           <td>If an authentication check has been made, this is set to the name of the authenticated user.</td>
         </tr>
-<tr class="odd">
+<tr>
           <td><code>useragent_ip</code></td>
           <td>string</td>
           <td>no</td>
@@ -572,11 +650,21 @@ end
         <p>The request_rec has (at least) the following methods:</p>
 
         <pre class="prettyprint lang-lua">
+        r:flush() -- flushes the output buffer
+        </pre>
+
+
+        <pre class="prettyprint lang-lua">
         r:addoutputfilter(name|function) -- add an output filter
         </pre>
 
 
         <pre class="prettyprint lang-lua">
+        r:sendfile(filename) -- sends an entire file to the client, using sendfile if supported by the current platform
+        </pre>
+
+
+        <pre class="prettyprint lang-lua">
         r:parseargs() -- returns a Lua table containing the request's query string arguments
         </pre>
 

Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr?rev=1370159&r1=1370158&r2=1370159&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Tue Aug  7 10:05:19 2012
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1355934:1369769 (outdated) -->
+<!-- English Revision: 1355934:1370158 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->