how to force apache-2.x to redirect all traffic to port 443?
Matthew Carpenter
matt
Mon May 17 11:56:51 PDT 2004
So in other words, Apache is serving on port 80 and 443 and handing off servlet and jsp requests to Tomcat, correct? 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. 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.
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?
> >
> >
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Lonni J Friedman netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo http://netllama.ipfox.com
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
>
>
More information about the Linux-users
mailing list