Forum Discussion
david_quint_204
Nimbostratus
Sep 25, 2008Simple HTTP redirects not working
Guys, I am having some issues with migrating an old iRule from v4.x to v9.45. We have an External IP address 65.170.177.8 (NAT'ed to an internal address ie:VIP) that has DNS entries for multiple URL'...
Nicolas_Menant
Employee
Sep 25, 2008Hi,
maybe you should try TCP::local_port instead of TCP::server_port.
On the first request you don't know at this point which server will be elected and therefore don't know already the port. With this TCP::local_port you'll check on which port the client established its connection on the bigip
If it doesn't work, can you add some logging to your iRule like
log local0. " uri is [HTTP::uri]"
and some log for each statement, then give us the output of /var/log/ltm it will help understand what is happening
thanks
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
