Greeting Danijel,
From the source codes of rtc_webserver (FileProvider module to be exact), the server is getting docroot from the hostlist which read from the rtcWebserver.ini [Hosts] section with only an entry that is
*=.\. I have my webpages in a subfolder called "html" hence i change the entry to
*=.\html\. Everything works fine if the server is listening on port 80. However when i change the listening port to 8090 I get inconsistent result sometimes only displaying the html text, sometimes with the background image etc. Please do advise on how to make this works.
Another question, On using port 80 (std port)
http://localhost will trigger the FileProvider.CheckRequest event which called RepairFileName to append the valid default index page(list from rtcwebserver.ini) to display the page. However, this does not happen on non standard port (esp 8090), in fact when i try to put
http://localhost:8090 (without the /index.html) the FileProvider.CheckRequest is not triggered at all. Just wondering if this is standard behaviour of webserver?
Thanks in advance