Hi
I'm redesigning our intranet, which is not much more than pages of links to documents on a different, central, server.
I'm having a problem wherby Firefox will not open the linked document.
The links are standard <a href=http://www.webdeveloper.com/forum/archive/index.php/""></a> flavour and not generated, the pages are html and not ASP or JS generated.
E.g.
<a class="url" href=http://www.webdeveloper.com/forum/archive/index.php/"file://srv00123/UUW/Lmd/Global/Standards/PTF%20Procedures.02.doc" title="Creating a PTF">Creating a PTF</a>
The intranet is hosted on a different server from the document resource.
The intranet is running on an Apache server.
All of the links work in IE6 & 7. I have no other CSS/HTML cross-browser compatability issues and the site is CSS and XHTML 1.0 Trans valid.
When I say the links don't work in FF, I mean that nothing happends when I click the link in the browser - no 403 or 404, or even a refresh of the current page.
IE simply loads the document/spreadsheet/pdf in-window.
What gives?!
Thanks
SimonYou've got spaces in the names:
PTF%20Procedures.02.doc
IE will replace these with the "%20" -- but Firefox isn't that forgiving. Try renaming your documents without spaces and see if that solves the problem.
KDLAI have indeed got spaces in the URL's... but as you can see from my example, I have already replaced any spaces with "%20" in the actual href.
ThanksHnag on... do you mean renaming the actual documents? or title/name? or just the URL?Furthermore...
Typing this into FF address bar *will* open the document:
"\\srv00123\UUW\Lmd\Global\Standards\IRIS-Release Procedures.01.doc"
But this won't:
"\\srv00123\UUW\Lmd\Global\Standards\IRIS-Release%20Procedures.01.doc"
Contradicting the thought that FF doesn't like the spaces - it seems okay with them, but not when I use "%20"!!!!!!!!
Any help much appreciated!I opened a local file in Firefox just now and the address to the file starts out with file:/// -- 3 slashes instead of 2. Try that.I've tried that, but with no success.
Could it be a security feature of Firefox not allowing access to mapped network drives so that 'local' files can not be read by a site?Not that I know of. It might be that a remote Web page cannot link to local files. You say that central server is an Apache server. You might need to set up an intranet web server on a private IP address to link the files to.
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://192.168.100.123/UUW/Lmd/Global/Standards/PTF Procedures.02.doc">
As a test, save a local HTML file with a link to that same document as a local file. If the local HTML page opens that local link fine, but the Web page from the server doesn't, it is a security feature in Firefox.I use Fx to view local files all the time. Have you tried accessing a PDF or other "non-Microsoft" document type?
It could be that the file type (.doc) isn't associated with the program. In Fx, go to Tools/Options/Content; at the bottom is a "File Types" section. See if .doc is associated with MS Word.
KDLAFrom the sounds of it, the Download dialog isn't even popping up. If .doc files are not associated with anything, Firefox should prompt the user to Download the file.Could be, unless the program listed is incorrect. I know that I've messed that up before, just by accident when one of those dialogue boxes did come up and I clicked the wrong thing before thinking about what I did. Ah that's true. I've done the same thing, where it wouldn't even spawn the Download dialog because I set Firefox to not Download a certain file type. I wonder, SimonWray, if you can Download .doc files from anywhere on the Internet? Or is it just this intranet that it fails? And how about Opera?I think its a mix of things...
1. The local-file security appears to be a problem as I checked the error console and I am receiving an access denied error on these links. So, I've posted on the Mozilla forum and have been pointed at the LocalLink ad-on. This allows a right-click menu to open local files.
This appears to have solved some symptoms of the problem.
2. I have noted that my File Options contain only a few types- mainly audio, Flash/SW and adobe applications. Nothing is present from MS apps other than WMV. I have managed to get one Word document link to open and am given the dialogue, but even checking the 'do this from now on' box does not give me a File Option entry for .doc and am I prompted again on the next open attempt. XLS and PPT files still do nothing.
Is there a way to add these File Options like you can do in Explorer? there are only Remove and Configure buttons in FF - not an Add button.
Mods - this is not an HTML issue, so feel free to move it.
Thanks
Simon
I'm redesigning our intranet, which is not much more than pages of links to documents on a different, central, server.
I'm having a problem wherby Firefox will not open the linked document.
The links are standard <a href=http://www.webdeveloper.com/forum/archive/index.php/""></a> flavour and not generated, the pages are html and not ASP or JS generated.
E.g.
<a class="url" href=http://www.webdeveloper.com/forum/archive/index.php/"file://srv00123/UUW/Lmd/Global/Standards/PTF%20Procedures.02.doc" title="Creating a PTF">Creating a PTF</a>
The intranet is hosted on a different server from the document resource.
The intranet is running on an Apache server.
All of the links work in IE6 & 7. I have no other CSS/HTML cross-browser compatability issues and the site is CSS and XHTML 1.0 Trans valid.
When I say the links don't work in FF, I mean that nothing happends when I click the link in the browser - no 403 or 404, or even a refresh of the current page.
IE simply loads the document/spreadsheet/pdf in-window.
What gives?!
Thanks
SimonYou've got spaces in the names:
PTF%20Procedures.02.doc
IE will replace these with the "%20" -- but Firefox isn't that forgiving. Try renaming your documents without spaces and see if that solves the problem.
KDLAI have indeed got spaces in the URL's... but as you can see from my example, I have already replaced any spaces with "%20" in the actual href.
ThanksHnag on... do you mean renaming the actual documents? or title/name? or just the URL?Furthermore...
Typing this into FF address bar *will* open the document:
"\\srv00123\UUW\Lmd\Global\Standards\IRIS-Release Procedures.01.doc"
But this won't:
"\\srv00123\UUW\Lmd\Global\Standards\IRIS-Release%20Procedures.01.doc"
Contradicting the thought that FF doesn't like the spaces - it seems okay with them, but not when I use "%20"!!!!!!!!
Any help much appreciated!I opened a local file in Firefox just now and the address to the file starts out with file:/// -- 3 slashes instead of 2. Try that.I've tried that, but with no success.
Could it be a security feature of Firefox not allowing access to mapped network drives so that 'local' files can not be read by a site?Not that I know of. It might be that a remote Web page cannot link to local files. You say that central server is an Apache server. You might need to set up an intranet web server on a private IP address to link the files to.
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://192.168.100.123/UUW/Lmd/Global/Standards/PTF Procedures.02.doc">
As a test, save a local HTML file with a link to that same document as a local file. If the local HTML page opens that local link fine, but the Web page from the server doesn't, it is a security feature in Firefox.I use Fx to view local files all the time. Have you tried accessing a PDF or other "non-Microsoft" document type?
It could be that the file type (.doc) isn't associated with the program. In Fx, go to Tools/Options/Content; at the bottom is a "File Types" section. See if .doc is associated with MS Word.
KDLAFrom the sounds of it, the Download dialog isn't even popping up. If .doc files are not associated with anything, Firefox should prompt the user to Download the file.Could be, unless the program listed is incorrect. I know that I've messed that up before, just by accident when one of those dialogue boxes did come up and I clicked the wrong thing before thinking about what I did. Ah that's true. I've done the same thing, where it wouldn't even spawn the Download dialog because I set Firefox to not Download a certain file type. I wonder, SimonWray, if you can Download .doc files from anywhere on the Internet? Or is it just this intranet that it fails? And how about Opera?I think its a mix of things...
1. The local-file security appears to be a problem as I checked the error console and I am receiving an access denied error on these links. So, I've posted on the Mozilla forum and have been pointed at the LocalLink ad-on. This allows a right-click menu to open local files.
This appears to have solved some symptoms of the problem.
2. I have noted that my File Options contain only a few types- mainly audio, Flash/SW and adobe applications. Nothing is present from MS apps other than WMV. I have managed to get one Word document link to open and am given the dialogue, but even checking the 'do this from now on' box does not give me a File Option entry for .doc and am I prompted again on the next open attempt. XLS and PPT files still do nothing.
Is there a way to add these File Options like you can do in Explorer? there are only Remove and Configure buttons in FF - not an Add button.
Mods - this is not an HTML issue, so feel free to move it.
Thanks
Simon