Forum Discussion
Mohanish_169493
Nimbostratus
Jun 25, 2015Irule not working
Hi,
I have written an Irule as below
when HTTP_REQUEST {
if{([HTTP::host] contains"eulyncweb01.csmglobal.net")and([HTTP::uri] contains"/RequestHandler/Files/UCPhone")
node 10.96.96.16 80 ...
TechT
Nimbostratus
Jun 25, 2015Hi Mohanish , try the below :
Codewhen HTTP_REQUEST { if { ([HTTP::host] contains "eulyncweb01.csmglobal.net") and ([HTTP::uri] contains "/RequestHandler/Files/UCPhone") } { node 10.96.96.16 } else { HTTP::redirect "https://[HTTP::host][HTTP::uri]" } }
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