Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Firefox doesn't know how to open this address, because the protocol (c)

  • 8 antwoorden
  • 5 hebben dit probleem
  • 7 weergaven
  • Laatste antwoord van t0t0

more options

this happens when trying to open a local file using a local server (example: easyPHP): my file is located at:

C:\Program Files\EasyPHP-5.3.9\www\myweb\test.php

and my index page has a link to it. The link is generated depending if I am working local or not.

this happens when trying to open a local file using a local server (example: easyPHP): my file is located at: C:\Program Files\EasyPHP-5.3.9\www\myweb\test.php and my index page has a link to it. The link is generated depending if I am working local or not.

Alle antwoorden (8)

more options

Correct syntax would be - file:///C:/Program Files/EasyPHP-5.3.9/www/mysite/test.php

Open file with Firefox button > New Tab > Open File (or File > Open File on the Menu Bar) to see the correct syntax in the Location/URL bar. CTRL+o (the letter O) will also open the Open File dialog.

See - http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don%27t_Work


Other - You should check your Plugins and update as needed:

  1. Check your Plugins - https://www.mozilla.org/en-US/plugincheck/
  2. Adobe PDF Plug-In For Firefox and Netscape "9.5.1"

Bewerkt door TheOldFox op

more options

You can open that file in Firefox via New Tab > Open File to see the correct path with the file:// protocol (file://localhost/C:/)

Note that Firefox won't allow to open local pages via a direct link, only a relative link to a higher directory is allowed.

more options

I already tried with file://localhost/C:/. it works for html pages but not .php extensions.... shame that Fierefox does not allow local path: it's quite useful for developing websites local (using aliases....) there is no way to do that?

more options
  1. That should be "file:///" with 3 "/" not 2 "/" as you indicate.
  2. Did you try opening using the Open File suggestion above?
    • Open file with Firefox button > New Tab > Open File (or File > Open File on the Menu Bar) to see the correct syntax in the Location/URL bar. CTRL+o (the letter O) will also open the Open File dialog.

Bewerkt door TheOldFox op

more options

Yes I did. sorry I mistyped the url: one / was missing. in my answer. I copied it from the open file.

more options

as I said "open file" works with html files, but not using php files

more options

The only other suggestions that I can find for you; maybe you can adapt them to your situation:

more options

It does not help... shame. I wanted to be the most general as possible, but I reached the limits of the friendship between firefox and easyPhp or wamp. I'll work with hardcoded relative path instead, no wories ;-)