permaculture playing cards*
The moose likes Websphere and the fly likes redirecting http requests to https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "redirecting http requests to https" Watch "redirecting http requests to https" New topic
Author

redirecting http requests to https

Vaithiya Sundaram
Ranch Hand

Joined: Apr 22, 2004
Posts: 98
Can you suggest how to do this in WSAD test server?

I would like to redirect users from http:// to https:// if they try to access the site without including the "s".


I included this in web.xml

<user-data-constraint>

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

</user-data-constraint>

I read that I have to update httpd.conf file but I could not find that file in WSAD test server.

Your help is really appreciated

Thanks
vaidya


Vaithiyanathan Sundaram<br />SCJP, SCBCD, SCEA part1
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
http.conf file is for web server (Apache) not for websphere. In websphere you need to do this configuration in application server. There are different port numbers for http and https.(9080, 9090) but check documentation to be sure.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
 
Don't get me started about those stupid light bulbs.
 
subject: redirecting http requests to https