Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4847

Fix theme editor when using apache redirection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3 GA
    • Fix Version/s: 5.3.1
    • Component/s: None

      Description

      When using a simple apache configuration, theme editor is not behaving correctly, producing a "page not found" error in a javascript popup when trying to edit a fragment (for instance).

      Error is not visible when loading the theme editor, it becomes apparent when trying to edit the theme.

      Steps to reproduce:

      • install apache2
      • setup proxy and proxy_http modes (a2enmod proxy, a2enmod proxy_http)
      • setup redirection:

      <VirtualHost *:80>

      ProxyVia On
      ProxyRequests Off
      #RewriteEngine On

      ProxyPass /nuxeo/ http://127.0.0.1:8080/nuxeo/
      ProxyPassReverse /nuxeo/ http://127.0.0.1:8080/nuxeo/

      </VirtualHost>

      Looking at the html source, the base path for theme is wrong:
      var nxthemesBasePath = "/nuxeo";
      instead of
      var nxthemesBasePath = "/nuxeo/site";

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: