Forum Discussion
Added HTTP header information at redirect
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
