Please help me understand how to do this.
I have an RTC server which is essentially a webserver. The application can be installed anywhere on the computer, for that reason, the html, CSS, javascript pages are saved in a subfolder where my app will be installed , let's say in C:\MyAppDir\Bin\WebPages (where the Bin folder is where my app will be installed). So the "WebPages" folder will include all the html pages as well as a few more subfolders that will include some CSS and JS files.
Now, in my webserver, I have a dataprovider routine that is used to simply display the index.html page (i.e.
www.mysite:8081/DisplayIndex ).
When I used it, the index.html
IS displayed,
however, all it's included references to any CSS or JS files are broken:
Failed to load resource http://mysite:8081/settings.js
Failed to load resource http://mysite:8081/inc/css/slides.css
I looked at the WebForum example and saw some RepairFileName and GetRoot routine but I must admit, I am not too sure of their purposes.
What do I need to do to fix the broken CSS/JS broken links?
Or in other words, what do I need to do to have all my webpages and included files in a subfolder of my application?
Please pardon my ignorance as I am new to RTC.
Thanks in advance,
Richard