File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Redirect http to https

 
Satish Kulkarni
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using SunOne webserver 6.1.
When the user enters http://<myurl> i want them to be redirected to https://<myurl>
What are the changes I have to make in my web server configuration files.

Thanks
 
danny liu
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never used Sun One.

Based on the experience I got from other application servers, you should add a secured Connector with listens "https" protocol.

In Tomcat, it looks like

<Connector acceptCount="100" disableUploadTimeout="true" enableLookups="true" maxProcessors="75" port="8443" scheme="https" secure="true" sslProtocol="TLS">
</Connector>


Dan
 
Shyama Menon
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If u are using windows, then u can do it from the gui. You can forward requests using the URL forward option under content management.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic