Results 1 to 13 of 13

Thread: Href to Doc on Server not working in FF

  1. #1
    Join Date
    Jan 2006

    Question Href to Doc on Server not working in FF


    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=""></a> flavour and not generated, the pages are html and not ASP or JS generated.

    <a class="url" href="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?!


  2. #2
    Join Date
    Jan 2005
    You've got spaces in the names:

    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.


  3. #3
    Join Date
    Jan 2006
    I 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.


  4. #4
    Join Date
    Jan 2006
    Hnag on... do you mean renaming the actual documents? or title/name? or just the URL?

  5. #5
    Join Date
    Jan 2006

    Typing this into FF address bar *will* open the document:
    "\\srv00123\UUW\Lmd\Global\Standards\IRIS-Release Procedures.01.doc"

    But this won't:

    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!

  6. #6
    Join Date
    Feb 2003
    Michigan, USA

  7. #7
    Join Date
    Jan 2006
    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?

  8. #8
    Join Date
    Feb 2003
    Michigan, USA
    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.
    HTML Code:
    <a href=" 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.

  9. #9
    Join Date
    Jan 2005
    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.


  10. #10
    Join Date
    Feb 2003
    Michigan, USA

  11. #11
    Join Date
    Jan 2005
    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.

  12. #12
    Join Date
    Feb 2003
    Michigan, USA
    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?

  13. #13
    Join Date
    Jan 2006
    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.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.13871 seconds
  • Memory Usage 2,987KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (13)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (13)postbit
  • (13)postbit_onlinestatus
  • (13)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates