Error: "Undefined index: HIL in /usr/etc/portal/PORTAL/libs/PORTAL.obj.php" When Uploading Files with Pilot


There might be cases where you are not able to upload files with Pilot when you are logged in using the Fully Qualified Domain Name (FQDN, i.e., But you are able to do it if you use local hostname or IP of the server. After checking the SSL logs, you should notice an error similar to the following one: 

PHP Notice: Undefined index: HIL in /usr/etc/portal/PORTAL/libs/PORTAL.obj.php on line 9777, referer:



Xinet Portal with SSL configured.



  1. Connect to the server where Xinet Portal is installed.
  2. Open the SSL configuration file with a text editor, the file is located at the following path :
  3. For each <VirtualHost *:443> entry on the referred file, add the ProxyPreseveHost on directive. It should look the following way:
    <VirtualHost *:443>
    ProxyPreseveHost on
    </VirtualHost *:443>
  4. Restart Apache with the following command:
    sudo systemctl start httpd.service



Uploading with Pilot should work fine without any errors.



Back to top



Please sign in to leave a comment.