Janakiraman Mohanaraman wrote:
> At 04:48 PM 8/22/2001 -0700, you wrote:
> >if u have compiled in mod_rewrite, i believe the
> >code below will do what you want. i have not tested
> >it here however. check out the following documentation.
> >
> >http://httpd.apache.org/docs/mod/mod_rewrite.html
> >http://httpd.apache.org/docs/misc/rewriteguide.html
> >
> >----- snip ----
> >RewriteEngine on
> >RewriteCond %{HTTPS} !=on
> >RewriteRule ^(.+) https://%(HTTP_HOST)$1 [R,L]
in particular for the directories /tst/ssl and /tst/ssl2
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^/test/ssl/(.+) https://%(HTTP_HOST)/tst/ssl/$1 [R,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^/test/ssl2/(.+) https://%(HTTP_HOST)/tst/ssl2/$1 [R,L]
i wanted to make sure this was clear.
>
> >----- snip ----
> >
> >Janakiraman Mohanaraman wrote:
> >
> >
> > > I was trying to setup a directory on my server in such a way that all URL
> > > calls to that directory use SSL. Even if the URL entered in the browser is
> > > http://..., I would like to change that to https://...:443 automatically.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]