Yehuda Sadeh <yehuda <at> inktank.com> writes: > > On Wed, Apr 17, 2013 at 9:58 AM, proguest <proguest1942 <at> hotmail.com> 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> woo, it seems work!! but there're another problem... i tried: # curl -H "X-Auth-User: richard:swift" -H "X-Auth-Key: IlEOJlX08uuvXb\/\/xIhz5bLaDGIZmOV0oPSjB2eD" http://node74/auth it resposed: <?xml version="1.0" encoding="UTF-8"?><Error><Code>AccessDenied</Code> </Error> but here's my user info { "user_id": "richard", "rados_uid": 0, "display_name": "richard", "email": "richardchang@xxxxxxxxxxxxxxxxxxxxx", "suspended": 0, "max_buckets": 1000, "subusers": [ { "id": "richard:swift", "permissions": "full-control"}], "keys": [ { "user": "richard", "access_key": "OCDVLF6P4QGWIZP3Q7CF", "secret_key": "IlEOJlX08uuvXb\/\/xIhz5bLaDGIZmOV0oPSjB2eD"}], "swift_keys": [ { "user": "richard:swift", "secret_key": "ojS\/KYsrUWnOmyJPREOBkwS26NqQl5tI9f7un28t"}]} Am I choose the wrong key?? -- 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