how to create an mpeg4 mimetype (OT) - Solved!
Phil Savoie wrote:
The extension is ".mp4"
I think the best thing to do is rename it to be .mpg as that is
more compatible(no need to change server config).
But if you really want to change the server config you can
edit /etc/mime.types and add an entry for mp4
My CentOS 4.x mime.types entry for video/mpeg:
video/mpeg mpeg mpg mpe
I believe just adding mp4 to the end of the line(with a space
separating it from mpe) would do the trick. Not sure if apache
needs to be restarted after the change but it wouldn't hurt in
This was it. By adding the mp4 at the end of the line you mentioned and
restart httpd did the trick! Thank you *very* much!
CentOS mailing list