Forum Discussion
youssef1
Jul 04, 2018Cumulonimbus
Hi Nobu,
Below the syntax that you have to use:
HTTP::respond 302 Location "http://test.co.jp/index.html" header_ssl [SSL::cipher version]
Therefore you will see the header only in the response and not in the request when you will be redirect to ";. it's normal behavior.
I advise you to follow the below procedure in order to reach you need:
Use your irule to redirect user but if you want to retrieve headerSSL info you have to insert it on the uri as parameter:
HTTP::respond 302 Location "http://test.co.jp/index.html?header_ssl=[SSL::cipher version]"
On the other VS use this irule to retieve information needed:
when HTTP_REQUEST {
set uri [HTTP::uri]
if {$uri starts_with "/index.html" && $uri contains "header_ssl"} {
set header_ssl [URI::query [HTTP::uri] header_ssl]
HTTP::uri /index.html
return
}
}
So keep me in touch it it respond to your need and if you need more details.
Regards