Forum Discussion
joec_41569
Nimbostratus
Jan 31, 2008redirect https to a specific url
How can I redirct traffic going to https to a specific URL.
For example if a user types in https://site.com, I would like it to redirect to https://site.com/logon
Thanks
Joe
- hoolio
Cirrostratus
Hi Joe,when HTTP_REQUEST { Check if path is / if {[HTTP::path] eq "/"}{ Send 302 redirect to the new location HTTP::redirect https://[HTTP::host]/logon } }
if (http_uri == "/") { redirect to "https://" + http_host + "/logon" }
- Luis_Carlos_101
Nimbostratus
How can I redirect traffic going to https to a specific URL to https, however, with different ip - How can I redirect traffic going to https to a specific URL to https, however, with different ip
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