How to use Apache 2 with HTTPS only?
Matthew Miller
mattdm at mattdm.org
Sun Jul 30 12:10:06 UTC 2006
On Sun, Jul 30, 2006 at 07:02:36AM -0500, Anthony Messina wrote:
> Matthew Miller wrote:
> > On Sun, Jul 30, 2006 at 07:45:58AM -0300, Vinicius wrote:
> >> How to use Apache 2 with HTTPS only, please?
> >> A snippet of my ssl.conf:
> >> <VirtualHost _default_:443>
> >> SSLEngine on
> >> SSLOptions +StrictRequire
> >> <Directory />
> >> SSLRequireSSL
> >> </Directory>
> >> </VirtualHost>
> what about having it listen *only* on port 443?
Well, as I mention int eh comment you snipped out of your reply, if you do
that, someone who connects to http://yoursite.example.org would get an
error. That's confusing to non-technical people. So it's generally better to
run on port 80 as well, but redirect all requests.
--
Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
More information about the fedora-list
mailing list