how to force apache-2.x to redirect all traffic to port 443?
Net Llama!
netllama
Mon May 17 11:56:52 PDT 2004
On 12/13/03 21:33, Matthew Carpenter wrote:
> So in other words, Apache is serving on port 80 and 443 and handing off servlet and jsp requests to Tomcat, correct?
Yes, except that _ALL_ the content is java, there is no non-java content.
> This means that Apache's docroot should still apply. I have more experience using the WARP connectors between Apache and Tomcat, the mod_jk is rather antique.
heh. i was told the exact opposite, that warp is old, and mod_jk is the
new better way.
> So I'm not sure if mod_jk works the exact same way, but Apache has configuration added (often it's an automated config when Apache and Tomcat startup) that basically says:
>
> "if the URL looks like either '/servlet/*' or '*.jsp' let Tomcat handle it"
>
> Do you see that anywhere? Either way, if you're using some connector to hand off to Tomcat, Apache is running and serving the rest of the content from somewhere.
but like i said, there is no 'rest of the content'. its all tomcat.
>
>
> On Fri, 12 Dec 2003 12:50:39 -0500 (EST)
> Net Llama! <netllama at linux-sxs.org> wrote:
>
>
>>I thought of that, but unfortunately, this is a somewhat funky setup that
>>is using Tomcat, with mod_jk in Apache-2.x. So there really isn't a
>>docroot where I can plunk down the index.html. Or i just don't understand
>>tomcat well enough. At any rate, what's the other 10% of the issue?
>>
>>On Fri, 12 Dec 2003, Aaron Grewell wrote:
>>
>>
>>>The way we usually do it is to create an index.html page in the unsecured
>>>document root that does a 'meta refresh' to the secure document root. That
>>>takes care of 90% of the issue.
>>>
>>>-----Original Message-----
>>>From: linux-users-bounces at smtp.linux-sxs.org
>>>[mailto:linux-users-bounces at smtp.linux-sxs.org] On Behalf Of Net Llama!
>>>Sent: Friday, December 12, 2003 8:44 AM
>>>To: linux-users at linux-sxs.org
>>>Subject: how to force apache-2.x to redirect all traffic to port 443?
>>>
>>>
>>>Anyone know how to force apache-2.x to redirect all port 80 traffic to port
>>>443?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
6:20am up 7 days, 11:09, 1 user, load average: 0.00, 0.00, 0.00
More information about the Linux-users
mailing list