Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mime types settings

I am using Ipage as a web host and I recently figured that an Html document I have on my server wouldn't work because a json.z file it is using is read by the browser as "text/html" instead of "application/json; charset=UTF-8" (checked it out in fiddler).

How can I change this? Is it possible in a host like Ipage to set mime types or even view the list to find an extension which will be supported as "application/json; charset=UTF-8"?

If not, It's not the first time that Ipage's "simplicity" limits my possibilities, what other hosts are more professional and will enable me to do that?

like image 505
tomermes Avatar asked Apr 13 '26 22:04

tomermes


1 Answers

To set mime types on your server edit the ".htaccess" file, here is how:
http://www.htaccess-guide.com/adding-mime-types/

Specificly on ipage there is a ".htaccess editor" which is easily reachable in the control panel and there you can add mime types:
http://members.ipage.com/controlpanel/htaccess/?m=mimetypes

like image 198
tomermes Avatar answered Apr 17 '26 00:04

tomermes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!