Forum Discussion
Saleem_80966
Nimbostratus
Sep 24, 2009iRule to redirect Http to https to a specific URI
I have a website that has a virtual directory that i need to run ssl. www.example.com\virtual
Currently i have the entire web site redirect to HTTPS.
I am look to create a new irule to redirect only www.example.com\virtual to https.
1 Reply
- L4L7_53191
Nimbostratus
Try something like:when HTTP_REQUEST { if { [HTTP::uri] equals '/virtual' } { HTTP::redirect "https://[HTTP::host]/virtual" } }
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