Forum Discussion
Ram_63318
Nimbostratus
Jun 10, 2008HTTP to HTTPS Redirection
1.) When customers goes directly to
http://vipnation.com/livenation/php/eventslist.php load balancer is not redirecting to https://vipnation.com/livenation/php/login.php
Redirect...
Andy_Herrman_22
Nimbostratus
Jun 12, 2008I'm guessing he wants to redirect all non-SSL traffic to the login page over SSL, AND all paths that aren't in /livenation/ to the login page (so, only requests to https://.../livenation/* would be allowed through).
when HTTP_REQUEST {
if { (! ([string tolower [HTTP::uri]] starts_with "/livenation/")) or ([TCP::local_port]==80) } {
HTTP::redirect "https://vipnation.com/livenation/php/login.php"
}
}
Is that what you're looking for?
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
