wood burning stoves*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: redirecting http requests to https
 
Similar Threads
http to https redirect jboss 5.0.1 GA
SSL and certificates Configuration in WebSphere Application Server 7
https back to http
problem in transport-guarantee
How to turn off https once logged in?