After digging a bit in the JS files, I may have found a lead to the issue we encounter.
Our server setup is as follows:
The Webservice runs under this URL:
Code: Select all
http://hostmonitor.ourdomain.local:8081/
Code: Select all
https://ourpublichost.at/hmadmin/
This seems to work fine, except the XHRs from Javascript are called with a wrong URL, for example:
Code: Select all
https://ourpublichost.at/data_update.txt?js=1&fid=-1&synctime=-1&ts=1396447148123
Code: Select all
https://ourpublichost.at/hmadmin/data_update.txt?js=1&fid=-1&synctime=-1&ts=1396447148123
Internally, that works, because:
Code: Select all
http://hostmonitor.ourdomain.local:8081/" + ../data_update.txt => http://hostmonitor.ourdomain.local:8081/data_update.txt
http://hostmonitor.ourdomain.local:8081/ + ../../data_update.txt => http://hostmonitor.ourdomain.local:8081/data_update.txt
Code: Select all
https://ourpublichost.at/hmadmin/ + ../data_update.txt => https://ourpublichost.at/data_update.txt
https://ourpublichost.at/ + ../../data_update.txt => https://ourpublichost.at/data_update.txt
For the root page / or /index.htm it seems that the "../"-prefixes could be dropped in the JS without side effects, as the XHR-URLs are built relatively to the document they are called from, not the JS file they are called from.[/code]