Forum Discussion
vineyard_166933
Nimbostratus
Sep 23, 2014Redirect rewrite Profile
Hi.
Have an issue with published webserver.
Client --> BigIP (443)
BigIP --> Webserver (80)
We use the default http redirect rewrite profile
We have a dashboard with reports and some Java scri...
Kevin_Stewart
Employee
Sep 23, 2014The redirect rewrite profile only affects 30x redirect responses, not any payload content. One of the most effective ways to rewrite payload content is with a STREAM iRule. Apply an empty STREAM profile to your VIP and an iRule like this:
when HTTP_REQUEST {
HTTP::header remove Accept-Encoding
STREAM::disable
}
when HTTP_RESPONSE {
if { [HTTP::header Content-Type] contains "text" } {
STREAM::expression {@http://@https://@}
STREAM::enable
}
}
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