Hi all I just tried to deploy a rados gateway with Lighttpd. But it have some trouble parsing object names. Here's what I found in debug log on the non-working copy: RADOS S3 Gateway: SCRIPT_NAME=/mybucket RADOS S3 Gateway: REQUEST_URI=/mybucket/ceph.tgz I think it will be better to retrive user's request from REQUEST_URI. So I took some advantage on some unused variable, and then made this patch (maybe a workaround). Please help to review this, hope this patch helps. Happy Hacking! -CC --- src/rgw/rgw_rest.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rgw/rgw_rest.cc b/src/rgw/rgw_rest.cc index b923c42..1669e6f 100644 --- a/src/rgw/rgw_rest.cc +++ b/src/rgw/rgw_rest.cc @@ -493,7 +493,7 @@ void init_entities_from_header(struct req_state *s) } } else s->host_bucket = NULL; - const char *req_name = s->path_name; + const char *req_name = s->path_name_url.c_str(); const char *p; if (*req_name == '?') { -- 1.7.0.4 -- 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