couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wout Mertens <>
Subject Using a proxy gives test suite errors
Date Tue, 17 Feb 2009 17:15:52 GMT
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": 

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.



View raw message