question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SecAction behaviour inconsistent

See original GitHub issue

Motivation

For some specific vhosts we add tx.allowed_methods to some rules, but not all can be applied within the vhost (or even Directory/Location tags).

The following works within a vhost: SecAction "id:900200, phase:1, nolog, pass, t:none, setvar:'tx.allowed_methods=GET HEAD POST OPTIONS PUT DELETE'"

The following does not (and must be applied in crs-setup.conf thus affecting all vhosts): SecAction "id:91110, phase:1, nolog, pass, t:none, setvar:'tx.allowed_methods=GET HEAD POST OPTIONS PUT DELETE'"

Proposed solution

Not sure as to the exact solution, but it would be preferable if both would work from within the vhost/Directory/Location tags.

Alternatives

A better default list of tx.allowed_methods and where they can and cannot be applied (might be beneficial anyway).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
azuritcommented, Jan 4, 2021

Don’t use Directory, put it directly into VirtualHost.

0reactions
azuritcommented, Jan 4, 2021

I think yes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tired of inconsistency in relationships? Signs of emotional ...
Inconsistent behaviour is nothing less than a form of emotional abuse. And we often come across people who exhibit emotional inconsistency.
Read more >
Inconsistent ConfigurationManager behaviour - Stack Overflow
I have learnt about custom configurations using the ConfigurationManager. For some reason you have to use the assembly reference in the section ......
Read more >
Behavioral Consistency and Inconsistency in the Resolution of ...
Experiment 1 shows that when an initial behavior is insufficient (sufficient) for goal achievement, it encourages consistent (inconsistent).
Read more >
Inconsistent behaviour for environment variables loaded ...
Description of the issue There are some strange things happening when using the env_file section for a docker-compose service.
Read more >
The neural computation of inconsistent choice behavior - Nature
Hence, our trial-specific MMI index measures the severity of inconsistency per trial within a subject (see the Methods section). We then use it ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found