How do I find out if mod_security is installed on my apache server?

Posted by Haluk on Server Fault See other posts from Server Fault or by Haluk
Published on 2010-02-25T09:25:07Z Indexed on 2013/10/31 15:59 UTC
Read the original article Hit count: 264

Filed under:
|
|

How can I find out if mod_security is installed on my apache server? I would also like to learn its version.

I'm having some upload issues and I tried to disable mod_security using .htaccess. But that started producing 500 internal server errors.

I read somewhere that depending on my mod_security version I might not be able to disable it using .htaccess. So I would like to understand if I have mod_security installed and what version it is.

I'm on a centos 5 box.

Thanks!

UPDATE -1 xxxxxxxxxxxxx

Does the below output mean I do not have mod_security installed?

[root@u11 htdocs]# httpd -l

Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

© Server Fault or respective owner

Related posts about apache2

Related posts about centos