Forum Discussion
Rustic_57941
Nimbostratus
12 years agoInserting "www" or redirecting to "www"
Hi,
My client has changed their back end servers from Coldfusion to Liferay.
The Tomcat within the new Liferay only accepts "http://www.example.com" so when users try "http://example.com" it fai...
Rustic_57941
Nimbostratus
12 years agoWas wondering if this would retain the URI: when HTTP_REQUEST { set host [HTTP::host] if { [HTTP::host] equals "example.com" } { HTTP::respond 301 Location "http://www.$host[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