I have added an .htaccess file in document root for the specific website on the server in /var/www/website/.htaccess

AddType video/mp4   .mp4

But there is no AllowOverRide directive in the 000-default.conf file to make the change.

I added the following to my apache2.conf file

<Directory /var/www/mywebsite/>
    Allowoverride All

And restarted apache2 but still does not work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.