Skip to content

does not record any log in apache #2096

@Ezizeay

Description

@Ezizeay

Dear

Modsecurity simply not working.

  1. If following permision is problematic, what is right set of permission please?
    permission

  2. SecAuditLog looks OK.
    logs

  3. Apache error log did not give any specific information
    errorlog

  4. Tested by following codes (no browser).
    curl 'http://localhost/?q="><script>alert(1)</script>'
    curl -L 'https://IP/?q="><script>alert(1)</script>'
    curl "http://IP/?q='1 OR 1=1"
    curl 'http://IP/?union+select'

Modsecurity is embeded well in Apache.
What should I do to get it worked please ?

Environment
CentOS 7.5.1804 (Core)
ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/); OWASP_CRS/3.0.2.
Apache/2.4.29 (CentOS)

Metadata

Metadata

Assignees

Labels

documentationSomehow related to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions