[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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