Forum Discussion
Leo
Mar 01, 2012Nimbostratus
Changing the URL
Hello friends,
I would like to add "www" to url's without it. meaning, if someone goes to "http://example.com/page.html" the F5 will redirect it to "http://www.example.com/page.html".
I've ...
Leo
Mar 05, 2012Nimbostratus
The certificate is fine.
I using HttpFox to see the redirects - and I can see that the redirect is fine - but not on the correct protocol!
I'm using the following on the HTTPS VIP:
when HTTP_REQUEST {
if { !([HTTP::host] starts_with "www") } {
HTTP::respond 301 Location "https://www.[getfield [HTTP::host] ":" 1][HTTP::uri]"
}
}
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