Forum Discussion
Dec 26, 2013
BIG-IP : redirect loop : debugging techniques
BIG-IP 11.4.0 Build 2384.0 Final
In my hosts file I point www.mydomain.com to my web-server IP, and in my client-browser I submit the request
http://www.mydomain.com/natural-language-url-1 ...
Kevin_Stewart
Employee
Dec 26, 2013I completely agree with John here. There's absolutely nothing in your iRule that could be generating a redirect. I'd be willing to bet that if you did a tcpdump between the F5 and the web server, you'd see this 302 message coming from the server itself. I know you're generalizing the code for forum view, but is there anything different between accessing directly and through the VIP, other than the host name? If not, try adding this to your code:
HTTP::header replace Host "my-real-server-hostname" where "my-real-server-hostname" is the name you use when you're accessing the web server directly.
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