All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tommi Virtanen <tommi.virtanen@dreamhost.com>
To: cclien <cclien@gmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: [PATCH] rgw: Lighttpd compatibity.
Date: Thu, 17 Feb 2011 11:38:39 -0800	[thread overview]
Message-ID: <20110217193839.GB23974@dreamer> (raw)
In-Reply-To: <AANLkTikEd8UUyy3ncf2DiDqR1Aa0UNDy3AVVGnVSyCxK@mail.gmail.com>

On Thu, Feb 17, 2011 at 07:20:02PM +0800, cclien wrote:
> 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.

I haven't looked into rgw deeply, but if this is about the contents of
SCRIPT_NAME vs PATH_INFO, it might be related to lighttpd's behavior
differing from apache's. I stumbled on this when running fastcgis
under lighttpd 4 years ago:

http://redmine.lighttpd.net/issues/show/729

-- 
:(){ :|:&};:

      parent reply	other threads:[~2011-02-17 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 11:20 [PATCH] rgw: Lighttpd compatibity cclien
2011-02-17 19:13 ` Yehuda Sadeh Weinraub
2011-02-17 19:36   ` cclien
2011-02-17 19:38 ` Tommi Virtanen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110217193839.GB23974@dreamer \
    --to=tommi.virtanen@dreamhost.com \
    --cc=cclien@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.