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:
- Download your existing or create a new .htaccess file
- 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.
- 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.