From: Daniel Gruno The most essential part of any request is the request record
. In a call to a handler function, this is represented by the Some key elements of the
-A complete list of all the values contained with in the A simple usage example to accelerate The request_rec structure
-request_req* structure passed along with every call that is made.
+request_rec* structure passed along with every call that is made.
This struct, typically just refered to as r in modules,
contains all the information you need for your module to fully process any
HTTP request and respond accordingly.
-request_req structure are:
+request_rec structure are:
r->handler (char*): Contains the name of the handler the server is currently asking to do the handling of this requestrequest_req structure can be found in
+A complete list of all the values contained with in the request_rec structure can be found in
the httpd.h header
file or at http://ci.apache.org/projects/httpd/trunk/doxygen/structrequest__rec.html.
ap_rputs(const char *string, request_req *r):
+ ap_rputs(const char *string, request_rec *r):
Sends a string of text to the client. This is a shorthand version of
ap_rwrite.
@@ -454,7 +454,7 @@ the next, without informing other handlers.
- ap_set_content_type(request_req *r, const char *type):
+ ap_set_content_type(request_rec *r, const char *type):
Sets the content type of the output you are sending.
@@ -1625,7 +1625,7 @@ typedef struct {
const char* value;
} keyValuePair;
-keyValuePair* readPost(request_req* r) {
+keyValuePair* readPost(request_rec* r) {
apr_array_header_t *pairs = NULL;
apr_off_t len;
apr_size_t size;
@@ -1651,7 +1651,7 @@ keyValuePair* readPost(request_req* r) {
return kvp;
}
-static int example_handler(request_req *r)
+static int example_handler(request_rec *r)
{
/*~~~~~~~~~~~~~~~~~~~~~~*/
@@ -1679,7 +1679,7 @@ static int example_handler(request_req *r)
-static int example_handler(request_req *r)
+static int example_handler(request_rec *r)
{
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
const apr_array_header_t *fields;
@@ -1741,7 +1741,7 @@ static int util_read(request_rec *r, const char **rbuf, apr_off_t *size)
return(rc);
}
-static int example_handler(request_req* r)
+static int example_handler(request_rec* r)
{
/*~~~~~~~~~~~~~~~~*/
apr_off_t size;
diff --git a/docs/manual/expr.xml.fr b/docs/manual/expr.xml.fr
index 4df5d0744ae..a24bf22a5d4 100644
--- a/docs/manual/expr.xml.fr
+++ b/docs/manual/expr.xml.fr
@@ -1,7 +1,7 @@
-
+
diff --git a/docs/manual/howto/ssi.xml.meta b/docs/manual/howto/ssi.xml.meta
index 1c020635eb5..0d8deb802c3 100644
--- a/docs/manual/howto/ssi.xml.meta
+++ b/docs/manual/howto/ssi.xml.meta
@@ -8,7 +8,7 @@
mod_authn_dbd
using dbm as a cache engine:
+#AuthnCacheSOCache is optional. If specified, it is server-wide
+AuthnCacheSOCache dbm
<Directory /usr/www/myhost/private>
AuthType Basic
AuthName "Cached Authentication Example"
AuthBasicProvider socache dbd
AuthDBDUserPWQuery "SELECT password FROM authn WHERE user = %s"
AuthnCacheProvideFor dbd
- AuthnCacheContext dbd-authn-example
- AuthnCacheSOCache dbm
Require valid-user
+ #Optional
+ AuthnCacheContext dbd-authn-example
</Directory>
diff --git a/docs/manual/mod/mod_cache.xml.meta b/docs/manual/mod/mod_cache.xml.meta
index 29181a9f486..92f1aa14034 100644
--- a/docs/manual/mod/mod_cache.xml.meta
+++ b/docs/manual/mod/mod_cache.xml.meta
@@ -8,7 +8,7 @@
httxt2dbm is used to generate dbm files from text input, for
use in RewriteMap with the
- dbm map type.
- dbm map type.
If the output file already exists, it will not be truncated. New keys will be + added and existing keys will be updated.
Synopsis
Options