Forum Discussion
chungyu_16122
Jul 21, 2011Altostratus
Refine iRule with external class file
I have created an iRule where I pick which servers are used based off URI. IE. if www.mysite.ca/principal go to webnode and if www.mysite.ca/it go to drupal.
One thing I am having trouble w...
chungyu_16122
Jul 25, 2011Altostratus
I have tried the equals operator but still having problems , I think it is the way the external file is written. I just used a nano and created a list of files
/bi,
/africa,
etc
But I also tried /bi/ or /africa/. But very inconsistent results. sometimes the browser will return a error due to to many redirects and other times you need to add the / at the end or you get page not found.
I redirect between word press and drupal node on my cisco LB with absolutely no problems. It seems I am not able to match the right syntax in the external file.
with Cisco I have the rule as such:
Has anyone worked on a similar setup?
Thanks
owner WSG-McGill
content WSG-http--ehs-dir
vip address 132.216.177.140
protocol tcp
port 80
add service drupalnode1.wsg.http
add service drupalnode2.wsg.http
url "/ehs"
content WSG-http-ehs-con
vip address 132.216.177.140
protocol tcp
port 80
add service drupalnode1.wsg.http
add service drupalnode2.wsg.http
url "/ehs/*"
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