Forum Discussion
Katherine_G_106
Nimbostratus
Oct 29, 2009examining the "http://" portion of a url
Hi!
I need help to learn how to examine the "http://" or "https://" part of a url in an http_request. I know it's not [HTTP::host] or [HTTP::uri]. Surely there must be a method for doing this? ...
Katherine_G_106
Nimbostratus
Oct 29, 2009Sure. I have a number of virtual servers that run on non-standard ports.
For example, http://myserver.com:81. I have configured an SSL profile that allows non-encrypted connections so a user can connect using either http://myserver.com:81 OR https://myserver.com:81.
Now I need to enforce a redirect from HTTP to HTTPS. The only thing that is different about the url is the presence or absense of the "S".
Maybe there is another way to do this... is there another way to test for encrypted vs non-encrypted?
thanks!
Katherine
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