Forum Discussion
Malcolm_Salmons
Nimbostratus
Oct 12, 2005HTTP to HTTPS redirect
Hi
I've currently got a Virtual Server running https, e.g.
https://test.abc.com
This is all working correctly and load balancing happily. However I want to enable redirec...
jondyke_46152
Nimbostratus
Oct 16, 2008I already use a similar rule but was wandering how I would do this if I only wanted to redirect to HTTPS with specific URL paths? Would it be worth using a datagroup for this?
What I have put together is:-
When HTTP_REQUEST{
if {[matchclass [HTTP::URI] equals $::restrictedURI}
{HTTP::REDIRECT"http://[HTTP:HOST][HTTP:URI]"}}
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