Forum Discussion
CraigM_17826
May 13, 2010Altocumulus
Removing port from a redirect
Hi all,
One of our web developers has asked me if we could strip off a port number in a redirect they are doing. I thought the following would do this, but it doesn't appear to work.
...
CraigM_17826
May 14, 2010Altocumulus
Hi Aaaron,
ahh that worked in so far as it displays something now, but it is showing the Location unchanged, so either
1. it's still cached
2. The HTTP::header replace is not working.
Here is the entry from the ltm log
Updated Location value: http://www.acme.com:10040/secure/discussion-forum
As I mentioned earlier I have pretty much the same block of code that does work, but there is one other major difference between these two situations. In the case where it works the redirect is generated on host-a to host-b whereas in the one that isn't working it is redirecting to itself. Not sure if this should make a differene, but this along with the use of a port number are the only differences I can fathom at the moment.
On a positive side, it looks as if F5 engineering think they have finally tracked down the cause of our memory leak and can reproduce it in their labs. Yay!!!
Craig
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