Forum Discussion
Wes_Emerson_868
Nimbostratus
Mar 11, 2009Application SSL Offloading Issues
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"
}
}
3 Replies
- The_Bhattman
Nimbostratus
Perhaps you can use the stream profile
Click here to see some information about using stream
Hope this helps
CB - Wes_Emerson_868
Nimbostratus
I've played with the Streams examples that were referenced in the attached site, and it's some good stuff.
However I still haven't found a way to rewrite the links that are embedded in the application. Would a mod_rewrite entry in the httpd.conf be a better solution then trying to rewrite the links on the fly with either a stream profile and an associated stream profile. - Deb_Allen_18Historic F5 AccountIt is possible to do it with the stream profile, but it's more efficient if the webserver does it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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