Настройка mod_mime_magic (MSK-310)

Настройка mod_mime_magic (MSK-310)

  1. Подключение mod_mime_magic
    sudo a2enmod mime_magic
    Результат:

        Enabling config file mime_magic.conf.

        To activate the new configuration, you need to run:

        service apache2 restart

    Перезагружаем apache2 командой
           sudo service apache2 restart

       2. Проверка работы

    1. http://www.browserstack.com/start Добавляем нужный URL в первое поле, например, http://nm-admin/binaries/54f6d2b32ecfb030e182c227
      далее выбираем iOS и версию айфона
      далее ждем воспроизведения видео
    2. curl -s -D - http://nm-admin/binaries/54f6d2b32ecfb030e182c227 -o /dev/null
      смотрим, чтобы Content-Type: video/mp4