Forum Discussion
Jamie_Cravens
Nimbostratus
Mar 22, 2010Redirect w/ "$" in the URL
I get the following error w/ irule:
TCL error: RULE_192.168.150.89 HTTP_REQUEST - cant read Logon: no such variable while executing HTTP::redirect https://nc5.pdhi.com/portalPage.aspx?_CX=3e15310d-0249-415e-882a-5ea48fd0b1bf$Logon$0
The iRule is
when HTTP_REQUEST {
if {[HTTP::host] contains "harringtonhealth.com"}
{pool harringtonhealth.com_8080
return
}
if {[HTTP::uri] contains "/print"}
{pool umr.com_print_7070
return
}
if {[HTTP::uri] contains "/websurvey"}
{pool umr.com_print_7070
return
}
if {[HTTP::uri] contains "member3"}
{HTTP::redirect "https://nc5.pdhi.com/portalPage.aspx?_CX=3e15310d-0249-415e-882a-5ea48fd0b1bf$Logon$0"
}
else {pool umr.com_8080}
}
How do I get the iRule to not treat $Logon$ as a variable?
- hoolio
Cirrostratus
Hi Jamie,
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