hi, I modified my .htaccess file to allow browser caching and then I get a a 500 server error with this in the log (ubuntu 14 installation)
[Thu Feb 05 03:54:37.736036 2015] [core:alert] [pid 25624] [client 58.10.145.197:42018] /var/www/.htaccess: ExpiresActive not allowed here
I see that other people have asked similar questions, but I can’t seem to find an answer that works.
Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I am facing the same issue. Did you find a solution for this?
You need the apache module mod_expires. Run sudo a2enmod expires sudo a2enmod headers
From: https://www.digitalocean.com/community/tutorials/how-to-configure-apache-content-caching-on-ubuntu-14-04