Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8919

css and js files not found when accessing web page using IP address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • ghx-label-1

    Description

      Not sure if this is a bug or it's required by some security compliance. If we access the web page using IP address instead of hostname, the css and js files can't be loaded if the IP and hostname is not bounded in /etc/hosts.

      To be specific, css and js links in the web page of http://$IP:25000 are something like http://$hostname:25000/www/jquery/jquery-3.4.1.min.js. Loading of them could fail if $hostname is not configured in /etc/hosts.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: