Forum Discussion
Kanghis_23583
Nimbostratus
Feb 10, 2009http to https redirect
This is a fairly common task: a shopping cart application requires us to secure the transaction. Without the big-ip in place, the flow redirects any request to http:/this.domain.com/this/directory t...
Kanghis_23583
Nimbostratus
Feb 10, 2009Thanks for you input. I should have added some additional information about the trigger that launches the https://credit_card_athorization_page.
I'm passing query parameters when VS1 is redirected to VS2. I looked at the irule documentation and it appears that I should be using HTTP::query although there [getfield [HTTP::uri] ? 2] is the preferred method for retrieving the string following the "?"
Having read that I modified the rule to look like:
when HTTP_REQUEST {
log local0. "redirecting to https"
if { [HTTP::uri] contains "/this/directory/"}
{ HTTP::redirect https://"this.domain/"[getfield [HTTP::uri] ? 2]}
}
I'm not even sure this is correct but I'm still unable to generate a different behavior.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects