-   Linux - Software (
-   -   Binding Apache and Tomcat to use port 443 (

Pricy 02-03-2012 02:25 PM

Binding Apache and Tomcat to use port 443
Hi there,

How do I configure my server to allow both Apache and Tomcat to bind to port 443. I have two network insterfaces with different Ip and domain names. I am running Red Hat 5.4 on a sun X2270 server.


acid_kewpie 02-03-2012 03:13 PM

I'd really suggest you don't. Only put Apache on 443, and use mod_jk or mod_proxy to pass requests on to Tomcat. Don't expose more to the internet than you need to.

Pricy 02-06-2012 02:02 PM

Ok. Thanks!

Pricy 05-09-2012 03:26 PM

How do you configure mod_jk or mod_proxy?

ratotopi 05-09-2012 06:22 PM

First you need to install module in apache with mod_jk or mod_proxy. Here is the link for both modules mod_jk and mod_proxy

acid_kewpie 05-10-2012 02:12 AM

I never bother with mod_jk personally. it's more integrated to Tomcat and other web containers, but I prefer living in a standard HTTP world, and then mod_proxy is just a single line usually...

ProxyPass /<application> http://localhost:8080

although there are subtleties like the ProxyPreserveHost option which is often critical.

All times are GMT -5. The time now is 12:44 PM.