We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

We have lots of external links set up of the form: file://... which work fine with Internet Explorer but not with Firefox. Is there a simple solution to this?

I looked at FirefoxBrowser on codev and FirefoxBrowserIssues but this issue is not mentioned.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin? , ChildTopicTemplatePlugin? , CommentPlugin? , CompareRevisionsAddonPlugin? , EditTablePlugin? , EmptyPlugin? , GenerateSearchPlugin? , GoogleAjaxSearchPlugin? , HistoryPlugin? , InterwikiPlugin? , PreferencesPlugin? , RenderListPlugin? , SearchSummaryPlugin? , SectionalEditPlugin? , SlideShowPlugin? , SmiliesPlugin? , TablePlugin? , TagMePlugin? , TreePlugin? , TwistyPlugin? , WysiwygPlugin
Server OS: Linux 2.6.9-34.elsmp
Web server: Apache/2.2.2 (Fedora)
Perl version: 5.008008 (linux)
Client OS:  
Web Browser: Firefox
Categories: Browser Issue

-- TamsinTweddell - 02 Nov 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Have a look at http://kb.mozillazine.org/Links_to_local_pages_don't_work#Firefox_1.5.2C_SeaMonkey_1.0_and_newer

-- MarkusHesse - 03 Nov 2007

I also have the same problem and as is the way Googled my way to what I though was a solution finding the same link as posted by MarkusHesse? , unfortunately it did not work.

I then posted a query on http://forums.mozillazine.org/viewtopic.php?p=3406786#3406786 and got some help in as far as I can now get Firefox to open an external file and folder from a test.html document. The way it worked was to use 5 slashes as in the following examples.

file://///SERVER/FOLDER/ file://///SERVER/FOLDER/MY.EXE

Unfortunately this stiill doesn’t work in a TWiki page, so when I view page source on the TWiki page it looks exactly the same as my test.html doc which works.

Not sure if I needed the user.js fix as well as the 5 slashes and I'm not sure if it’s Apache or TWiki or a bit of both that is still causing me the problem in TWiki but I'm hoping someone can help soon before we throw Firefox out and submit to the will of Microsoft.

-- TWikiGuest - 12 Jun 2008

In my installation "file://///aa/bb" works well with IE and with firefox but there is also a security correction, IE hasn't problem , firefox for security issues for default doesn't allow this. To solve you must modify security policies, you can change firefox profile, it on windows XP stay on directory:

  • Documents and setting\xxx\Application Data\Mozilla\Firefox\Profiles\xxx
  • NOTE: to discover the directory you can view windows variables with command
    • echo %APPDATA% to know application Data directory or you can go there with command
    • cd %APPDATA%\Mozilla\Firefox\Profiles\*.default
In linux you must go to:
  • /home/user/.mozilla/firefox/*.default to find prefs.js

NOTE: Close Firefox before to do any change!!!
put in file prefs.js the follow statements:

user_pref("capability.policy.policynames", "localfilelinks");   
user_pref("capability.policy.localfilelinks.sites", "http://miowiki.xx.com http://miowiki");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
for other informations you can try docs at:
http://kb.mozillazine.org/Links_to_local_pages_don%27t_work

-- PieroGin - 17 Jun 2008

Hi I have this same issue, my main difference that im not linking to the local file from a webiste, but from a local file. So how do you reference the local environment when lising the "sites" attribute ??

-- BenPatterson - 06 Aug 2008

 
Change status to:
Topic revision: r9 - 06 Aug 2008 - 15:30:37 - BenPatterson
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback