Skip to content Skip to sidebar Skip to footer

How To Add Mime Types To An Htaccess File?

I'm having an issue adding a mime type to my server. This is my current .htaccess: AuthUserFile /usr/local/www/pass/.htpasswd AuthType Basic AuthName 'Mockups'

Solution 1:

You need

AllowOverride FileInfo

in your virtualhost configuration and for the directory in which the .htaccess file is located, to be able to use AddType directive.

Post a Comment for "How To Add Mime Types To An Htaccess File?"