dkinsler_23191
Aug 19, 2009Nimbostratus
Missing anchor # from redirect
Hi all,
I have an Irule that redirects to https. The problem I am having is the redirect removes any anchors from the URI variable. For instance, if my link is:
http://host1.test123.com/extra/help/4rem9prestuqem5b/help.htmSoftware/Other_Software/Installing_GIMP.htm
after the redirect, I wind up with:
http://host1.test123.com/extra/help/4rem9prestuqem5b/help.htm
Any help would be greatly appriceated. Here in my Irule. X would be my real IP adderss.
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] equals X.X.X.X] } {
HTTP::respond 301 Location "https://[getfield [HTTP::host] : 1][HTTP::uri]" }
}