RedirectMatch 301 ^/$ /eg/opac/home
# ----------------------------------------------------------------------------------
+# Redirect staff to the correct URL if they forget to include the final /
+# ----------------------------------------------------------------------------------
+RedirectMatch 301 ^/eg/staff$ /eg/staff/
+
+# ----------------------------------------------------------------------------------
# Point / to the IP address redirector
# ----------------------------------------------------------------------------------
#<LocationMatch ^/$>
Options -MultiViews
PerlSetVar OILSWebStopAtIndex "true"
+ RewriteCond %{HTTPS} off
+ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [NE,R,L]
+
# sample staff-specific translation files
#PerlAddVar OILSWebLocale "en_ca"
#PerlAddVar OILSWebLocale "/openils/var/data/locale/staff/en-CA.po"
RedirectMatch 301 ^/$ /eg/opac/home
# ----------------------------------------------------------------------------------
+# Redirect staff to the correct URL if they forget to include the final /
+# ----------------------------------------------------------------------------------
+RedirectMatch 301 ^/eg/staff$ /eg/staff/
+
+# ----------------------------------------------------------------------------------
# Point / to the IP address redirector
# ----------------------------------------------------------------------------------
#<LocationMatch ^/$>
Options -MultiViews
PerlSetVar OILSWebStopAtIndex "true"
+ RewriteCond %{HTTPS} off
+ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [NE,R,L]
+
# sample staff-specific translation files
#PerlAddVar OILSWebLocale "en_ca"
#PerlAddVar OILSWebLocale "/openils/var/data/locale/staff/en-CA.po"