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 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: >> >> ServerName couchdb.rempe.org >> DocumentRoot /var/www/couchdb.rempe.org >> AllowEncodedSlashes On >> ProxyRequests Off >> KeepAlive Off >> >> Order deny,allow >> Deny from all >> Allow from all >> >> ProxyPass / http://localhost:5984/ nocanon >> ProxyPassReverse / http://localhost:5984/ >> >> >> Cheers, >> >> Glenn >> >> >> >> >> On Tue, Feb 17, 2009 at 9:30 AM, Jan Lehnardt wrote: >>> >>> On 17 Feb 2009, at 18:15, Wout Mertens wrote: >>> >>>> {"error":"unknown","reason":">>> 2.0//EN\">\n\n404 Not >>>> Found\n\n

Not Found

\n

The requested URL >>>> /test_suite_db/_design/test was not found on this >>>> server.

\n\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.