Forum Discussion
nrg2brn_163859
Nimbostratus
Mar 23, 2015redirects with * on the end....not working
basic redirect with a twist. I thought my little * symbol would mean ANYTHING after the =, no matter what, redirect to the new site...but it doesnt. im looking into maybe needing a single quote aroun...
Josh_B_152229
Nimbostratus
Mar 23, 2015Is globbing enabled? Are you checking specifically for the URI? Something like this should work:
switch -glob [string tolower [HTTP::uri]] {
"/erma/login.htm?action=search&token=*" {
HTTP::redirect "https://ecms.epa.gov/erma2/login.htm?action=search"
}
default {
do something else
}
}
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