Forum Discussion
Shannon_Ryan_83
Nimbostratus
Dec 10, 2005Simple url redirection not working (ssl)
Trying to redirect a request to the root of a webserver to a folder. Example, user types https://www.aaa.com and i want to redirect to https://www.aaa.com/bbb.
when HTTP_REQUEST {
if...
Shannon_Ryan_83
Nimbostratus
Dec 10, 2005problem solved... does anyone see any problems with this:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.aaa.com" } {
if { [HTTP::uri] equals "" or [HTTP::uri] equals "/" } {
HTTP::uri "/bbb" }
}}
Thanks.
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
