Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 90650 invoked from network); 21 Jan 2009 01:02:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2009 01:02:45 -0000 Received: (qmail 93547 invoked by uid 500); 21 Jan 2009 01:02:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 93512 invoked by uid 500); 21 Jan 2009 01:02:43 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 93501 invoked by uid 99); 21 Jan 2009 01:02:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 17:02:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glenn@rempe.us designates 209.85.198.224 as permitted sender) Received: from [209.85.198.224] (HELO rv-out-0506.google.com) (209.85.198.224) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 01:02:33 +0000 Received: by rv-out-0506.google.com with SMTP id g37so3392250rvb.35 for ; Tue, 20 Jan 2009 17:02:11 -0800 (PST) Received: by 10.141.98.13 with SMTP id a13mr822773rvm.85.1232499731612; Tue, 20 Jan 2009 17:02:11 -0800 (PST) Received: from ?10.0.1.4? (64-142-55-10.dsl.static.sonic.net [64.142.55.10]) by mx.google.com with ESMTPS id l31sm13870418rvb.2.2009.01.20.17.02.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Jan 2009 17:02:10 -0800 (PST) Message-Id: From: Glenn Rempe To: user@couchdb.apache.org In-Reply-To: Content-Type: multipart/signed; boundary=Apple-Mail-13-789458815; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: JS Test Errors with Apache virtual host + reverse proxy + couchdb Date: Tue, 20 Jan 2009 17:02:09 -0800 References: X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-13-789458815 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Thanks for the quick response Paul. Some comments below. On Jan 20, 2009, at 4:44 PM, Paul Davis wrote: >> - Is this simply a problem with the JS test runner? Or does this >> represent >> an actual failure in the server? > > There are known issues with Apache's default config for reverse > proxies screwing with url encoded slashes. This screws up path stuff > which CouchDB relies on. This is most likely the cause of your errors. > Hmmm. I was also using the new 'nocanon' command to avoid any changes by apache proxy. I found some related posts (after I wrote my initial email) where this seems to be occuring to some degree with Nginx as well. Are there any reverse proxy configs that are tested and known to work with CouchDB passing all of its JS tests? Seems to me that making this work is important. >> - Is there an improved reverse proxy config that would eliminate this >> (Please feel free to fork the Gist and issue me a pull request)? > > No one in IRC is speaking up, but just the other day someone was on > asking questions and managed to get it working I believe. I swear I > told him to put that config on the wiki once he got it done, so you > might check there. I took a look and did not find anything. If anyone else has a link to a working config or wiki page that would be great. >> I have built and installed couchdb from repository source, so if >> any commits >> are made to fix I would be happy to pull them and test. >> > > The last patch that would affect this was put in last night or so, but > I don't think it fixes everything that Apache breaks. > I am running from trunk@735875 which I think is the latest commit. Thanks. -- Glenn Rempe glenn@rempe.us --Apple-Mail-13-789458815 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGHTCCAtYw ggI/oAMCAQICEG1fN6Dx96vzW7qHDVY98SMwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xL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