SID-00038: Can't browse file://///private/documents/abc.doc in firefox
| Status: |
Answered |
TWiki version: |
4.1.2 |
Perl version: |
|
| Category: |
CategoryBrowser |
Server OS: |
Windows/ Ubuntu/ Debian |
Last update: |
17 years ago |
I have a problem with a links
file://///private/documents/abc.doc
in firefox (IE works fine).
If I do a view source and save it as a local file it works fine. If a copy and paste a link to the address bar it does work.
It looka like that link is not recognised. It is very odd
Could you help with it?
--
TomaszTrochanowski - 15 Jan 2009
Discussion and Answer
Firefox doesn't allow access to local links by default (that's a security precaution). See these two link on how to enable local links:
--
MartinKaufmann - 15 Jan 2009
I dont think so that this would solve a problem:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://sam");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
I dont understand this line
user_pref("capability.policy.localfilelinks.sites", "http://sam"); - I have a problem with
file:///// not
http://
Whats more: You create a file.htm from a source code from twiki page (with not working link) and it works as a local file. Nothing is blocked behaves as the IE.
--
TomaszTrochanowski - 15 Jan 2009
Where do you encounter these local links? I assumed that they are embedded in a web page (e.g. in your TWiki installation). The URL of this web page usually starts with
http:// meaning that the origin of the local links is considered to be a remote site.
I had the same issue when I tried to include links from our wiki to our Windows file server. I managed to get these links working in Firefox by following the procedure outlined above.
--
MartinKaufmann - 15 Jan 2009
I have the same problem but I store a bunch of documentation files on a Windows file server. Twiki is installed on the other server (RH Linux). Now if you browse in firefox Twiki and come across a link to documentation in a Windows file server
file://///server/documents/abc.doc
I havent a web server on Windows machine.
--
TomaszTrochanowski - 16 Jan 2009
Firefox has a tighter security model than IE. Too much so, IMHO.
You can get IE-like behavior with a couple of Firefox plugins: see
http://ietab.mozdev.org
or
http://ieview.mozdev.org
--
SeanCMorgan - 13 Feb 2009
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.