ipa: try and fix the popup auth window that comes up on windows
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
bfc5675848
commit
66c94678e1
1 changed files with 6 additions and 0 deletions
|
@ -20,3 +20,9 @@ RewriteEngine on
|
|||
|
||||
# Rewrite for plugin index, make it like it's a static file
|
||||
RewriteRule ^/ipa/ui/js/freeipa/plugins.js$ /ipa/wsgi/plugins.py [PT]
|
||||
|
||||
# The following disables the annoying kerberos popup for browsers on windows
|
||||
RewriteCond %{HTTP_COOKIE} !ipa_session
|
||||
RewriteCond %{HTTP_REFERER} ^(.+)/ipa/ui/$
|
||||
RewriteRule ^/ipa/session/json$ - [R=401,L]
|
||||
RedirectMatch 401 ^/ipa/session/login_kerberos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue