]> granicus.if.org Git - apache/commitdiff
xforms
authorDaniel Gruno <humbedooh@apache.org>
Sat, 20 Apr 2013 07:13:04 +0000 (07:13 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sat, 20 Apr 2013 07:13:04 +0000 (07:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470116 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/developer/modguide.html.en
docs/manual/mod/mod_lua.html.en
docs/manual/mod/mod_lua.xml.fr
docs/manual/mod/mod_rewrite.xml.fr
docs/manual/mod/mod_rewrite.xml.meta

index a58cb0a14c8bf3076f39ff3e98c2b692cf2f9b8f..de91332b8dfb2a2776be84c15b2d66346c15beb7 100644 (file)
@@ -1658,7 +1658,7 @@ static int example_handler(request_rec *r)
     keyValuePair* formData;
     /*~~~~~~~~~~~~~~~~~~~~~~*/
 
-    formData = readPost();
+    formData = readPost(r);
     if (formData) {
         int i;
         for (i = 0; formData[i]; i++) {
index 921589749ba18eb28cc0865fa924beca816ce509..3491ecd63e89f05bc1bf6bb3593c9066e87b4f08 100644 (file)
@@ -880,10 +880,10 @@ r:escape_logitem(string) -- Escapes a string for logging
 
 
 <pre class="prettyprint lang-lua">
-r:strcmp_match(string, pattern) -- Checks if 'string' matches 'pattern' using strcmp_match (globs).
+r.strcmp_match(string, pattern) -- Checks if 'string' matches 'pattern' using strcmp_match (globs).
                         -- fx. whether 'www.example.com' matches '*.example.com':
                         
-local match = r:strcmp_match("foobar.com", "foo*.com")
+local match = r.strcmp_match("foobar.com", "foo*.com")
 if match then 
     r:puts("foobar.com matches foo*.com")
 end
@@ -915,9 +915,9 @@ r:custom_response(404, "Baleted!")
 
 
 <pre class="prettyprint lang-lua">
-r:exists_config_define(string) -- Checks whether a configuration definition exists or not:
+r.exists_config_define(string) -- Checks whether a configuration definition exists or not:
 
-if r:exists_config_define("FOO") then
+if r.exists_config_define("FOO") then
     r:puts("httpd was probably run with -DFOO, or it was defined in the configuration")
 end
 </pre>
@@ -967,6 +967,16 @@ r:dbacquire(dbType[, dbParams]) -- Acquires a connection to a database and retur
 </pre>
 
 
+<pre class="prettyprint lang-lua">
+r:ivm_set("key", value) -- Set an Inter-VM variable to hold a specific value.
+                        -- These values persist even though the VM is gone or not being used,
+                        -- and so should only be used if MaxConnectionsPerChild is &gt; 0
+                        -- Values can be numbers, strings and booleans.
+                        
+r:ivm_get("key")        -- Fetches a variable set by ivm_set. Returns the contents of the variable
+                        -- if it exists or nil if no such variable exists.
+</pre>
+
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
index 499e2e26a10b717b98951bc832b4ac6e3c5c7cb0..66f9df3476f58b361a081becf7f1adbad343f134 100644 (file)
@@ -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: 1467562:1467730 (outdated) -->
+<!-- English Revision: 1467562:1470114 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 0a6bd0b13d35c7edf6963253e8a47c7cf9f503ba..ca9835a0e0de63146fac3c0d144ba8b2a1b4b1be 100644 (file)
@@ -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 : 1456072 -->
+<!-- English Revision: 1456072:1469957 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index decc0a7b1e85192770cea6f795335aaa7841b0f0..0be21e86f4d3e241aa6b35fcdd36de7efe6541b7 100644 (file)
@@ -8,6 +8,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
   </variants>
 </metafile>