Forum Discussion
Faintly_Lucky
Nimbostratus
Apr 24, 2010Second set of eyes, please
Hello all:
I wrote this iRule with people who don't have many public addresses or have found the need to conserve them in mind. I just started a new job, so I don't have access to any F5s to c...
Faintly_Lucky
Nimbostratus
May 05, 2010Aaron or anyone else who can answer this:
I tried your solution above with another rule that I am re-engineering because it was absolutely horrendous ( a bunch of if/elsif, totalling 355 lines). The F5 is running 9.3.1 and I'm having a problem when I specify the classes/data-groups. First, I can't specify them in the iRule. I'm not sure if that's because the LB is 9.3.1 and not 10 or if I'm just getting my syntax wrong or doing it in the wrong place. The second problem I am having is when I attempt to input the uri/redirect pairs through the command line (about 50 pairs, so it makes sense to input them via command line). I use the b class command and input them like this:
b class someclass { \
"/uri http://redirect site"
"/someother/longer/uri http://some.other.redirect.site" \
}
When I do a b class list, I get:
b class someclass {
"/uri"
"/someother/longer/uri"
"http://redirectsite'
"http://some.other.redirect.site'
}
Am I doing something wrong with my syntax here? Your example shows that I should put quotes around them and I did. I'm thinking I might want to try doing a b load and starting over. If you see something wrong with my syntax here, please let me know.
Thanks,
Lucky
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
