[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

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

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
nickedwards
Asked:
nickedwards
  • 3
  • 3
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
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
 
nickedwardsAuthor Commented:
It's a Linux box with cpanel setup.
0
 
nickedwardsAuthor Commented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Dave BaldwinFixer of ProblemsCommented:
Do you have an 'htaccess' file that changes or rewrites anything?
0
 
nickedwardsAuthor Commented:
Yes, I did at one point. I've since removed it but I guess it's still cached.
0
 
Dave BaldwinFixer of ProblemsCommented:
Try "index-3.htm" and see if that loads.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now