LaurentG_53647
May 05, 2015Nimbostratus
401 redirection
Dear all
I would like to make a 401 redirection: I tried this irule but my website is directly redirected to google.com:
when HTTP_RESPONSE { if {[HTTP::status] == 401]}{ HTTP::redirect "https://google.com" } }
indeed when I connect to the website I am directly getting a popup to enter user + password (design of the website) but in the header a code 401 is directly sent when I access the page causing the direct redirection
Any ideas how I can address this issue ? thanks for your help
Thanks