From 6503d501a3a366786c83773dc8f9442a144241b2 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Fri, 25 Mar 2016 15:39:27 +0000
Subject: [PATCH] Fix formatting, highlighting in examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1736594 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/core.html.en | 8 ++++----
docs/manual/mod/core.xml | 8 ++++----
docs/manual/mod/mod_headers.html.en | 7 +++----
docs/manual/mod/mod_headers.xml | 8 ++++----
4 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en
index 9bb153461d..c2aec5ae2e 100644
--- a/docs/manual/mod/core.html.en
+++ b/docs/manual/mod/core.html.en
@@ -1314,12 +1314,12 @@ in case of an error
whether the parameter is an URL, a path or a message is performed
before any expression is parsed. Examples:
- ErrorDocument 500 http://foo.example.com/cgi-bin/tester
-ErrorDocument 404 /cgi-bin/bad_urls.pl
+ ErrorDocument 500 http://example.com/cgi-bin/server-error.cgi
+ErrorDocument 404 /errors/bad_urls.php
ErrorDocument 401 /subscription_info.html
-ErrorDocument 403 "Sorry can't allow you access today"
+ErrorDocument 403 "Sorry, can't allow you access today"
ErrorDocument 403 Forbidden!
-ErrorDocument 403 /cgi-bin/forbidden.pl?referrer=%{escape:%{HTTP_REFERER}}
+ErrorDocument 403 /errors/forbidden.py?referrer=%{escape:%{HTTP_REFERER}}
Additionally, the special value default
can be used
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 51daffec0b..cb04f722c3 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -1260,12 +1260,12 @@ in case of an error
before any expression is parsed. Examples:
-ErrorDocument 500 http://foo.example.com/cgi-bin/tester
-ErrorDocument 404 /cgi-bin/bad_urls.pl
+ErrorDocument 500 http://example.com/cgi-bin/server-error.cgi
+ErrorDocument 404 /errors/bad_urls.php
ErrorDocument 401 /subscription_info.html
-ErrorDocument 403 "Sorry can't allow you access today"
+ErrorDocument 403 "Sorry, can't allow you access today"
ErrorDocument 403 Forbidden!
-ErrorDocument 403 /cgi-bin/forbidden.pl?referrer=%{escape:%{HTTP_REFERER}}
+ErrorDocument 403 /errors/forbidden.py?referrer=%{escape:%{HTTP_REFERER}}
Additionally, the special value default
can be used
diff --git a/docs/manual/mod/mod_headers.html.en b/docs/manual/mod/mod_headers.html.en
index 704bb38d21..d98752e15b 100644
--- a/docs/manual/mod/mod_headers.html.en
+++ b/docs/manual/mod/mod_headers.html.en
@@ -426,10 +426,9 @@ available in 2.4.10 and later
The directive is applied if and only if expression
evaluates to true. Details of expression syntax and evaluation are
documented in the ap_expr documentation.
-
- # This delays the evaluation of the condition clause compared to <If>
- Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#"
-
+ # This delays the evaluation of the condition clause compared to <If>
+Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#"
+
diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml
index 6d2e951e05..99b38518d7 100644
--- a/docs/manual/mod/mod_headers.xml
+++ b/docs/manual/mod/mod_headers.xml
@@ -541,10 +541,10 @@ available in 2.4.10 and later
The directive is applied if and only if expression
evaluates to true. Details of expression syntax and evaluation are
documented in the ap_expr documentation.
-
- # This delays the evaluation of the condition clause compared to <If>
- Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#"
-
+
+# This delays the evaluation of the condition clause compared to <If>
+Header always set CustomHeader my-value "expr=%{REQUEST_URI} =~ m#^/special_path.php$#"
+
--
2.40.0