diff options
Diffstat (limited to 'ipa-server/xmlrpc-server/ipa-rewrite.conf')
-rw-r--r-- | ipa-server/xmlrpc-server/ipa-rewrite.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-server/xmlrpc-server/ipa-rewrite.conf b/ipa-server/xmlrpc-server/ipa-rewrite.conf index 977be739..af3a3afe 100644 --- a/ipa-server/xmlrpc-server/ipa-rewrite.conf +++ b/ipa-server/xmlrpc-server/ipa-rewrite.conf @@ -1,5 +1,10 @@ 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. You will +# need to modify ipa_webgui.cfg as well. +RewriteRule ^/$$ https://$FQDN/ipa [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] |