ITPUB论坛 » Websphere » websphere 6.0 http自动转发到https


2007-12-24 14:47 fan_vincent
websphere 6.0 http自动转发到https

项目需求是:
如果用户输入的http,那么自动转为https,如:http://localhost:9080/app/自动转为 https://localhost:9080/app/ ,也就是实现http到https的自动跳转
还请各位支点招,告诉下怎么转到https上!谢谢!

2007-12-25 08:27 fan_vincent
还望大家指点下,第一次用websphere!

2007-12-25 20:15 Schnaufer
You can use an external web server and configure rewrite module.

2007-12-28 17:05 wasadmin
we use javascript in the index page to redirect to https

2007-12-29 14:02 fan_vincent
谢谢楼上两位指点,利用javascript来转我们最开始考虑过,但是存在多个子系统与应用,每个子系统的都需要去更改!
利用web容器转发!

2008-6-23 16:30 shwonder
lz的这个问题有没有解决呀,我们现在也遇到了类似的问题,也是希望能够利用was本身的设置直接来解决,一直没有找到比较好的方法。

2008-6-23 18:14 lujun
在web.xml中设置

<user-data-constraint>
        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>

页: [1]


Powered by ITPUB论坛