> 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.

        # Redirect *everything* to SSL.
        RewriteEngine on
        RewriteRule     ^(.*)   https://secure.foo.com$1 [R=301]

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to