mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
a4d2bcde33
We need a Requires on openssl, the mod_rewrite syntax has changed so we can dump some unused configuration and we need a newer version of mod_auth_kerb to pick up the new location of delegated ccache. https://fedorahosted.org/freeipa/ticket/2839
19 lines
729 B
Plaintext
19 lines
729 B
Plaintext
# VERSION 3 - DO NOT REMOVE THIS LINE
|
|
|
|
RewriteEngine on
|
|
|
|
# By default forward all requests to /ipa. If you don't want IPA
|
|
# to be the default on your web server comment this line out.
|
|
${AUTOREDIR}RewriteRule ^/$$ https://$FQDN/ipa/ui [L,NC,R=301]
|
|
|
|
# Redirect to the fully-qualified hostname. Not redirecting to secure
|
|
# port so configuration files can be retrieved without requiring SSL.
|
|
RewriteCond %{HTTP_HOST} !^$FQDN$$ [NC]
|
|
RewriteRule ^/ipa/(.*) http://$FQDN/ipa/$$1 [L,R=301]
|
|
|
|
# Redirect to the secure port if not displaying an error or retrieving
|
|
# configuration.
|
|
RewriteCond %{SERVER_PORT} !^443$$
|
|
RewriteCond %{REQUEST_URI} !^/ipa/(errors|config)
|
|
RewriteRule ^/ipa/(.*) https://$FQDN/ipa/$$1 [L,R=301,NC]
|