You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Wout Mertens <wm...@cisco.com> on 2009/02/17 18:15:52 UTC
Using a proxy gives test suite errors
Hi there,
I'm trying to proxy CouchDB over Apache so that I can use the Apache
access controls (and maybe caching). Basically I'm testing the "you
can do whatever you like with the protocol since it's HTTP" claim :)
I added these 2 lines to my Apache 2.2.9's httpd.conf:
ProxyPass / http://localhost:5984/
ProxyPassReverse / http://localhost:5984/
If I run the tests from http://localhost:5984/_utils, they run fine,
but if I connect to http://localhost/_utils, some of them fail.
(latest SVN trunk btw)
Here's the error for the reduce_false test:
{"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.
I couldn't find a proxy-setup on the Wiki so here's my help plea on
the mailing list.
Cheers,
Wout.
Re: [user] Re: Using a proxy gives test suite errors
Posted by Wout Mertens <wm...@cisco.com>.
On Feb 17, 2009, at 6:30 PM, Jan Lehnardt 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.
Ok looking at the logs more closely I don't see why Apache returns
404. Couchdb isn't returning 404 anywhere...
This is a normal run of that test:
[info] [<0.92.0>] 127.0.0.1 - - 'GET' /_utils/image/running.png 304
[info] [<0.92.0>] 127.0.0.1 - - 'DELETE' /test_suite_db/ 200
[info] [<0.92.0>] 127.0.0.1 - - 'PUT' /test_suite_db/ 201
[info] [<0.92.0>] 127.0.0.1 - - 'GET' /_uuids?count=105 200
[info] [<0.92.0>] 127.0.0.1 - - 'POST' /test_suite_db/_bulk_docs 201
[info] [<0.92.0>] 127.0.0.1 - - 'PUT' /test_suite_db/_design%2Ftest 201
[info] [<0.92.0>] 127.0.0.1 - - 'GET' /test_suite_db/_view/test/
summate 304
[info] [<0.93.0>] 127.0.0.1 - - 'GET' /test_suite_db/_view/test/
summate?reduce=false 304
[info] [<0.110.0>] 127.0.0.1 - - 'GET' /_utils/image/test_success.gif
304
Here's the test when proxied:
[info] [<0.87.0>] ::1 - - 'GET' /_utils/image/running.png 304
[info] [<0.105.0>] Shutting down view group server, monitored db is
closing.
[info] [<0.87.0>] ::1 - - 'DELETE' /test_suite_db/ 200
[info] [<0.87.0>] ::1 - - 'PUT' /test_suite_db/ 201
[info] [<0.87.0>] ::1 - - 'GET' /_uuids?count=105 200
[info] [<0.87.0>] ::1 - - 'POST' /test_suite_db/_bulk_docs 201
[info] [<0.87.0>] ::1 - - 'GET' /_utils/image/test_failure.gif 304
Looks like Apache is deciding all on its own that "PUT /test_suite_db/
_design%2Ftest" should get a 404. Is it caching the DELETE?
::1 - - [17/Feb/2009:19:05:55 +0100] "DELETE /test_suite_db/ HTTP/1.1"
200 11
::1 - - [17/Feb/2009:19:05:55 +0100] "PUT /test_suite_db/ HTTP/1.1"
201 11
::1 - - [17/Feb/2009:19:05:55 +0100] "GET /_uuids?count=105 HTTP/1.1"
200 3686
::1 - - [17/Feb/2009:19:05:55 +0100] "POST /test_suite_db/_bulk_docs
HTTP/1.1" 201 174
::1 - - [17/Feb/2009:19:05:55 +0100] "PUT /test_suite_db/_design
%2Ftest HTTP/1.1" 404 224
::1 - - [17/Feb/2009:19:05:55 +0100] "GET /_utils/image/
test_failure.gif HTTP/1.1" 304 -
I don't know where Apache thinks it's ok to return 404. Anybody has
any ideas?
Wout.
Re: [user] Re: Using a proxy gives test suite errors
Posted by Glenn Rempe <gl...@rempe.us>.
I think the issue is that there are still some hard coded assumptions
about running behing a URL with a port in the JS test (when my URL
contains no port #).
Apache Version:
[glenn@www1 sites-available]$ apache2 -v
Server version: Apache/2.2.9 (Ubuntu)
Server built: Sep 19 2008 13:43:21
On Tue, Feb 17, 2009 at 10:16 AM, Wout Mertens <wm...@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 <ja...@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.
Re: [user] Re: Using a proxy gives test suite errors
Posted by Jan Lehnardt <ja...@apache.org>.
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 <wm...@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 <ja...@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.
>
>
Re: [user] Re: Using a proxy gives test suite errors
Posted by Wout Mertens <wm...@cisco.com>.
Ah, the "nocanon" keyword was the problem. Thanks for that!
I took the liberty of amending the wiki so I would have found it :)
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 <wm...@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 <ja...@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.
Re: [user] Re: Using a proxy gives test suite errors
Posted by Glenn Rempe <gl...@rempe.us>.
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 <wm...@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 <ja...@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.
Re: [user] Re: Using a proxy gives test suite errors
Posted by Wout Mertens <wm...@cisco.com>.
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 <ja...@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.
Re: Using a proxy gives test suite errors
Posted by Jan Lehnardt <ja...@apache.org>.
On 17 Feb 2009, at 19:14, Glenn Rempe wrote:
> 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 :
For the future, poke on dev@ for bug reports, thanks :) I added a
comment
to the issue.
Cheers
Jan
--
Re: Using a proxy gives test suite errors
Posted by Glenn Rempe <gl...@rempe.us>.
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 <ja...@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.
Re: Using a proxy gives test suite errors
Posted by Jan Lehnardt <ja...@apache.org>.
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
--