Forum Discussion
rkrenzis
Nimbostratus
Apr 18, 2014HTTPS: Remove www. from hostname
This code appears to work for our HTTP (plain-text sites): when HTTP_REQUEST {
Check if the host starts with www.
if {([string tolower [HTTP::host]] starts_with "www.")} {
...
nitass_89166
Noctilucent
Apr 18, 2014It does not work when applied to a HTTPS enabled VIP. Is there something else I need to do to when using HTTPS?
what does the not-working mean? is connection reset?
by the way, you know HTTP::header does not change display url in browser, don't you?
rkrenzis
Nimbostratus
Apr 18, 20141) www. is not explicitly removed from the display URL in the browser when the session is HTTPS.
2) HTTP::header replace Host is functional with HTTP, not HTTPS.
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