This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

redirecting http requests to https  RSS feed

 
Vaithiya Sundaram
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!