sklassen opened a new pull request #3334: URL: https://github.com/apache/couchdb/pull/3334
## Overview This relates to issue #3333 If erlang's current working directory become unreadable, the fauxton (and any other relative paths) yields 404 Not found. ## Testing recommendations I changed the couchdb.in and re-ran the server with an absolute path. ``` simon@sigyn:couchdb$ export COUCHDB_FAUXTON_DOCROOT=/home/simon/src/github.com/apache/couchdb/share/www/ simon@sigyn:couchdb$ ./dev/run -n 1 ``` ``` simon@sigyn:couchdb$ ./dev/remsh Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] Eshell V10.6.4 (abort with ^G) ([email protected])1> pwd(). /home/simon/src/github.com/apache/couchdb ok ([email protected])2> cd("/tmp"). /tmp ok ``` Fauxton website return 200 and was operational. ## Related Issues or Pull Requests None. ## Checklist - [X] Code is written and works correctly - [X] Changes are covered by tests - [X] Any new configurable parameters are documented in `rel/overlay/etc/default.ini` - [X] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation ---------------------------------------------------------------- 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: [email protected]
