]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
update transformation
authorAndré Malo <nd@apache.org>
Fri, 7 Apr 2006 21:04:03 +0000 (21:04 +0000)
committerAndré Malo <nd@apache.org>
Fri, 7 Apr 2006 21:04:03 +0000 (21:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@392397 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/access.html.en
docs/manual/mod/mod_dbd.html.en

index ea1f0882e18f955604410ea203d8b8a1d0b7fc0a..2e0eea1bb5baa7136a8d078ac6243f037e85b407 100644 (file)
@@ -72,7 +72,7 @@ discussed in this document include <code class="module"><a href="../mod/mod_sete
     following:</p>
 
     <div class="example"><p><code>
-      Deny from 205.252.46.165
+      Deny from 10.252.46.165
     </code></p></div>
 
     <p>Visitors coming from that address will not be able to see
@@ -87,8 +87,8 @@ discussed in this document include <code class="module"><a href="../mod/mod_sete
     you can specify just part of an address or domain name:</p>
 
     <div class="example"><p><code>
-      Deny from <var>192.101.205</var><br />
-      Deny from <var>cyberthugs.com</var> <var>moreidiots.com</var><br />
+      Deny from <var>192.168.205</var><br />
+      Deny from <var>phishers.example.com</var> <var>moreidiots.example</var><br />
       Deny from ke
     </code></p></div>
 
index ea96a475b9cf7e6d4bf42570dae3c991ed6553c4..cfff92719ae991fb7c9f5ddcc1382ac9819662cb 100644 (file)
@@ -190,6 +190,19 @@ APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const c
     <p>As required by the underlying driver.  Typically this will be
     used to pass whatever cannot be defaulted amongst username,
     password, database name, hostname and port number for connection.</p>
+    <p>Connection string parameters for current drivers include:</p>
+    <dl>
+    <dt>MySQL</dt>
+    <dd>host, port, user, pass, dbname, sock</dd> 
+    <dt>Oracle</dt>
+    <dd>user, pass, dbname, server</dd> 
+    <dt>PostgreSQL</dt>
+    <dd>The connection string is passed straight through to <code>PQconnectdb</code></dd>
+    <dt>SQLite2</dt>
+    <dd>The connection string is split on a colon, and <code>part1:part2</code> is used as <code>sqlite_open(part1, atoi(part2), NULL)</code></dd>
+    <dt>SQLite3</dt>
+    <dd>The connection string is passed straight through to <code>sqlite3_open</code></dd>
+    </dl>
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>