Forum Discussion
Reinhold_Just_7
Nimbostratus
Jun 26, 2008break redirect rewrite
hi,
my VS is running in https to the client and http to the servers. i have assigned a http profile in which i make a "Redirect Rewrite All". now it happens that i need to tranfer a file (wsdl) from the servers via http and not https. does any body know how i can break the redirect rewrite so when the client downloads this file it goes via http ?
any ideas, Reinhold
- hoolio
Cirrostratus
Hello,when HTTP_RESPONSE { Check if response is a redirect and doesn't contain .wsdl if {[HTTP::is_redirect] and not ([string tolower [HTTP::header value Location]] contains ".wsdl")}{ Replace http:// with https:// in the Location header value HTTP::header replace Location [string map {http:// https://} [HTTP::header value Location]] } }
- Reinhold_Just_7
Nimbostratus
hi Aaron, - Reinhold_Just_7
Nimbostratus
Hi Aaron,
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