Solved

My web site pushes a download of index.html instead of displaying

Posted on 2011-03-20
6
159 Views
Last Modified: 2012-05-11
When a user visits a site I've put together the site forces a download of the HTML files rather than display them - what's going on?!
0
Comment
Question by:nickedwards
  • 3
  • 3
6 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 35176638
That is usually because the server doesn't have the MIME type for those files.  Which admittedly would be odd but it happens.  What server are you using?
0
 
LVL 1

Author Comment

by:nickedwards
ID: 35176647
It's a Linux box with cpanel setup.
0
 
LVL 1

Author Comment

by:nickedwards
ID: 35176658
Infact it's only files which have index in the file name and are HTML. For example, index-3.html is affected whilst index-3.php and tester.html are not.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 35176689
Do you have an 'htaccess' file that changes or rewrites anything?
0
 
LVL 1

Author Comment

by:nickedwards
ID: 35176817
Yes, I did at one point. I've since removed it but I guess it's still cached.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 35177017
Try "index-3.htm" and see if that loads.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now