SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My site is inaccessible. Firefox asks how I wish to open html file?

    Hello,

    A site that I worked on has recently become inaccessible... when I go to the home page, Firefox pops up a box that asks "You have chosen to open... which is a Firefox document. What should firefox do with this file? Open with... or Save file..."

    Crazy. No changes from my end were made. Any reason or cause as to why this may be happening?

    See http://preview.tinyurl.com/5hufx4

    Thanks.-Josh

  2. #2
    Nicking the Bevel Highway Seven's Avatar
    Join Date
    Nov 2008
    Location
    The Open Road
    Posts
    350
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check your file directory. Is your index.htm file present? (I'm assuming this is in reference to an HTML site, since you posted this in the HTML/XHTML forum)
    Daniel

  3. #3
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi dcfauno,

    Yes, index.html is and has always been there. Very simple site with a handful of html pages... again, nothing has changed or been worked on with the site. This just seemed to appear out of the blue!

    -Josh

  4. #4
    Nicking the Bevel Highway Seven's Avatar
    Join Date
    Nov 2008
    Location
    The Open Road
    Posts
    350
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like an issue with the server then. Contact your web host.
    Daniel

  5. #5
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by JCary
    Hi dcfauno,

    Yes, index.html is and has always been there. Very simple site with a handful of html pages... again, nothing has changed or been worked on with the site. This just seemed to appear out of the blue!

    -Josh
    It is probably a faulty .htaccess file in the root directory. I guess it has a screwed up RewriteRule that picks up the index file request and outputs a random filename without a suffix.

    SitePoint has a good article on the RewriteEngine use.
    Happy ADD/ADHD with Asperger's

  6. #6
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the replies. Yep, turns out it was a conflict between my .htaccess file and a recent server upgrade... all fixed, web host provided great support on it to resolve the issue.

    -Josh


Bookmarks

Posting Permissions

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