我正在使用安装了 mod security 的 cpanel (11.25 Stable 46156)。我如何知道服务器中安装的 mod security 的版本?
如何手动更新 mod 安全性或使其自动更新?
小智 5
找到它的另一种方法是简单地重新启动 Apache 服务器并查看日志以获取信息:
$ sudo service apache2 restart
$ grep -i modsecurity /var/log/apache2/error.log
[Sun Mar 08 19:14:02.000210 2015] [:notice] [pid 1912] ModSecurity for Apache/2.7.7 (http://www.modsecurity.org/) configured.
[Sun Mar 08 19:14:02.000278 2015] [:notice] [pid 1912] ModSecurity: APR compiled version="1.5.1-dev"; loaded version="1.5.1-dev"
[Sun Mar 08 19:14:02.000290 2015] [:notice] [pid 1912] ModSecurity: PCRE compiled version="8.31 "; loaded version="8.31 2012-07-06"
[Sun Mar 08 19:14:02.000300 2015] [:notice] [pid 1912] ModSecurity: LUA compiled version="Lua 5.1"
[Sun Mar 08 19:14:02.000308 2015] [:notice] [pid 1912] ModSecurity: LIBXML compiled version="2.9.1"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
20950 次 |
| 最近记录: |