anchor.diff:  <% end -%>
   
   <%# Set default URI values used for redirecting -%>
  -<% _scheme = @ssl ? "https" : "http"            -%>
   <% _host   = @servername || "%{SERVER_NAME}"    -%>
   <% _port   = @port || (@ssl ? "443" : "80")     -%>
   
   <% if @ssl -%>
   # Redirect all http traffic to the https Open OnDemand portal URI
   #     http://*:<%= _port %>
  -#     #=> <%= _scheme %>://<%= _host %>:<%= _port %>
  +#     #=> <%= @ssl ? "https" : "http" %>://<%= _host %>:<%= _port %>
   #
   <VirtualHost *:80>
     RewriteEngine On
  -  RewriteRule ^(.*) <%= _scheme %>://<%= _host %>:<%= _port %>$1 [R=301,L]
  +  RewriteRule ^(.*) <%= @ssl ? "https" : "http" %>://<%= _host %>:<%= _port %>$1 [R=301,L]
   </VirtualHost>
   <% end -%>
   
  
positive.code:   # Register and/or unregister the mapping of an authenticated-user to a system-user
    # NB: This is not needed for regular expression mapping
    #
    #     <%= _scheme %>://<%= _host %>:<%= _port %><%= @register_uri %>
    #     #=> <%= @register_root %>/
    #
    Alias "<%= @register_uri %>" "<%= @register_root %>"
  
negative.code:   <%- if @oidc_uri -%>
    # OpenID Connect redirect URI:
    #
    #     <%= @ssl ? "https" : "http" %>://<%= _host %>:<%= _port %><%= @oidc_uri %>
    #     #=> handled by mod_auth_openidc
    #
    <Location "<%= @oidc_uri %>">
  