]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Don't use characters in URLs that already have client-side meanings.
authorRich Bowen <rbowen@apache.org>
Mon, 8 Nov 2010 21:23:55 +0000 (21:23 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 8 Nov 2010 21:23:55 +0000 (21:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1032727 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/ssl/ssl_faq.html.en
docs/manual/ssl/ssl_faq.xml

index a7b90f5b4b68c4d47cdd67ee7757adfea40da335..93a332cf96fe8120e0025c20f241b341f537d839 100644 (file)
@@ -236,12 +236,12 @@ relative hyperlinks?</a></li>
     manipulate relative hyperlinks, to achieve the same effect.</p>
     <div class="example"><p><code>
     RewriteEngine on<br />
-    RewriteRule   ^/(.*):SSL$   https://%{SERVER_NAME}/$1 [R,L]<br />
-    RewriteRule   ^/(.*):NOSSL$ http://%{SERVER_NAME}/$1  [R,L]
+    RewriteRule   ^/(.*)_SSL$   https://%{SERVER_NAME}/$1 [R,L]<br />
+    RewriteRule   ^/(.*)_NOSSL$ http://%{SERVER_NAME}/$1  [R,L]
     </code></p></div>
 
     <p>This rewrite ruleset lets you use hyperlinks of the form
-    <code>&lt;a href="document.html:SSL"&gt;</code>, to switch to HTTPS
+    <code>&lt;a href="document.html_SSL"&gt;</code>, to switch to HTTPS
     in a relative link. (Replace SSL with NOSSL to switch to HTTP.)</p>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
index ec1a44a44679844df0523c65f364f5987ed3aa8e..06834b834c685925f6aafbfbbf3837438f9801da 100644 (file)
@@ -242,12 +242,12 @@ relative hyperlinks?</a></li>
     manipulate relative hyperlinks, to achieve the same effect.</p>
     <example>
     RewriteEngine on<br />
-    RewriteRule   ^/(.*):SSL$   https://%{SERVER_NAME}/$1 [R,L]<br />
-    RewriteRule   ^/(.*):NOSSL$ http://%{SERVER_NAME}/$1  [R,L]
+    RewriteRule   ^/(.*)_SSL$   https://%{SERVER_NAME}/$1 [R,L]<br />
+    RewriteRule   ^/(.*)_NOSSL$ http://%{SERVER_NAME}/$1  [R,L]
     </example>
 
     <p>This rewrite ruleset lets you use hyperlinks of the form
-    <code>&lt;a href="document.html:SSL"&gt;</code>, to switch to HTTPS
+    <code>&lt;a href="document.html_SSL"&gt;</code>, to switch to HTTPS
     in a relative link. (Replace SSL with NOSSL to switch to HTTP.)</p>
 </section>
 </section>