This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
i am using tomcat 5.5 as web server and i want to redirect the http pages to https automatically.for that i have changed server.xml and web.xml file in the following manner:
server.xml file: i just uncommented the code below- <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="conf/keystore" keystorePass="changeit"
web.xml file: i wrote the code below <security-constraint>
Everything is going fine but the problem is when i send http request IE asks for security exception and after comfirming it redirected to https but page contents are not visible and when i refreshed the page, page is displayed instantly.I tried to figure out the problem but in vain.
Actually same settings i did for my local server tomcat 6.0.16. n there was no such problem. but when i applied that setting to the company server tomcat 5.5 then it is having this problem.
Joined: Jan 11, 2012
Please tell me if there is some kind of mistake i am doing because everything runs fine on my local server but when it comes to intranet server it is showing http & https page fine but http to https redirection shows page only after refresh..
Any Clues or directions ...
subject: Redirection from http to https: blank page opens