Probably dumb apache question
Jason Lavigne
jlavigne at bwlogic.com
Thu Oct 23 08:06:07 PDT 2003
RewriteEngine on
RewriteRule ^/ https://your.secure.domain.com [R]
cheers
Jay
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Brent Wiese
Sent: Wednesday, October 22, 2003 9:03 PM
To: freebsd-questions at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list