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), my rule redirects them to https://www.mysite.com/main.jsp hopefully.
2) The moment the websphere plug-in gets this url it temporarily redirects it again to http://www.mysite.com/idm/user/login.jsp?extPage=user%2Fmain.jsp.
when I look at it with http analyzyer it looks like a constant loop happens either because of the http to https redirect rule or due to the immediate redirect on their end. I am not sure.
I use one vip that is ip_address/80 for the redirect and I use the rule below for the actual ip_address/443 vip. It is 443 coming in from the clients and port 80 back to the servers on the backend.
-------------------------------------------------
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/idm/user/main.jsp" {
pool IDM_IIS_YGC_80
}
default {
HTTP::redirect https://[HTTP::host]/idm/user/main.jsp }
}
}
-------------------------------------------------
Two questions
1) Should I ask to them to have their redirect page be https?
2)How can I make my rule work with this second redirect? BTW, their redirect listed above is so that the user can be authenticatd by a third-party and then sent back ot www.mysite.com/main.jsp.
Any advice would be highly appreciated.
Thank you,
- Deb_Allen_18Historic F5 AccountHi Jacob --
- jacob900_39797
Nimbostratus
Yes you are understanding it perfect. Your feedback was right on. Oddly enough, two lightbulbs went on last night that correlate with your advice.
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