On Wed, 27 Oct 1999, Nate Carlson wrote:
> Anyone know of an easy way to get all non-ssl requests for a certain
> directory to be redirected to SSL? Eg, if I have a page that should
> require ssl located at both http://www.example.com/requiressl and at
> https://www.example.com/requiressl, how could I force a request to
> the http site to redirect to the https site? Thanks.
I use the apache redirect directive.
ex.
Redirect / https://sitename.com
Redirect /service https://sitename.com/service

http://www.apache.org/docs/mod/mod_alias.html#redirect

--
Charles P. Wright
[EMAIL PROTECTED]
http://w3.cpwright.com/

The trouble with computers is that they do what you tell them, not what
you want.

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to