Why does Firefox want to download my index.xhtml file?

Discussion in 'Site & Server Administration' started by Odublar, Jan 20, 2006.

  1. #1
    Whenever people or myself visit a index.xhtml file on another site of mine, it always asks if I want to open it or save it to a disk.

    This only happens in FF, not IE. Which is wierd.

    Has anyone ever had this problem? Please, any help would work wonders.

    Thanks in Advance.

    Steven
     
    Odublar, Jan 20, 2006 IP
  2. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Probably because .xhtml is not a valid extension (though you could set up your server to make it valid, I think by creating new MIME types).

    Make the extension .html, and you'll be fine. This is the proper extension, even for an XHTML document :)
     
    the_pm, Jan 20, 2006 IP