Date: Thu, 23 Oct 2003 11:06:00 -0400 From: "Jason Lavigne" <jlavigne@bwlogic.com> To: "'Brent Wiese'" <brently@bjwcs.com>, <freebsd-questions@freebsd.org> Subject: RE: Probably dumb apache question Message-ID: <000201c39977$2b5c40d0$0501a8c0@canada> In-Reply-To: <20031023005954.WIGW10143.fed1mtao05.cox.net@SAMBA>
next in thread | previous in thread | raw e-mail | index | archive | help
RewriteEngine on
RewriteRule ^/ https://your.secure.domain.com [R]
cheers
Jay
-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Brent Wiese
Sent: Wednesday, October 22, 2003 9:03 PM
To: freebsd-questions@freebsd.org
Subject: Probably dumb apache question
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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c39977$2b5c40d0$0501a8c0>
