CouchDB
  1. CouchDB
  2. COUCHDB-291

Futon and tests should use relative URLs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • 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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        2053d 15h 17m 1 Alexander Shorin 30/Oct/14 07:32
        Alexander Shorin made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Alexander Shorin added a comment -

        Closing since Futon test suite is no longer available unless you really know how to get it and seems COUCHDB-321 fixes Futon for reverse proxy.

        Show
        Alexander Shorin added a comment - Closing since Futon test suite is no longer available unless you really know how to get it and seems COUCHDB-321 fixes Futon for reverse proxy.
        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:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development