Forum Discussion
stevelee_88077
Jul 20, 2011Nimbostratus
help with http to https rediect - XenDesktop
Big-IP LTM 1600 10.2.2 (763.3)
Hello
I've been through the setup guide for XenDesktop http://www.f5.com/pdf/deployment-guides/ltm-citrix-xendesktop-dg.pdf
This all went f...
hooleylist
Jul 21, 2011Cirrostratus
The first rule you're testing is used to redirect clients who make an HTTP request to an HTTPS virtual server. That rule should only be used on the HTTPS virtual server.
If you're trying to redirect port 80 traffic to port 443 via HTTPS, you can use the second rule.
If that's not working, can you try adding logging to both virtual servers:
Port 80 iRule
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]: Connection to [virtual name] [IP::local_addr]:[TCP::local_port]"
}
when HTTP_REQUEST {
log local0. "[IP::client_addr]:[TCP::client_port]: UA: [HTTP::header User-Agent], [HTTP::host][HTTP::uri]"
}
when HTTP_RESPONSE {
log local0. "[IP::client_addr]:[TCP::client_port]: status: [HTTP::status], Location? \"[HTTP::header Location]\""
}
Port 443 iRule
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]: Connection to [virtual name] [IP::local_addr]:[TCP::local_port]"
}
when CLIENTSSL_HANDSHAKE {
log local0. "[IP::client_addr]:[TCP::client_port]: SSL handshake complete"
}
when HTTP_REQUEST {
log local0. "[IP::client_addr]:[TCP::client_port]: UA: [HTTP::header User-Agent], [HTTP::host][HTTP::uri]"
}
when HTTP_RESPONSE {
log local0. "[IP::client_addr]:[TCP::client_port]: status: [HTTP::status], Location? \"[HTTP::header Location]\""
}
Aaron
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