In XAMPP, one has to create a virtual host to make root-relative URLs work locally as well. Without it, a link like
<script src="/x-files/pretext-script.js"></script>
will work fine on the remote server, but on the local server will throw an error:
Loading failed for the <script> with source "localhost/x-files/pretext-script.js"
How is that in WAMP?
<script src="/x-files/pretext-script.js"></script>
will work fine on the remote server, but on the local server will throw an error:
Loading failed for the <script> with source "localhost/x-files/pretext-script.js"
How is that in WAMP?