Danielseyoum
May 14, 2007Altostratus
Redirecting from non standard port to https
I have a Virtual Server listening on port 55000 that I want to redirect to https:
Neither rules produced the intended result:
1.
rule redirect {
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
}
2.
rule redirect1 {
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
This what I see thru Http watcher:
StartTimeSizeMethodResultTypeURL
09:51:41.4370.030GET302Redirect to https://portal.sapinternal.net/http://portal.sapinternal.net:55000/
09:51:41.4672.0530GET302Redirect to https://portal.sapinternal.net:55000/index.htmlhttps://portal.sapinternal.net/
09:51:43.5200.040GET(Error 0x2f7d)*https://portal.sapinternal.net:55000/index.html
BTW: I am experiencing this issue using IE 6, but not with FireFox 2.0. Unfortunately the company standard is IE 6.