Fix theme editor when using apache redirection
----------------------------------------------

                 Key: NXP-4847
                 URL: https://jira.nuxeo.org/browse/NXP-4847
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.3 GA
            Reporter: Anahide Tchertchian
            Assignee: Anahide Tchertchian
             Fix For: 5.3.1


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";



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to