Uploaded image for project: 'Blog Application'
  1. Blog Application
  2. BLOG-17

Behind Reverse proxy XWIKI generates links with html fragments mostly visible on Blog page.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Previous versions in xwiki-platform
    • reverse proxy broken html

    Description

      Here is the same problem found on the mailing list.
      http://www.mail-archive.com/users@xwiki.org/msg10504.html

      However, adding <Set name="forwarded">true</Set> into the Jetty configuration file solved this problem.
      I don't know the details of this problem but it could be that there's something wrong with rendering URLs with span's broke the html
      when XWIKI is behind Reverse proxy.

      <Call name="addConnector">
      <Arg>
      <New class="org.mortbay.jetty.nio.SelectChannelConnector">
      <Set name="host"><SystemProperty name="jetty.host" /></Set>
      <Set name="port"><SystemProperty name="jetty.port" default="8080"/>
      <Set name="forwarded">true</Set>
      <Set name="maxIdleTime">30000</Set>
      <Set name="Acceptors">2</Set>
      <Set name="statsOn">false</Set>
      <Set name="confidentialPort">8443</Set>
      <Set name="lowResourcesConnections">5000</Set>
      <Set name="lowResourcesMaxIdleTime">5000</Set>
      </New>
      </Arg>
      </Call>

      Attachments

        Activity

          People

            Unassigned Unassigned
            than Than Htut Soe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: