So, you want to use ExpiresActive in Apache2? November 6, 2011 Leave a comment This is an easy one. By default, you can’t use ExpiresActive in Apache. You have to enable it. To enable it, use ‘sudo a2enmod expires’ and then ‘sudo /etc/init.d/apache2 restart’ to restart Apache. Easy as pie.