Forum Discussion
antonio503
Feb 22, 2024Nimbostratus
I was having a similar issue. In my case we were doing external PCI scans and it was showing the internal IP of the pool servers. I ended up creating an iRule with the following to address this issue for us. After applying this iRule it now replaced the location information with the public name and not the internal IP addresses of the servers.
when HTTP_RESPONSE {
if { ( [HTTP::header Location] contains "x.x.x.x" ) || ( [HTTP::header Location] contains "y.y.y.y" ) }{
HTTP::header Location {https://www.mysite.org}
}
}