I create public bucket from S3 client using comand:
s3cmd mb s3://public_bucket --acl-public
Bucket 's3://public_bucket/' created
I can see this bucket from client(s3cmd ls) and from rados gw (using radosgw-admin bucket list). But when I use the API and send the request to the server, I always get an error 404. Why is this happening? Apache, fcgi work fine.
My request:
GET /public-bucket?max-keys=15 HTTP/1.1
Host: ceph_gw.objectstore.com
Moreover, request
GET / HTTP/1.1
Host: ceph_gw.objectstore.com
give me response
HTTP/1.1 200 OK
Date: Thu, 27 Aug 2015 13:20:21 GMT
Server: Apache/2.2.15 (CentOS)
Connection: close
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>anonymous</ID><DisplayName></DisplayName></Owner><Buckets></Buckets></ListAllMyBucketsResult>