Getting “Internal Server Error” when enabling ‘Set expires header’ in W3 Total Cache [closed]

The best way to deal with issues like this is referring to the manual.

http://httpd.apache.org/docs/1.3/mod/mod_expires.html#expiresactive

Syntax: ExpiresActive On|Off
Context: server config, virtual host, directory, .htaccess
Override: Indexes
Status: Extension
Module: mod_expires

Look at the Context and Override syntax rules. It’s OK to use ExpiresActive in an .htaccess file aslong as you AllowOverride Indexes