John_131301
Jun 13, 2014Nimbostratus
Append FQDN to all request
I am trying to write an iRule to append the FQDN to https request. My concern isn't a user receiving cert warning etc. I can get it to work the following way:
http://server1 gets redirected to https://server1.mydomain.com
https://server1 does not get redirected to https://server1.mydomain.com it stays as https://server1
current iRule: when HTTP_REQUEST { HTTP::redirect https://mydomain.com[HTTP::uri] }
iRule is applied to the virtual server running on port 80 I use to forward requests to virtual server setup to run on port 443.
How can I get it to append fqdn to both http and https requests?