There was a problem loading the comments.

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

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
You can force this by using a .htaccess file. Remember that the directives inside '.htaccess' files 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

If we 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.

Share via
Did you find this article useful?  

Related Articles

© Eco Web Hosting