how to force apache-2.x to redirect all traffic to port 443?

Aaron Grewell agrewell
Mon May 17 11:56:48 PDT 2004


The other 10% is webmasters who put http instead of https in front of their 
links because they don't know any better.  It sounds like you may not have 
that problem.  I don't know much about tomcat, but perhaps a very minor java 
servlet might generate such a page whenever faced with a request on port 80.  
Are you coding the servlets yourself, or is this a prebuilt app?

On Friday 12 December 2003 09:50, Net Llama! 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?


More information about the Linux-users mailing list