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><a href="document.html:SSL"></code>, to switch to HTTPS
+ <code><a href="document.html_SSL"></code>, to switch to HTTPS
in a relative link. (Replace SSL with NOSSL to switch to HTTP.)</p>
</section>
</section>