Forum Discussion
cup_cup_103603
Nimbostratus
Apr 25, 2007Rewrite Redirects
Hi all, where can I find the option as in previous version that "Rewrite Redirects = All" ?
I use a rule to redirect HTTP to HTTPS :
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
But it'll redirect me to http and https several times, in the old version, I can set "Rewrite Redirects" to All in Proxy property to avoid this.
Thanks.
3 Replies
- Deb_Allen_18Historic F5 AccountIn v9, you can configure Rewrite Redirects functionality in the http profile(Local Traffic / Profiles / Services / HTTP): Create a new profile based on "http", check the "Custom" box next to "Redirect Rewrite" and select something other than "None" from the dropdown:
- Deb_Allen_18Historic F5 AccountOops, forgot to add you have to apply the newly-created profile to the HTTPS virtual server instead of the default "http" profile.
- cup_cup_103603
Nimbostratus
Great and succeeded, thanks.
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