禁用apache模块

再做metasploit时,生成了html文件,需要提取相关特征

用apt-get安装的apache默认开启gzip,导致特征不存在了。

需要关闭调gzip,最好的方式是关闭调deflate

https://code.google.com/p/unxmail/wiki/Apache2Debian

开启或禁用apache2的模块

  • a2dismod modname 禁用某个模块

  • a2enmod modname 启用某个模块

  • apachectl -M 查看加载的模块