Jason Giangrande <[EMAIL PROTECTED]> writes:

> This really isn't a Gentoo question but I thought maybe someone could
> help.  I'm trying to set up a certain website to use SSL and only SSL. 
> What I want to do is, when someone types www.example.com, have them go
> to https://www.example.com instead of http://www.example.com.  Does
> anyone know how to set this up.  I'm using Apache with mod_ssl.

You could use a RedirectMatch directive on the non-ssl site to send
the browser off to the ssl site.

Something like this might do it:

RedirectMatch ^/(.*)$ https://somesite.com/$1


-- 
Richard Watson
http://www.opencolo.com/
High Quality, Value for money colocation

--
[EMAIL PROTECTED] mailing list

Reply via email to