ICEmobile
  1. ICEmobile
  2. MOBI-272

Augmented Reality icons are not displayed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Beta
    • Fix Version/s: 1.1 Beta
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEmobile

      Description

      When deployed behind an apache httpd server, the location icons are not displayed.

        Activity

        Hide
        Ted Goddard added a comment -

        The fix is to use the x-forwarded-host header from httpd:

        String serverName = externalContext.getRequestHeaderMap()
        .get("x-forwarded-host");
        if (null == serverName)

        { serverName = externalContext.getRequestServerName() + ":" + externalContext.getRequestServerPort(); }
        Show
        Ted Goddard added a comment - The fix is to use the x-forwarded-host header from httpd: String serverName = externalContext.getRequestHeaderMap() .get("x-forwarded-host"); if (null == serverName) { serverName = externalContext.getRequestServerName() + ":" + externalContext.getRequestServerPort(); }

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: