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

URL is inconsistent when accessing the site with a domain which is not virtual host.

    Details

      Description

      ISSUE:
      The URL in address bar is inconsistent when visiting public page.

      Steps to reproduce:
      1) Make the following changes to your host file:
      127.0.0.1 abc.stage.ogilvy.com
      127.0.0.1 def.stage.ogilvy.com
      127.0.0.1 intranet.stage.ogilvy.com
      2) Restart your server.
      3) Change the virtual host in the Portal Settings to "intranet.stage.ogilvy.com". Control Panel --> Portal Settings --> Save.
      4) Logout
      5) Login to the portal with http://abc.stage.ogilvy.com:8080/web/guest/home
      6) Go to Control Panel --> Sites --> Click on a site -> Action -> Go to public page.

      RESULTS OF TESTING
      The links are changing to the virtual host but it should be changed to the
      URL being used, e.g. http://abc.stage.ogilvy.com:8080.

      This issues only happens when the virtual host is not set as localhost.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              john.zhao John Zhao (Inactive)
              Reporter:
              john.zhao John Zhao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M3