Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-122654

Control Panel fails with custom portal.proxy.path

    Details

      Description

      1. Add portal.proxy.path=/portal to the portal-ext.properties
      2. Configure apache to proxy through /portal to the app server:
      3. Enable mod proxy:
        a2enmod proxy
        
      4. Open /etc/apache2/sites-enabled/000-default.conf
      5. Insert the following lines:
        ProxyRequests On
        ProxyPass /portal ajp://localhost:8009
        ProxyPassReverse /portal http://localhost:8009
        
      6. Start apache:
        service apache2 start
      7. Open Control Panel -> System Settings -> API Authentication
      8. Choose "Image Request" (or other) and no data appears.

      I see request to "https://www.example.com/o/dynamic-data-mapping-form-field-types?p_auth=NqnbHHlm" (without the proxy.context.path specified in protal-ext.properties)

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            m.turra@ads.it Matteo Turra
            Participants of an Issue:
            Recent user:
            Christophe Cariou
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 week, 3 days ago

                Packages

                Version Package