Forum Discussion
jacob900_39797
Nimbostratus
Apr 25, 2007dual redirect problem..
I am having problems getting this rule to work when the websphere plug-in is doing a redirect on top of my redirect. Here is the situtation.
1) User types in http://www.mysite.com/* (anything), m...
jacob900_39797
Nimbostratus
Apr 26, 2007Yes you are understanding it perfect. Your feedback was right on. Oddly enough, two lightbulbs went on last night that correlate with your advice.
1) I added the proxy_rewrite http profile to the redirect vip to handle the first redirect problem.
2) I added an additional switch statement to make the second url redirect legal as well.
Here is the rule and it appears to be working. (I think)
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/idm/user/main.jsp" {
pool IDM_IIS_YGC_80
}
"/idm/user/login.jsp*" {
pool IDM_IIS_YGC_80
}
default {
HTTP::redirect https://[HTTP::host]/idm/user/main.jsp }
}
}
Thank you for all your help.
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
