Re: radosgw: "MethodNotAllowed" response for AWS C# Sample

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

 



Re-sending this due to plain text limitations:

Are you just testing a build following the 5 min guide? I did this
today, and the "method not allowed" just meant that apache wasn't
acutally set up to call rados gateway via rewrite. I verified this by
placing an index.html in /var/www and seeing that I was able to see
that page. If you're using the quick guide
(http://ceph.com/docs/master/start/quick-rgw/), what I did to fix my
issue was change a bit in the supplied apache rgw.conf from this:

</VirtualHost>

RewriteEngine On
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*)
/s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

<VirtualHost *:80>

to this:

#</VirtualHost>

RewriteEngine On
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*)
/s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

#<VirtualHost *:80>


> On Wed, Jan 23, 2013 at 5:51 PM, Yehuda Sadeh <yehuda@xxxxxxxxxxx> wrote:
>>
>> On Wed, Jan 23, 2013 at 4:46 PM, Cesar Mello <cmello@xxxxxxxxx> wrote:
>> > Hi,
>> >
>> > When running the PutObject sample from
>> > http://ceph.com/docs/master/radosgw/s3/csharp/ I get a
>> > "MethodNotAllowed" response. Please has anyone successfully run this
>> > sample?
>> >
>> > I have tested with a current local build (0.56).
>> >
>>
>> Is there anything in the radosgw log? in the apache access, error
>> logs? It might be that your apache has some other (maybe default) site
>> configured to handle requests, and it doesn't really reach radosgw.
>>
>> Yehuda
>> --
>> 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
>
>
--
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