Re: How to use Apache 2 with HTTPS only?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>

In the configuration for your port 80 host, put:

Redirect permanent / https://yoursecuresite.example.org

That way, anyone accessing the non-secure site is transparently redirected
to being secure. If you don't do this, people who forget the 's' won't be
able to find your site.



> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux