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

xwiki.home does not work as advertised

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0 M3
    • Component/s: {Unused} Core
    • Labels:
      None
    • Environment:
      Zeus Web Server gateway (map /xwiki --> localhost:8080)
       -> Glassfish v3 -> Xwiki 2.7 or 3.0-M1 or M2
    • keywords:
      Zeus, x-forwarded-host
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Xwiki.Home in xwiki.cfg does not work as advertised.
      Setting it to "real site URL" has no apparent effect.

      With the help of cjdelisle on IRC, we tracked this down to xwiki
      behind a proxy expects "X-Forwarded-Host".
      Without that, it uses the "Host" line which ZWS has (curiously)
      re-written to be "Host: localhost:8080"

      This causes brokenness in,
      the login xredirect link.
      the js that drives the wysiwyg editor to never load.

        Attachments

          Activity

            People

            • Assignee:
              calebjamesdelisle CalebJamesDeLisle
              Reporter:
              bunny Bunny Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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