File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes ssl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "ssl" Watch "ssl" New topic
Author

ssl

Mahola Nawado
Greenhorn

Joined: Dec 13, 2003
Posts: 8
how can I prevent my secure pages to be called with http (instead of https) in tomcat?
thanx...
Chris Hall
Ranch Hand

Joined: Dec 04, 2002
Posts: 39
Originally posted by Mahola Nawado:
how can I prevent my secure pages to be called with http (instead of https) in tomcat?
thanx...

I assume you want to disable http, and only allow https requests. If this is the case, it seems you already got https to work by uncommenting some of the code in the server.xml file...among some other things. Comment out the non-ssl connector in server.xml to prevent http requests.
Mahola Nawado
Greenhorn

Joined: Dec 13, 2003
Posts: 8
what about unsecure pages..? I want some of the pages to be called with http, and others with https... if I do what you say I cannot call with http..?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ssl