Forum Discussion
jato_40959
Nimbostratus
May 10, 2010Irule redirects
Hello all,
Can I do this in only one irule?
Uri to Uri, and Uri to Url
Thanx and regards
Prefix: /Institucional/comercial/Acuerdos/entrada_acuerdo.asp
...
Marek_George
Nimbostratus
May 10, 2010Hi jato,
you can do it with redirect (by client) or replacing the http uri in the request event by bigip.
The example:
if { [HTTP::uri] starts_with "/Institucional/comercial/Acuerdos/entrada_acuerdo.asp" } {
HTTP::uri /onlineCetelem/FcControlador.srvl?COMANDO=ENTRADA_ACUERDO&URL_LOGICA=ACUERDOS&
} elseif { [HTTP::uri] starts_with "/Agencia_Online/Transaccional/Login_AgenciaOnline.asp" } {
HTTP::redirect " http://www.cetelem.es/Agencia_Onlin...Online.asp"
}
I hope this helps.
Cheers
Marek
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