Bootstrap FreeKB - Apache (Web Server) - MIME types for video
Apache (Web Server) - MIME types for video

Updated:   |  Apache (Web Server) articles

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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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