您的位置:首页 > 运维架构 > Apache

ubuntu启用apache的mod_headers和mod_expires

2015-06-02 16:30 489 查看

ubuntu启用apache的mod_headers和mod_expires

ubuntu部署某些webAPP的时候,发现有几个警告,请启用mod_expires和mod_headers.等等模块都

可以按照以下命令,启用apache的缓存root@vr:~# a2enmod headers Enabling module headers. To activate the new configuration, you need to run: service apache2 restart root@vr:~# a2enmod expires Enabling module expires. To activate the new configuration, you need to run: service apache2 restart root@vr:~# service apache2 restart 阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: