]> granicus.if.org Git - apache/commitdiff
Fixes PR47236 - Using : or @ in a URL already means something else, and
authorRich Bowen <rbowen@apache.org>
Mon, 8 Nov 2010 21:19:57 +0000 (21:19 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 8 Nov 2010 21:19:57 +0000 (21:19 +0000)
so shouldn't be inserted into a URL for other special meaning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032722 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/ssl/ssl_faq.xml

index 8a62c49d9b06d506a49e248f2c6537a5e091aec5..a94da977fb0b3e4fd23fe06a2488288360f4157b 100644 (file)
@@ -174,12 +174,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>