mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 06:38:02 -05:00
Do not redirect ipa/crl to HTTPS
https://fedorahosted.org/freeipa/ticket/3713
This commit is contained in:
1 parent
caf40e76cd
commit
6118b73fab
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
# VERSION 4 - DO NOT REMOVE THIS LINE
|
||||
# VERSION 5 - DO NOT REMOVE THIS LINE
|
||||
|
||||
RewriteEngine on
|
||||
|
||||
@@ -14,7 +14,7 @@ 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)
|
||||
RewriteCond %{REQUEST_URI} !^/ipa/(errors|config|crl)
|
||||
RewriteRule ^/ipa/(.*) https://$FQDN/ipa/$$1 [L,R=301,NC]
|
||||
|
||||
# Rewrite for plugin index, make it like it's a static file
|
||||
|
||||
Reference in new issue
Block a user