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 ir...
L4L7_53191
Nimbostratus
Sep 24, 2009Try something like:
when HTTP_REQUEST {
if { [HTTP::uri] equals '/virtual' } {
HTTP::redirect "https://[HTTP::host]/virtual"
}
}
HTH,
Matt
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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