[FX.php List] [OFF] Rewrite for forcing http to https possible?

biscuit technologies biscuit.tech at gmail.com
Tue Sep 23 17:47:21 MDT 2008


Exactly, and I'm also thinking the order should be [B,R,L] or [R,B,L]
(redirect, escape, last rule)

But, maybe you'll get an error if the order matters.

2008/9/23 Jon & Jane Montgomery <vicepresident at comcast.net>:
> Troy,
>
> Could he be referring to:
>
> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]   // adding the B
> in the last [ ] ?
>
> Just thinking out loud.  If I am wrong, sorry.
>
> Jon Montgomery
>
> On 9/23/08 6:31 PM, "Troy Meyers" <tcmeyers at troymeyers.com> wrote:
>
>> David,
>>
>> Thanks for the reply. I don't understand what you mean... what is a
>> backreference... do you think that's what's happening? Could you give an
>> example?
>>
>> -Troy
>>
>>
>>
>>> Hi Troy,
>>>
>>> I think if you are using Apache 2.2.7 you can add the [B] option to
>>> escape backreferences:
>>>
>>> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
>>>
>>> - David
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>


More information about the FX.php_List mailing list