Forum Discussion
Jure_48098
Nimbostratus
Feb 15, 2008SSL login redirect
I have a site that I'm tryng to migrate to LTM, that is running HTTP and HTTPS. The login POST always goes to the SSL server. Server then does the auhorisation and returns a HTTP 302 redirect with the...
Nicolas_Menant
Employee
Feb 18, 2008Hi,
I'll consider the host is always the same and you know the URI that should be returned (i'll consider again it is a static value)
it should looks like something like this:
when HTTP_RESPONSE {
if { [HTTP::status] starts_with "3" } {
if { {[clientside {TCP::local_port}] == 443} } {
HTTP::header replace Location "https:///
}
}
}