Re: how to create an mpeg4 mimetype (OT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Phil Savoie wrote:
>

> Hi Nate,
>
> 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
any case.

nate


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux