All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

MIME types and .htaccess in Linux Hosting

Viewing post 1 to 7 (7 total posts)
Profile picture of Domingo4GH

domingo4gh said 1 year, 1 month ago:

Hi, I use 4GH Linux hosting and I want to add mp4 mime type to my root .htaccess file as explained in:

http://support.godaddy.com/help/375/can-i-configure-mime-types-on-my-linux-hosting-account

I have tried: AddType video/mp4 mp4 and: AddType video/mp4 .mp4 waited several hours for the changes to take effect, but it is not working and uploaded videos are not playing. How can I fix it?

BTW, I have hosting configuration 2.2

Profile picture of nathantf

GoDaddy Expert nathantf said 1 year, 1 month ago:

@domingo4gh

The following is an example of how to enable mp4 support. Each line should be encapsulated by the less-than/greater-than symbols.

configuration
system.webServer
staticContent
mimeMap fileExtension=”.mp4″ mimeType=”video/mp4″ /
/staticContent
/system.webServer
/configuration

Nathan

Profile picture of Domingo4GH

domingo4gh said 1 year, 1 month ago:

nathantf, it seems that the configuration you posted is for Microsoft IIS.
Remember I’m using Apache in Linux, so I need the correct .htaccess mime parameters.

Profile picture of Baillee

GoDaddy Expert Baillee said 1 year, 1 month ago:

@domingo4gh

I apologize for any confusion in this matter. Check out this article for some additional information:

Can I configure MIME types on my Linux Hosting Account?

Hope this helps!

Baillee

Profile picture of 847Electric

847electric said 1 year, 1 month ago:

any luck Domino? I’m sitting were your at right now

Profile picture of Domingo4GH

domingo4gh said 1 year, 1 month ago:

@847electric: I have already solved this on my own last Saturday, it seems that for the edited root .htaccess file to override current configuration you *must* stop web services processes from your hosting configuration panel. These processes seem to restart automatically after you stop them, so there is no need/option to restart web processes manually. I’ve used these MIME parameters:

AddType application/x-shockwave-flash swf
AddType video/mp4 mp4

Good Luck!

Profile picture of TimB

GoDaddy Expert timb said 1 year, 1 month ago:

@domingo4gh

Thanks for posting this update, I’m sure it’ll help out our other users!

Tim B

Add a reply:

You will auto join this group when you reply to this topic.

When posting about a technical issue, please be sure to include as many details as possible, such as your domain name, related URLs and other pertinent information. This consideration will allow us to better understand the situation and quickly assist you.