XWiki Enterprise

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

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.2 RC1
  • Fix Version/s: None
  • Component/s: Blog Application
  • keywords:
    reverse proxy broken html
  • Description:
    Hide

    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>

    Show
    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>

Activity

People

  • Assignee:
    Unassigned
    Reporter:
    Than Htut Soe
  • Votes:
    0
    Watchers:
    0

Dates

  • Created:
    09/Feb/10 11:05
    Updated:
    09/Feb/10 11:05