Union flag call 0330 660 0255status support
log in
  • Heart Internet mobile logo
  • Heart Internet Logo
  • Reseller Hosting
  • Premium Hosting
  • Web Hosting
  • VPS
  • Dedicated Servers
  • More

For account and billing queries call our helpline
0330 660 0255

For technical issues relating to your hosting please use our Support database



For information on the status of the Heart servers please use our status page

Heart Internet Support Database
  • Get support
  • Suggest a question
All Categories
Expand
Category
Accounts and Billing (54)
Expand
Category
Add-Ons (84)
Expand
Category
cPanel Web Hosting (26)
Expand
Category
Domain Names (203)
Expand
Category
Email Hosting (153)
Expand
Category
Managed WordPress (147)
Expand
Category
Reseller Hosting (162)
Expand
Category
Servers (514)
Collapse
Category
Web Hosting (650)
Expand
Category
Databases (75)
empty
Category
eXtend Control Panel (24)
empty
Category
FTP (20)
empty
Category
Glossary (28)
Expand
Category
Programming Languages (139)
empty
Category
Site Management (47)
Expand
Category
Software (120)
empty
Category
Website Extras (37)
empty
Category
Website Problems (45)
Home » Categories » Multiple Categories

How can I make sure this custom filetype is recognised?

Article Number: 476 | Rating: Unrated | Last Updated: Thu, Apr 23, 2015 at 12:40 PM

If you have a filetype that isn’t being recognised by the server, you can force it through using the .htaccess file.

Editing the .htaccess file lets you override the default file associations, and point certain file extensions to user-specified handlers.

To add in a new file type:

  1. Download your existing or create a new .htaccess file
  2. Add in the following line:

AddHandler [type] [file extension]
Where the [type] is replaced by what type of handler you want the file extension to be read by, and [file extension] is the extension itself.

  1. Save your .htaccess file and upload to the directory

Remember that an .htaccess file not only works for the directory you have placed it in, but for all subdirectories as well.

For example, if you wanted all files with the extension of .cat to be processed as a cgi program, you would put into your .htaccess file:

AddHandler cgi-script .cat

If you think that your particular file extension is something that should be recognised across our servers, please let us know.

Posted - Tue, Mar 17, 2015 at 3:37 PM.
Filed Under: Site Management, Web Hosting, Website Problems
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PrinterPrint Article
  • Icon EmailEmail Article to Friend
  • Icon PDFExport to PDF
Related Articles
How do I get support from the Heart Internet Customer Services team?
Added on Tue, Mar 3, 2015
What does this website status code mean?
Added on Wed, Apr 1, 2015
If I’ve bought my domain from another registrar, how can I host my website with you?
Added on Tue, Mar 10, 2015
How do I order an SSL Certificate?
Added on Tue, Dec 15, 2020
Why can’t I connect to my site using FTP?
Added on Fri, Mar 13, 2015
 
Heart Internet Logo
Services
  • Domain Names
  • Web Hosting
  • Premium Hosting
  • Reseller Hosting
  • More
  • Virtual Private Servers
  • Dedicated Servers
  • Sign Up
Company
  • About Heart Internet
  • Our Blog
  • Support
  • Our Awards
  • More
  • Careers
  • Contact Us
  • Testimonials and Reviews
Community
  • Affiliate Program
  • Events We Sponsor
© 2016 Heart Internet Ltd. All rights reserved.
Terms and conditions Privacy Policy Sitemap
Heart Internet Logo