Forum Discussion
Glenn_Ruffus_10
Nimbostratus
Dec 18, 2007Force "www." redirect if missing from HTTPS requests
I am looking for help in writing an iRule that will be used on an HTTPS virtual server. I would like the LTM to examine the HTTP request and if the URL does not include "www." then redirect the brows...
Glenn_Ruffus_10
Nimbostratus
Dec 19, 2007Thanks, Colin. I have not had the time (obviously) to learn about the iRules so I have no skill. Sorry if this question is a stupid one.
It looks to me like the iRule that you are suggesting reads along the lines of: when there is an HTTP request, look at it and if you *do* find www. then redirect back to www.[URL][URI]. I'm sorry if I'm wrong about this. Our certs use the www. and I am looking for an iRule that will leave things alone if the use comes in with the www. in the request but will redirect them to come back with the cert-matching www. if they don't have it in their request.
Would you please clarify?
Thanks much!
Glenn
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