[pmwiki-users] Links to files on a network share not working inboth IE and Firefox
Crisp, Steve [UK]
SCRISP at ngms.eu.com
Sun Jul 31 16:29:25 CDT 2005
Good idea, just tried it and it didn't work. Even if it did work I suspect that this would then break Internet Explorer.
I've done much more debugging now and found that this must be a security feature of Mozilla based browsers (perhaps others as well). In the attached file you can see the error messages I am getting. You can override the security here by doing the following:
From a Mozilla-based browser enter 'about:config' in the URL
Set the 'security.checkloaduri' attribute to 'false'
WARNING: This could leave you open to attack by rogue web pages - a web page (well java script) could read a file from your hard disk!
Anyway, in our company we have _other_ security measures and are happy with this configuration internally, so the above works for us.
Thanks for all your help Chistophe - glad I managed to sort it in the end because this was a real pain.
From: Christophe David [mailto:pmwiki at christophedavid.org]
Sent: Sun 31/07/2005 20:23
To: pmwiki-users at pmichaud.com
Cc: Crisp, Steve [UK]
Subject: RE: [pmwiki-users] Links to files on a network share not working inboth IE and Firefox
> Thanks for your reply. To answer your question, no it does not load if I
> enter it in the URL - this is the problem. What works in Mozilla/Firefox
> is "file:///machine_name/directory_path/myfile.doc
> <file:///machine_name/directory_path/myfile.doc> " i.e. three slashes then
> the path.
You can probably use a localmap.txt containing, for example,
and then in your wiki page,
This will render as file:///machine_name/directory_path/myfile.doc
See http://www.pmwiki.org/wiki/PmWiki/CustomInterMap for details.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users