Re: rados gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 17, 2013 at 9:58 AM, proguest <proguest1942@xxxxxxxxxxx> wrote:
> Yehuda Sadeh <yehuda <at> inktank.com> writes:
>
>>
>> Do you have radosgw logs?
>>
> Here're radosgw log
> The last two line are restart radosgw (2 times)
> Others are trying to connect radosgw..
>
> 2013-04-17 14:58:24.335168 7fdb2af5c700  2 req 1:0.316409:s3:GET
> /s3gw.fcgi:list_bucket:http status=404

I noticed that the example closes and reopens the VirtualHost section.
Can you try the following config (doesn't close and reopens the
section, modified RewriteRule):

FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock


<VirtualHost *:80>
        ServerName {fqdn}
        ServerAdmin {email.address}
        DocumentRoot /var/www

RewriteEngine On
RewriteRule             ^/(.*) /s3gw.fcgi?%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

        <IfModule mod_fastcgi.c>
                <Directory /var/www>
                        Options +ExecCGI
                        AllowOverride All
                        SetHandler fastcgi-script
                        Order allow,deny
                        Allow from all
                        AuthBasicAuthoritative Off
                </Directory>
        </IfModule>

        AllowEncodedSlashes On
        ErrorLog /var/log/apache2/error.log
        CustomLog /var/log/apache2/access.log combined
        ServerSignature Off
</VirtualHost>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux