Re: HA Proxy as Amazon S3 Content Switch

From: John Singleton <jsinglet#gmail.com>
Date: Mon, 29 Sep 2008 15:56:29 -0700


Hi Willy,

It works! Thank you so very much for this taking the time to help out!

Best,
JLS On Sep 29, 2008, at 3:50 PM, Willy Tarreau wrote:

> On Mon, Sep 29, 2008 at 10:52:53AM -0700, John Singleton wrote:
>> Okay, I added the following line just after the other regular
>> expression:
>>
>> reqrep ^Host:\ .* Host: s3.amazonaws.com
>>
>> Which, in my estimation, should rework the host line, no? Tried this
>> but still no luck. I do, however, get a different error. Rather than
>> tell me the bucket <hostname> doesn't exist, it tells me that a
>> hashed
>> key (which looks like an actual bucket hash) so something is
>> happening.
>>
>> Am I doing that host line correctly?
>
> I think you missed a backslash after the rewritten "Host:". Also,
> take care
> of always disabling case sensitiveness when matching headers. It
> should look
> like this :
>
> reqirep ^Host: Host:\ s3.amazonaws.com
>
> Regards,
> Willy
>
Received on 2008/09/30 00:56

This archive was generated by hypermail 2.2.0 : 2008/09/30 01:02 CEST