Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2003 18:02:43 -0700
From:      "Brent Wiese" <brently@bjwcs.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Probably dumb apache question
Message-ID:  <20031023005954.WIGW10143.fed1mtao05.cox.net@SAMBA>

next in thread | raw e-mail | index | archive | help
Probably not the most appropriate list for this, but the best of the ones I
subscribe to...

I have set up a new freebsd/apache/mod_ssl server. I want to force all
connections to use SSL.

I know I can simply turn off listening on port 80, but because I know people
using this site will instinctivly type "http" instead of "https", I'd like
to force a redirect.

I'm guessing I'll need to use mod_rewrite, but was hoping there was an "out
of box" way like "ForceSSL" directive or something.

The box does not use vhosts if that matters at all...

If mod_rewrite, anyone have a good rewrite rule handy?

Cheers,
Brent




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031023005954.WIGW10143.fed1mtao05.cox.net>