Forum Moderators: phranque
I have a professionally hosted domain which allows me to use .htaccess files. I have confirmed that this is the case, since the AddHandler directives do work.
Now, I simply have the following in a .htaccess file which resides at my root directory.
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
AddType application/x-ms-application .application
AddType application/octet-stream .deploy
AddType application/x-ms-manifest .manifest
Unfortunately, any .application files which are served from my site (not necessarily from my root directory) are sent with a Content-Type of "text/plain". In short, not obeying my AddType directive.
I have confirmed the following:
1. That the .htaccess file is being read and used by Apache
2. That I have the correct line endings
3. And, I am told, that "AllowOverride All" is used in the Apache config.
Does anyone have any ideas on why my .application files are not having their content type properly set?
Thanks much.