如何获取Apache2来解析(无错误).htaccess中的标头指令?
由于我相信未配置Apache的指令,我正在加载页面时出现500个内部服务器错误。 我将AllowOverride设置为all,并设置了.htaccess文件,包括: <FilesMatch "\.(eot|ico|pdf|flv|jpg|jpeg|png|gif|svg|swf|ttf|woff)$"> Header set Cache-Control "max-age=31536000, public" Header set Expires "Wed, 23 Apr 2014 17:00:01 UTC" </FilesMatch> /var/log/apache2/error.log具有: [Sat Jul 20 15:12:36 2013] [alert] [client 24.15.83.241] /home/jonathan/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration 我需要指定什么以便Apache2能够正确处理“ Header”指令?