From: Graham Leggett Date: Fri, 21 Sep 2012 19:56:02 +0000 (+0000) Subject: Rebuild docs. X-Git-Tag: 2.5.0-alpha~6287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdf2e581e5708a03e2ca79a12a52e6cc6a0adf1d;p=thirdparty%2Fapache%2Fhttpd.git Rebuild docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1388653 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/developer/hooks.html.en b/docs/manual/developer/hooks.html.en index bc93fe316e3..5dd581a16a4 100644 --- a/docs/manual/developer/hooks.html.en +++ b/docs/manual/developer/hooks.html.en @@ -64,10 +64,10 @@ This is declared as follows:

-        APR_HOOK_STRUCT(
-          APR_HOOK_LINK(do_something)
-          ...
-        )
+APR_HOOK_STRUCT(
+  APR_HOOK_LINK(do_something)
+  ...
+)
       
@@ -93,11 +93,11 @@ something like this:

-          void ap_run_do_something(request_rec *r, int n)
-          {
-            ...
-            do_something(r, n);
-          }
+void ap_run_do_something(request_rec *r, int n)
+{
+...
+do_something(r, n);
+}
         
@@ -139,10 +139,10 @@ like so:

-        int n, ret;
-        request_rec *r;
+int n, ret;
+request_rec *r;
 
-        ret=ap_run_do_something(r, n);
+ret=ap_run_do_something(r, n);
       
@@ -157,11 +157,11 @@ of the correct type:

-        static int my_something_doer(request_rec *r, int n)
- { - ... - return OK; - } +static int my_something_doer(request_rec *r, int n)
+{ + ... + return OK; +}
@@ -172,16 +172,16 @@ structure:

-        static void my_register_hooks()
-        {
-          ap_hook_do_something(my_something_doer, NULL, NULL, APR_HOOK_MIDDLE);
-        }
-
-        mode MODULE_VAR_EXPORT my_module =
-        {
-          ...
-          my_register_hooks       /* register hooks */
-        };
+static void my_register_hooks()
+{
+    ap_hook_do_something(my_something_doer, NULL, NULL, APR_HOOK_MIDDLE);
+}
+
+mode MODULE_VAR_EXPORT my_module =
+{
+    ...
+    my_register_hooks       /* register hooks */
+};
       
@@ -216,12 +216,12 @@ before we do, then we'd hook as follows:

-        static void register_hooks()
-        {
-          static const char * const aszPre[] = { "mod_xyz.c", "mod_abc.c", NULL };
+static void register_hooks()
+{
+    static const char * const aszPre[] = { "mod_xyz.c", "mod_abc.c", NULL };
 
-          ap_hook_do_something(my_something_doer, aszPre, NULL, APR_HOOK_MIDDLE);
-        }
+    ap_hook_do_something(my_something_doer, aszPre, NULL, APR_HOOK_MIDDLE);
+}
       
diff --git a/docs/manual/mod/mod_auth_form.html.en b/docs/manual/mod/mod_auth_form.html.en index 5dd2c7e41b3..65f95419e2c 100644 --- a/docs/manual/mod/mod_auth_form.html.en +++ b/docs/manual/mod/mod_auth_form.html.en @@ -477,9 +477,10 @@ lower level modules Compatibility:Available in Apache HTTP Server 2.3.0 and later

The AuthFormLoginRequiredLocation directive - specifies the URL to redirect to should the user not be authorised to view a page. By default, - if a user is not authorised to view a page, the HTTP response code HTTP_UNAUTHORIZED - will be returned with the page specified by the + specifies the URL to redirect to should the user not be authorised to view a page. The value + is parsed using the ap_expr syntax before being sent to the client. + By default, if a user is not authorised to view a page, the HTTP response code + HTTP_UNAUTHORIZED will be returned with the page specified by the ErrorDocument directive. This directive overrides this default.

@@ -499,9 +500,10 @@ lower level modules Compatibility:Available in Apache HTTP Server 2.3.0 and later

The AuthFormLoginSuccessLocation directive - specifies the URL to redirect to should the user have logged in successfully. This directive - can be overridden if a form field has been defined containing another URL using the - AuthFormLocation directive.

+ specifies the URL to redirect to should the user have logged in successfully. The value is + parsed using the ap_expr syntax before being sent to the client. + This directive can be overridden if a form field has been defined containing another URL + using the AuthFormLocation directive.

Use this directive if you have a dedicated login URL, and you have not embedded the destination page in the login form.

@@ -520,7 +522,9 @@ lower level modules Compatibility:Available in Apache HTTP Server 2.3.0 and later

The AuthFormLogoutLocation directive - specifies the URL of a page on the server to redirect to should the user attempt to log out.

+ specifies the URL of a page on the server to redirect to should the user attempt to log + out. The value is parsed using the ap_expr syntax before + being sent to the client.

When a URI is accessed that is served by the handler form-logout-handler, the page specified by this directive will be shown to the end user. For example: