Forum Discussion
DaveC_21078
Altostratus
Feb 07, 2011Change path
I have a URL where I need to alter the path, to eliminate the SSL in or w/o caring what comes afterSSL/. I thought it would fairly simple, but I can't get it to work. Thanks.
DaveC_21078
Altostratus
Feb 07, 2011Thanks for the replies. I actually got this to work.. I'll try yours too Hoolio.
when HTTP_REQUEST {
if {[string tolower [HTTP::path]] starts_with "/ssl"}{
HTTP::redirect "https://site1.com[string map -nocase {/ssl/ /} [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