This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / 关于IIS URL redirect, 讨教环境: IIS 5 + Websphere 6.1
Login page: https://abc.com/path/login.jsp
要求:redirect all request to the login page to another website running websphere portal: https://xyz.com/portalpath/entrypoint
问题:IIS 只支持static directory/file redirect, but not for JSP/Servlet.
I can only make it work if the coming request is "https://abc.com/path/" (without "login.jsp").
有谁遇到过类似问题吗?是怎么解决的?
-wydmly(wydmly);
2012-5-29
{417}
(#7551199@0)
-
Make the login.jsp as the default file for "https://abc.com/path/"
-jeffrey815(Smartiecat);
2012-5-29
(#7551245@0)
-
so quick, thank you, I have already done that, but that need the file to be staged at iis root folder, isn't it? if yes, that means the coming request has to be "https://abc.com" (wihtout addtional content path/file).
-wydmly(wydmly);
2012-5-29
(#7551284@0)
-
I thought you have a way to default at the directory level as well.
-jeffrey815(Smartiecat);
2012-5-29
(#7551377@0)
-
Interesting, I will find out whether i can redirect all coming request to the default login.jsp
-wydmly(wydmly);
2012-5-29
(#7551392@0)
-
javascript
-benlin(安静的松鼠);
2012-5-29
(#7551294@0)
-
I know what you mean, I have created a dummy jsp named "login.jsp" and put some js function inside the header section, staged it under "path" folder, that doesn't work, becuase the request is hitting the REAL login.jsp at the wesphere server first.
-wydmly(wydmly);
2012-5-29
(#7551381@0)
-
IIS 5, which is based on Windows 2000, is not supported by the vendor anymore, which means no service pack, no patch any more. You need to think about upgrade to an advanced platform before moving on.
-soimer(soimer=soim+er);
2012-5-29
(#7551541@0)
-
thanks, client is aware of that, but they have tight budget... otherwise, we can simply replace IIS with IHS which is born to work with WAS
-wydmly(wydmly);
2012-5-29
(#7551589@0)
-
Websphere plugin for IIS, or reverse proxy
-bentley(小兔);
2012-5-31
(#7559050@0)
-
give me a break buddy, without WAS plugin the current environment won't work
-wydmly(wydmly);
2012-6-1
(#7559727@0)
-
it is the WAS plugin that break the redirect, because all jsp/servlet request are sent to the plugin first. I ended up with followig solution:1> modify the current site change ports 80 and 443 to some other ports
2> created a new site without WAS plugin and use port 80 and 443
3> created virtual directory "path" under the new site
4> created an empty login.jsp and staged under "path"
5> set the propety of the login.jsp to redirect to the Portal site
6> any other requests will be redirect to the old site.
-wydmly(wydmly);
2012-6-1
{376}
(#7559777@0)
-
i meant IIS front-ends multiple websphere servers ( by merging plugin ). Regardless, glad to see u found your solution...
-bentley(小兔);
2012-6-1
(#7561748@0)
-
只做过IIS redirect到Tomcat,需要一在IIS上装一个 JK ISAPI redirector plugin。不知道有没有Websphere的redirect,然后tomcat上有一些设置。不知道有没有websphere的。
-ccra(ccra);
2012-6-20
(#7605808@0)