couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: [user] Re: Using a proxy gives test suite errors
Date Tue, 17 Feb 2009 20:26:39 GMT

On 17 Feb 2009, at 20:58, Wout Mertens wrote:

> Ah, the "nocanon" keyword was the problem. Thanks for that!
>
> I took the liberty of amending the wiki so I would have found it :)

Thanks for helping out.

Cheers
Jan
--


>
>
> Wout.
>
> On Feb 17, 2009, at 7:25 PM, Glenn Rempe wrote:
>
>> And note the key lines in the proxy config are:
>>
>> AllowEncodedSlashes On
>> ProxyRequests Off
>> KeepAlive Off
>>
>> And the 'nocanon' on the proxy pass:
>>
>> ProxyPass / http://localhost:5984/ nocanon
>>
>> All of this is on the wiki:
>>
>> http://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy
>>
>> Cheers.
>>
>>
>> On Tue, Feb 17, 2009 at 10:16 AM, Wout Mertens <wmertens@cisco.com>  
>> wrote:
>>> 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.
>>>
>>>
>>
>>
>>
>> -- 
>> Glenn Rempe
>> glenn@rempe.us
>> Sent from: San Francisco California United States.
>
>


Mime
View raw message