www.emsdn.com
Class Profile: Home »» Java [Java] under "Java" »»» Tomcat SSL question
Tomcat SSL question
When I run my app using Tomcat only (without apache httpd) I specify the
ports for secure and non-secure pages; http://localhost:8080/my-app or
https://localhost:8443/my-app for example.
I've installed mod_jk hoping that Apache httpd would handle
the connection allowing me to omit the port numbers. Is that what should be
happening?
I've got it to where I can leave out port numbers and the app works, but
when I navigate to an encrypted page the port appears in the url.
Any suggestions?
I'm using Tomcat 5.5.9, mod_jk 1.2.18 (auto-config) & Apache httpd 2.0.59.
Both servers are running on the same machine.
Thanks,
David
No. 1# | By Developer Tags User at [2008-5-5] | size: 751 bytes
David Miller wrote:
When I run my app using Tomcat only (without apache httpd) I specify the
ports for secure and non-secure pages; http://localhost:8080/my-app or
https://localhost:8443/my-app for example.
I've installed mod_jk hoping that Apache httpd would handle
the connection allowing me to omit the port numbers. Is that what should be
happening?
you could just change the ports in server.xml to 80 and 443 Don't
forget to change the redirect port as well.
Mark
To start a new topic, e-mail: users (AT) tomcat (DOT) apache.org
To unsubscribe, e-mail: users-unsubscribe (AT) tomcat (DOT) apache.org
For additional commands, e-mail: users-help (AT) tomcat (DOT) apache.org
No. 1# | By Developer Tags User at [2008-5-5] | size: 1106 bytes
I can't do that because the web server uses those ports.
Perhaps someone can just verify the following; will tomcat with mod_jk allow
me to access encrypted pages without seeing the port in the URL?
Example: we want to see this and NT
this
David
8/3/06, Mark Thomas <markt (AT) apache (DOT) orgwrote:
David Miller wrote:
When I run my app using Tomcat only (without apache httpd) I specify the
ports for secure and non-secure pages; http://localhost:8080/my-app or
https://localhost:8443/my-app for example.
I've installed mod_jk hoping that Apache httpd would handle
the connection allowing me to omit the port numbers. Is that what should
be
happening?
you could just change the ports in server.xml to 80 and 443 Don't
forget to change the redirect port as well.
Mark
To start a new topic, e-mail: users (AT) tomcat (DOT) apache.org
To unsubscribe, e-mail: users-unsubscribe (AT) tomcat (DOT) apache.org
For additional commands, e-mail: users-help (AT) tomcat (DOT) apache.org
--
No. 1# | By Developer Tags User at [2008-5-5] | size: 2043 bytes
set "redirectPort" on your AJP(port 8009) connector to 443
using mod_jk, you will not use port 8080 and 8443, only 8009.
Filip
David Miller wrote:
I can't do that because the web server uses those ports.
Perhaps someone can just verify the following; will tomcat with mod_jk
allow
me to access encrypted pages without seeing the port in the URL?
Example: we want to see this and NT
this
David
>
>
>
>
8/3/06, Mark Thomas <markt (AT) apache (DOT) orgwrote:
>>
>David Miller wrote:
>When I run my app using Tomcat only (without apache httpd) I
>specify the
>ports for secure and non-secure pages; http://localhost:8080/my-app or
>https://localhost:8443/my-app for example.
>>
>I've installed mod_jk hoping that Apache httpd would handle
>the connection allowing me to omit the port numbers. Is that what
>should
>be
>happening?
>>
>you could just change the ports in server.xml to 80 and 443 Don't
>forget to change the redirect port as well.
>>
>Mark
>>
>
>To start a new topic, e-mail: users (AT) tomcat (DOT) apache.org
>To unsubscribe, e-mail: users-unsubscribe (AT) tomcat (DOT) apache.org
>For additional commands, e-mail: users-help (AT) tomcat (DOT) apache.org
>>
>>
>
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006
To start a new topic, e-mail: users (AT) tomcat (DOT) apache.org
To unsubscribe, e-mail: users-unsubscribe (AT) tomcat (DOT) apache.org
For additional commands, e-mail: users-help (AT) tomcat (DOT) apache.org
No. 1# | By Developer Tags User at [2008-5-5] | size: 2423 bytes
Thanks Filip,
It's now working as I thought it should. I did what you said as well as
manually configuring a worker and adding said worker to a virtual host for
port 443.
and special thanks to Li.
David
8/4/06, Filip Hanik - Dev Lists <devlists (AT) hanik (DOT) comwrote:
set "redirectPort" on your AJP(port 8009) connector to 443
using mod_jk, you will not use port 8080 and 8443, only 8009.
Filip
--
David Miller wrote:
I can't do that because the web server uses those ports.
Perhaps someone can just verify the following; will tomcat with mod_jk
allow
me to access encrypted pages without seeing the port in the URL?
Example: we want to see this and NT
this
David
>
>
>
>
8/3/06, Mark Thomas <markt (AT) apache (DOT) orgwrote:
>>
>David Miller wrote:
>When I run my app using Tomcat only (without apache httpd) I
>specify the
>ports for secure and non-secure pages; http://localhost:8080/my-appor
>https://localhost:8443/my-app for example.
>>
>I've installed mod_jk hoping that Apache httpd would handle
>the connection allowing me to omit the port numbers. Is that what
>should
>be
>happening?
>>
>you could just change the ports in server.xml to 80 and 443 Don't
>forget to change the redirect port as well.
>>
>Mark
>>
>
>To start a new topic, e-mail: users (AT) tomcat (DOT) apache.org
>To unsubscribe, e-mail: users-unsubscribe (AT) tomcat (DOT) apache.org
>For additional commands, e-mail: users-help (AT) tomcat (DOT) apache.org
>>
>>
>
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/406 - Release Date: 8/2/2006
>
>
>
To start a new topic, e-mail: users (AT) tomcat (DOT) apache.org
To unsubscribe, e-mail: users-unsubscribe (AT) tomcat (DOT) apache.org
For additional commands, e-mail: users-help (AT) tomcat (DOT) apache.org
--
Java Hot!
Java New!
Copyright © 2008 www.emsdn.com • All rights reserved • CMS Theme by www.emsdn.com - 0.625