Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10072

Broken login redirect when transparently hiding the webapp path through a reverse proxy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.4.2, 6.0-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Scenario:

      • deploy XWiki under a name other than the empty one (ROOT), for example xwiki
      • use xwiki.webapppath=/ in xwiki.cfg
      • configure httpd as a reverse proxy passing http://hostname/ to ajp://localhost:8080/xwiki/
      • while not logged in, access a URL that requires authentication
      • the browser is redirected to http://hostname/xwikibin/login/XWiki/XWikiLogin (note the missing slash between xwiki and bin)

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: