Forum Discussion
wlepkin_98758
Dec 29, 2011Nimbostratus
F5 does not accept iRule
Hi, I'm new at iRules, and am having trouble with what seems to be a pretty basic rule, modeled after other rules I've seen both in our BigIP configuration and in DevCentral. The rule is:
r...
nitass
Dec 29, 2011Employee
can you try this?
[root@ve1023:Active] config b rule myapps.jeppesen.com-citrixtest '{
> when HTTP_REQUEST {
> if { [HTTP::header User-Agent] contains "CitrixReceiver" } then {
> HTTP::redirect "https://myapps/PNAgent/config.xml"
> } else {
> HTTP::redirect "https://myapps/Citrix/XenApp"
> }
> }
> }'
[root@ve1023:Active] config b rule myapps.jeppesen.com-citrixtest list
rule myapps.jeppesen.com-citrixtest {
when HTTP_REQUEST {
if { [HTTP::header User-Agent] contains "CitrixReceiver" } then {
HTTP::redirect "https://myapps/PNAgent/config.xml"
} else {
HTTP::redirect "https://myapps/Citrix/XenApp"
}
}
}
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