CouchDB
  1. CouchDB
  2. COUCHDB-291

Futon and tests should use relative URLs

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8.1
    • Fix Version/s: None
    • Component/s: Documentation, Futon, Test Suite
    • Labels:
      None
    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      The use of relative URLs in Futon and the client side test suite would allow for the whole package to live happily behind a reverse proxy, including while nested under a deeper path than "/".

        Activity

        Paul Joseph Davis made changes -
        Field Original Value New Value
        Skill Level Regular Contributors Level (Easy to Medium)
        Hide
        Jack Moffitt added a comment -

        I'm not sure that this can be done as stated because Futon uses jquery.couch.js to do the functions and it uses absolute URLs. It's not clear to me how you could deduce what the path prefix is automatically (except in the case of an application like Futon which has a recognizable URL).

        I've attached a patch to fix the issue of Futon working with reverse proxies to https://issues.apache.org/jira/browse/COUCHDB-321

        Show
        Jack Moffitt added a comment - I'm not sure that this can be done as stated because Futon uses jquery.couch.js to do the functions and it uses absolute URLs. It's not clear to me how you could deduce what the path prefix is automatically (except in the case of an application like Futon which has a recognizable URL). I've attached a patch to fix the issue of Futon working with reverse proxies to https://issues.apache.org/jira/browse/COUCHDB-321
        Amos Hayes created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Amos Hayes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development