August Hosting OFFER, 60% OFF for 6 MONTHS. Offer Includes Website, VPS and WordPress Hosting Plans. USE CODE "AUGUST22"
  • Days,
  • Hours,
  • Minutes,
  • Seconds

A custom filetype isn't being recognised, how can I make sure it is?

You can force this through using a '.htaccess' file. Remember that the directives inside an '.htaccess' file apply not only to the directory in which the '.htaccess' file is placed, but also to its subdirectories too.

To override the default file associations and reorient the mapping of given file extensions to user-specified handlers, the AddHandler directive can be invoked

Suppose it is desired that all files with the extension of '.cat' be recognized and processed by the server as a cgi program -

AddHandler cgi-script .cat

If you think a given MIME type is worthy of server-wide recognition, please let us know.  

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 When I try and view my website I get an HTTP Error 403 - Forbidden message.

A '403 Forbidden' message means that the browser has requested a page that it is not permitted to...

 When I try and view my website I get an HTTP Error 403 - Forbidden message.

A '403 Forbidden' message means that the browser has requested a page that it is not permitted to...

 My links are not working. What is wrong?

First of all, check that the link is correctly spelled, and that the correct case is used -...

 My links are not working. What is wrong?

First of all, check that the link is correctly spelled, and that the correct case is used -...

 I've put up my site but I still see the standard index page. What's up?

When we create a hosting package, we place a simple index.html holding page into the public_html...

Powered by WHMCompleteSolution