This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "redirecting http requests to https" Watch "redirecting http requests to https" New topic

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




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


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
Similar Threads
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?
http to https redirect jboss 5.0.1 GA