You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
Topic: the HTTPS redirect on catalyst
Both -prod and -stage use the following code in /etc/httpd/conf.d/01_catalyst.conf:
# BEGIN http redirect
# We run Catalyst/Blacklight in the main virtual host, and we require
# https access. So this :80 virtual host insists on redirects to https.
#
# This could also be put in <Location> directives if it wasn't the whole
# server that was so restricted.
#
# Except Refworks sometimes refuses to make callbacks to https, so we
# have to allow refworks-formatted exports in http.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !refworks_marc_txt$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
# END http redirect
The proposed change/simplification is:
# BEGIN http redirect
Redirect "/" "https://{{ hostname | default('myapp') }}.{{ domainname | default('test.test') }}"
# END http redirect
Is this ok? Will some rare condition not be fulfilled? Will something be lost?
The text was updated successfully, but these errors were encountered:
Topic: the HTTPS redirect on catalyst
Both -prod and -stage use the following code in /etc/httpd/conf.d/01_catalyst.conf:
The proposed change/simplification is:
Is this ok? Will some rare condition not be fulfilled? Will something be lost?
The text was updated successfully, but these errors were encountered: