You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/01/01 17:43:41 UTC
[GitHub] [couchdb-fauxton] WBGSReject commented on issue #1199: Provide
mechanism for hosting in subdirs behind reverse proxies
WBGSReject commented on issue #1199: Provide mechanism for hosting in subdirs behind reverse proxies
URL: https://github.com/apache/couchdb-fauxton/issues/1199#issuecomment-570070552
> **!Use with caution!**
>
> The following fix handles this problem: [Fix db url in fetchDatabaseInfo()](https://github.com/apache/couchdb-fauxton/commit/49518da097331bde11fbe9c06d2931c5b55b0ec9)
>
> If you want to be bold, then you can add the change manually. Go and replace the following part in your bundle.xxx.js in folder /opt/couchdb/share/www
>
> `var t=r.default.urls("databaseBaseUrl","server",e),n=u.default.getServerUrl(t);`
> with
> `n=r.default.urls("databaseBaseUrl","server",e);`
pas - I tried this but Fauxton just broke in a different way. After looking at Antonio-Maranhao's #1191 fix I guessed that where you put "databaseBaseUrl" it should actually say "databaseBaseURL" as the last three characters in the official fix are capital letters. This worked for me and Fauxton is now running happily from a subdirectory behind NGinx. Of course I would rather install the next version of CouchDb with the official fix, but thanks for allowing me to run Fauxton like this in the meantime.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services