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?_...
hoolio
Cirrostratus
Mar 22, 2010Hi Jamie,
You should be able to escape the $'s with a backslash:
HTTP::redirect "https://nc5.pdhi.com/portalPage.aspx?_CX=3e15310d-0249-415e-882a-5ea48fd0b1bf\$Logon\$0"
Or for v10, you could try wrapping the redirect line in curly braces (this may lead to a parser error in older versions upon config reload):
HTTP::redirect {https://nc5.pdhi.com/portalPage.aspx?_CX=3e15310d-0249-415e-882a-5ea48fd0b1bf$Logon$0}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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