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 2021/01/18 13:59:44 UTC
[GitHub] [couchdb] sklassen opened a new pull request #3334: Allow Fauxton docroot to be overridden (#3333)
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)
(node1@127.0.0.1)1> pwd().
/home/simon/src/github.com/apache/couchdb
ok
(node1@127.0.0.1)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:
users@infra.apache.org
[GitHub] [couchdb] sklassen commented on pull request #3334: Allow Fauxton docroot to be overridden (#3333)
Posted by GitBox <gi...@apache.org>.
sklassen commented on pull request #3334:
URL: https://github.com/apache/couchdb/pull/3334#issuecomment-762272139
> That PR is not quite right :)
Let me try again. I thought I had sync'd with 3.x branch.
----------------------------------------------------------------
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
[GitHub] [couchdb] sklassen closed pull request #3334: Allow Fauxton docroot to be overridden (#3333)
Posted by GitBox <gi...@apache.org>.
sklassen closed pull request #3334:
URL: https://github.com/apache/couchdb/pull/3334
----------------------------------------------------------------
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
[GitHub] [couchdb] janl commented on pull request #3334: Allow Fauxton docroot to be overridden (#3333)
Posted by GitBox <gi...@apache.org>.
janl commented on pull request #3334:
URL: https://github.com/apache/couchdb/pull/3334#issuecomment-762269089
That PR is not quite right :)
----------------------------------------------------------------
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