Forum Discussion
Ashley_Penney_5
Sep 26, 2008Nimbostratus
I spoke to someone else who suggested this:
when HTTP_REQUEST {
set host [HTTP::host]
set uri [HTTP::uri]
}
when HTTP_RESPONSE {
if [ [ HTTP::status ] == "401" ] {
HTTP::redirect "https://$host/$uri"
}
}
Sadly this broke the entire site when I tried putting it in place, but may be a step in the right direction.