How can you get firefox to work locally with the windows subst command?
I want to test my website locally using the windows subst command to emulate the root of my website. It works perfectly with IE8 (except IE8 displays the layout different to firefox) but will not work with Firefox. All of the images, styles sheets and anything with a root path does not work. If I use a relative path (../../ for example) to the objects they works fine.
How can I view web pages locally using a website root path?
Soluție aleasă
Firefox doesn't allow to access local files directly.
It is always best to use relative addressing.
See also:
Citește acest răspuns în context 👍 1Toate răspunsurile (2)
Soluție aleasă
Firefox doesn't allow to access local files directly.
It is always best to use relative addressing.
See also:
Now I understand why Firefox does not load local pages and and IE does. I followed the link and tried all the various solutions. The noscript version did not work (but at least I have better security now) and the \\\\\ UNC path trick did nothing. Eventually I downloaded the IEtab plugin and that worked perfectly. All I wanted to do was to check webpages locally before submitting to my website and the IEtab plugin worked perfectly. Thanks