From 7d4c8097c4cd712f76f11e974bfef4b2a43169ab Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Mon, 8 Nov 2010 21:21:06 +0000 Subject: [PATCH] Rebuild SSL FAQ. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032724 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/ssl/ssl_faq.html.en | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/ssl/ssl_faq.html.en b/docs/manual/ssl/ssl_faq.html.en index c5557e28af..9a80da45c9 100644 --- a/docs/manual/ssl/ssl_faq.html.en +++ b/docs/manual/ssl/ssl_faq.html.en @@ -175,12 +175,12 @@ relative hyperlinks? manipulate relative hyperlinks, to achieve the same effect.

RewriteEngine on
- RewriteRule ^/(.*):SSL$ https://%{SERVER_NAME}/$1 [R,L]
- RewriteRule ^/(.*):NOSSL$ http://%{SERVER_NAME}/$1 [R,L] + RewriteRule ^/(.*)_SSL$ https://%{SERVER_NAME}/$1 [R,L]
+ RewriteRule ^/(.*)_NOSSL$ http://%{SERVER_NAME}/$1 [R,L]

This rewrite ruleset lets you use hyperlinks of the form - <a href="document.html:SSL">, to switch to HTTPS + <a href="document.html_SSL">, to switch to HTTPS in a relative link. (Replace SSL with NOSSL to switch to HTTP.)

top
-- 2.50.1