Half of the problem is that I don’t really know what to ask for, so let me explain my issue (grab your favorite beverage).
I am trying to SSL offload an application called Moodle, and I can get the login page to work beautifully, the problem is that the application has a ton of links that still redirect back to port 80 using the original server name.
I tried to write an Irule that would change the name of the server and port, but I am new to irules and it didn’t go over too well. Can somebody with a bit more knowledge point me in the right direction, it would be greatly appreciated.
when HTTP_REQUEST {
if { ! [HTTP::uri] starts_with “http://unsecure_host_name” } {
HTTP::uri “https://secure_host_name”
}
}