Closed misilot closed 5 years ago
@misilot Did you every figure this out? Getting 500 errors
@gstilman from what I can tell is support for httpd_db_handlers is not available in 2.3.x.
So what we ended up doing is a proxy pass in apache directly to the lucene endpoint instead of proxying through couchdb.
yes, that's right. That degree of pluggability was removed due to repeated security issues with it.
@misilot could you please elaborate on that last comment about the "proxy pass in apache directly"? We're having hard time making couchdb 2.3.1 talk to couchdb-lucene. This is pretty much the only post available that looks like our problem and there's no concrete steps listed )
@rnewson could you also suggest smth. The documentation doesnt seem to be correct. I've tried various ways to no avail
@andreyvk Something like this in our apache config. Where couchdb-lucene is listening on port 5985, so we can access it via http://webserver/_fti/ and than pass any arguments you would have done to couch after the last /
<IfModule proxy_http_module>
ProxyPreserveHost On
ProxyPassMatch "/_fti/(.*)$" "http://localhost:5985/$1" timeout=30
ProxyPassReverse "/_fti/(.*)$" "http://localhost:5985/$1" timeout=30
</IfModule>
Thank you so much! Let me try that.
Hi, can the readme be updated to show how to enable the connection now that in 2.3.0 [httpd_db_handlers] has been removed from the configuration? Thanks!