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 <yeh...@inktank.com> wrote:
>>
>> On Wed, Jan 23, 2013 at 4:46 PM, Cesar Mello <cme...@gmail.com> 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 majord...@vger.kernel.org
>> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to