Forum Discussion
Vincent_Power_9
Nimbostratus
Jun 07, 2005Rewriting a header inside RESPONSE_DATA
I have an application that uses its local server name when it builds a redirect URL during the authentication phase.
Example it sends back now
location: http://server1.atl.bluecr...
JRahm
Admin
Jun 08, 2005I don't have a box to test this on, but here's a start for you.
when HTTP_RESPONSE {
set newhost "www.atl.bluecross.ca"
if { [HTTP::header host] eq "server1.atl.bluecross.ca" } {
HTTP::header replace host $newhost
}
}
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