Forum Discussion
annielee_13548
Nimbostratus
Oct 23, 2014Redirect / rewrite
Hello Experts,
I'm trying to redirect/rewrite the below, but getting nowhere :
Original : http://abc.com/xxx/yyy should be converted to
New : https://10.1.1.1/xxx/yyy
Tried with the c...
Hannes_Rapp
Nimbostratus
Oct 24, 2014It's not supposed to work, unless client has a route to 10.1.1.1. Client must either be in the local network, or have some sort of VPN connectivity to 10.1.1.1 from a 3rd party site.
iRule is correct and it does work on any virtual server with HTTP profile attached. I'm sure you also use it in the correct event (when HTTP_REQUEST). My only suggestion is to use the "event disable" and "TCP::close" commands after the redirect statement (required for the redirect functionality to work the same in case user opens multiple tabs).
- annielee_13548Oct 27, 2014
Nimbostratus
thanks for your reply, but actually we just need the url to be rewrite from http://abc.com/xxx/yyy to https://10.1.1.1/xxx/yyy. But what the irules does is convert it to https://10.1.1.1http://abc.com/xxx/yyy, appending the original url..
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