ubuntu部署某些webAPP的时候,发现有几个警告,请启用mod_expires和mod_headers.等等模块都
可以按照以下命令,启用apache的缓存
[email protected]:~# a2enmod headers Enabling module headers. To activate the new configuration, you need to run: service apache2 restart [email protected]:~# a2enmod expires Enabling module expires. To activate the new configuration, you need to run: service apache2 restart [email protected]:~# service apache2 restart
时间: 2024-10-03 18:51:33