couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wout Mertens <wmert...@cisco.com>
Subject Re: [user] Re: Using a proxy gives test suite errors
Date Tue, 17 Feb 2009 18:16:39 GMT
Well I suppose that's ok, it tests if the port is what Couchdb thinks  
it is.

Which apache version are you using?

Wout.

On Feb 17, 2009, at 7:14 PM, Glenn Rempe wrote:

> I am running an experimental server behind an apache  proxy here
> (which is open to the public for the moment):
>
> http://couchdb.rempe.org/_utils/couch_tests.html?script/couch_tests.js
>
> This is built from trunk@745076.
>
> All of the tests run clean, except for one I reported several weeks
> ago (JIRA COUCHDB-213) which was 'closed' (in the comments I asked for
> it to be re-opened since it didn't solve the original reported
> problem, maybe someone can take a look?).  The error for that one is :
>
> config : Assertion failed: config.httpd.port == port
>
> Here is my virtual host config:
> <VirtualHost *:80>
>  ServerName couchdb.rempe.org
>  DocumentRoot /var/www/couchdb.rempe.org
>  AllowEncodedSlashes On
>  ProxyRequests Off
>  KeepAlive Off
>  <Proxy *>
>    Order deny,allow
>    Deny from all
>    Allow from all
>  </Proxy>
>  ProxyPass / http://localhost:5984/ nocanon
>  ProxyPassReverse / http://localhost:5984/
> </VirtualHost>
>
> Cheers,
>
> Glenn
>
>
>
>
> On Tue, Feb 17, 2009 at 9:30 AM, Jan Lehnardt <jan@apache.org> wrote:
>>
>> On 17 Feb 2009, at 18:15, Wout Mertens wrote:
>>
>>> {"error":"unknown","reason":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD  
>>> HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</

>>> head><body>\n<h1>Not Found</h1>\n<p>The requested
URL / 
>>> test_suite_db/_design/test was not found on this server.</p>\n</ 
>>> body></html>\n","line":331,"expressionBeginOffset": 
>>> 11155,"expressionEndOffset":11167,"sourceId": 
>>> 670957024,"sourceURL":"http://localhost/_utils/script/couch.js? 
>>> 0.9.0"}
>>>
>>> I can't figure out if this is just the test expecting the word-for- 
>>> word error reply that CouchDB would send or if something isn't  
>>> proxied properly by Apache.
>>
>> This is an Apache error message. CouchDB doesn't emit HTML. Check  
>> your couch.log. Set the log level to debug, if needed.
>>
>> Cheers
>> Jan
>> --
>>
>
>
>
> --
> Glenn Rempe
> glenn@rempe.us
> Sent from: San Francisco California United States.


Mime
View raw message