Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can you get firefox to work locally with the windows subst command?

  • 2 respostas
  • 1 has this problem
  • 13 views
  • Last reply by SimonOC

more options

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?

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?

Chosen solution

Firefox doesn't allow to access local files directly.
It is always best to use relative addressing.

See also:

Ler a resposta no contexto 👍 1

All Replies (2)

more options

Chosen Solution

Firefox doesn't allow to access local files directly.
It is always best to use relative addressing.

See also:

more options

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