Forum Discussion
Gustavo_Lazarte
Nimbostratus
Jul 21, 2008Modifying Header Location
We are having problems passing a security audit because IIS 5 shows the name of the servers when it does a redirection on the location part of the header. The problems is when we hit a redirect (302 O...
Nicolas_Menant
Employee
Jul 22, 2008You should even be able to make it like this:
when HTTP_RESPONSE {
if { ([HTTP::status] contains "302") and ([string tolower [HTTP::header Location]] contains "server")} {
HTTP::header replace Location [string map -nocase {"server01" "www.site.com" "server02" "www.site.com" "server03" "www.site.com" } [HTTP::header Location]]
}
}
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