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"
}
}
}