From: Christophe Jaillet Date: Mon, 2 Jan 2017 21:16:15 +0000 (+0000) Subject: xforms X-Git-Tag: 2.4.26~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a453c7d75c8a646a7cd191e7805d4dc42eff190c;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1777022 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en index 6f3d03e7fd5..0624d52de77 100644 --- a/docs/manual/rewrite/remapping.html.en +++ b/docs/manual/rewrite/remapping.html.en @@ -191,7 +191,7 @@ Redirect "/docs/" "http://new.example.com/docs/"
RewriteEngine  on
 RewriteBase    "/~quux/"
-RewriteRule    "^foo\.html$"  "foo.cgi"   [H=cgi-script]
+RewriteRule "^foo\.html$" "foo.cgi" [H=cgi-script] @@ -294,7 +294,7 @@ hostname(s).

directive:

<If "%{HTTP_HOST} != 'www.example.com'">
-	Redirect "/" "http://www.example.com/"
+    Redirect "/" "http://www.example.com/"
 </If>
@@ -302,7 +302,7 @@ directive:

might do the following:

<If "%{SERVER_PROTOCOL} != 'HTTPS'">
-	Redirect "/admin/" "https://www.example.com/admin/"
+    Redirect "/admin/" "https://www.example.com/admin/"
 </If>
@@ -314,7 +314,7 @@ you might use one of the recipes below.

RewriteCond "%{HTTP_HOST}"   "!^www\.example\.com" [NC]
 RewriteCond "%{HTTP_HOST}"   "!^$"
 RewriteCond "%{SERVER_PORT}" "!^80$"
-RewriteRule "^/?(.*)         "http://www.example.com:%{SERVER_PORT}/$1" [L,R,NE]
+RewriteRule "^/?(.*)" "http://www.example.com:%{SERVER_PORT}/$1" [L,R,NE]

And for a site running on port 80

@@ -625,7 +625,7 @@ of the URL.

Many of the solutions in this section will all use the same condition, which leaves the matched value in the %2 backreference. %1 is the beginining of the query string (up to the key of intererest), and %3 is the remainder. This -condition is a bit complex for flexibility and to avoid double '&&' in the +condition is a bit complex for flexibility and to avoid double '&&' in the substitutions.