FreeKB - Apache web server MIME types for video
Apache web server - MIME types for video

Adding the MIME module to Apache configures the server to support videos. Copy the mime.conf file from mods-available to mods-enabled.

[root@server1 ~]# cp /etc/apache2/mods-available/mime.conf /etc/apache2/mods-enabled


Add the following to the bottom of the /etc/apache2/mods-enabled/mime.conf file, add a line for each type of video format you want Apache to support.

AddType video/ogg .ogz
AddType video/mp4 .mp4
AddType video/webm .webm


Restart Apache, and ensure Apache is active and running.

[root@server1 ~]# service apache2 restart
[root@server1 ~]# service apache2 status


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 5bb61 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |