Okay, although the documentation on mod_rewrite is extensive, apparently I'm
not quite smart enough today.  I did manage to get my apache caught up in a
nice little loop.  I have http and https servers running, and want to do the
same kind of redirect.

I added the following, and I don't pretend to understand why it didn't work
(hence my post)


RewriteEngine on
RewriteMap      lowercase       int.tolower
RewriteRule             ^/(.*)  https://$1   (I assume that this is very
wrong...)
        I also tried the following (which at least set me into a loop, so it
did SOMETHING)
RewriteRule             .*              https://$1


Somebody explain it to me like I'm a nine-year-old, please...I'd appreciate
it.


 
Lewis Bergman wrote...

>> I would like to find out how to set the website to default or redirect
all http
>> calls to https. Do I use the same method as described for relative calls
?

>Owen gave me several suggestions which worked.
>
>The first thing to do is to seperate your root doc and cgi directories for
your
>ssl and non-ssl. Failure to do this sets up a loop. 
>
>Then you can use mod_rewrite, redirect, or redirectmatch to send things to
the
>ssl side.

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

Reply via email to