Skip to content

RESPONSE_STATUS not effect well #2077

@meigea

Description

@meigea

Describe the bug

I have set my rule like this but not run . and it stayed in ppending not returned the error403page.

it always pending and not returend , how can i solve it to make the response_status like 5xx all returned 403page.

SecRule RESPONSE_STATUS "@pmf /var/local/share/patch_rules/patch_rule_datas/StatusFilter.data" 
      "noauditlog,\
      redirect:/403_forbidden.html,\
      id:56783000,\
      phase:3"

A clear and concise description of what the bug is.

Logs and dumps

Output of:

  1. DebugLogs (level 9)
  2. AuditLogs
  3. Error logs
  4. If there is a crash, the core dump file.

modsec_audit.log
debug.log

Metadata

Metadata

Assignees

Labels

workaround availableThe issue has either a temporary or permanent workaround available

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions