Hello and thank you for your answer.

I followed your first advice.
I edited "server.xml" ending up with the following connectors:

-----------------------------------------------------------------------------------------------
<Connector 
SSLEnabled="true"
acceptCount="100" 
clientAuth="false"
disableUploadTimeout="true" 
enableLookups="false" 
maxThreads="25"
port="443" 
keystoreFile="D:\where\the\key\store\file\is\keystore_file.txt" 
keystorePass="a_password"
protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https"
secure="true"
sslProtocol="TLS"
proxyPort="80" />

<Connector port="80" enableLookups="false" redirectPort="443"/>

<Connector port="8009" protocol="AJP/1.3" redirectPort="443" />
-----------------------------------------------------------------------------------------------

This configuration works on Windows meaning:
http://localhost/my_webapp/a_page.jsp
automatically redirects to:
https://localhost/my_webapp/a_page.jsp
without any port number in the URL.

I tried exactly the same modification in "server.xml" on a Debian Wheezy
machine and it doesn't work...
The browser only says that "The webpage is not available".
I can't see anything in the log files but maybe I should...
I am using "jsvc" to start Tomcat as a non-root user.
I couldn't find any information in "RUNNING.txt".
I'm sorry I'm not more precise...

Can you help me?
Best regards.



--
View this message in context: 
http://tomcat.10.x6.nabble.com/HTTPS-URLs-with-no-port-number-Tomcat-only-tp5024482p5024501.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to