ModSecurity won’t apply rules – no error log entries [migrated]

I have a fresh installation of CentOS 8. I installed Apache 2.4.37 from the repo. Then installed the latest ModSecurity:

dnf install mod_security -y 

Checked the installation

dnf info mod_security 


Name         : mod_security Version      : 2.9.2 

The required Apache modules are available / loaded:

apachectl -M | grep security -> security2_module (shared) apachectl -M | grep unique -> unique_id_module (shared) 

Installed the core rule set from the repo:

dnf install mod_security_crs 

which automatically links the rules into the apache folder


Rules have been checked / are at place.

The main config file


includes necessary further config files, including the rules conf files themselves:

IncludeOptional /etc/httpd/modsecurity.d/crs-setup.conf IncludeOptional /etc/httpd/modsecurity.d/activated_rules/*.conf IncludeOptional /etc/httpd/modsecurity.d/local_rules/*.conf 

(paths have been double-checked) and activates the rules engine:

SecRuleEngine On 

The rules config file modsecurity.d/crs-setup.conf (which is included in mod_security.conf, see above) provides

SecDefaultAction "phase:1,log,auditlog,deny,status:403" SecDefaultAction "phase:2,log,auditlog,deny,status:403" 

Apache httpd.conf calls ModSecurity:

SecStatusEngine On 

A restart (apachectl restart) shows that ModSecurity was loaded successfully:

ModSecurity: StatusEngine call successfully sent. <-- including LUA etc. 

Tests with manipulated URLs like a script insert:


show no reaction whatsoever on ModSecurity’s side. No entries at all in ModSecuritie’s audit and debug log files (debug level was set to 3), no errors in Apache’s log files.

Apply DateObject to a whole list

I’m trying to apply DataObject to a whole list. It looks something like this.

{"6/03/2020", "10/03/2020", "10/03/2020", "12/03/2020", "12/03/2020", \ "13/03/2020",...} This list is called dF.

I tried to use Map

data3 = Map[DateObject[{"Day", "/", "Month", "/", "Year"}], dF] 

But gives out something like this:

{DateObject[{"Day", "/", "Month", "/", "Year"}]["6/03/2020"],  DateObject[{"Day", "/", "Month", "/", "Year"}]["10/03/2020"],..} 

Doing it individualy works just fine using part.

df1 = DateObject[{Part[dF, 1], {"Day", "/", "Month", "/", "Year"}}] 

So i resorted to using For and adding each of the elemts to an empty list. It worked but was way to slow (about 20 min of computing). The list has about 100k elements.

Is there a faster way to do this? I´m new to mathematica so any help would be appreciated.

Can a Zealot Barbarian apply Radiant rage damage?

Rage says

When you make a melee weapon attack using Strength, you gain a bonus to the damage roll that increases as you gain levels as a barbarian, as shown in the Rage Damage column of the Barbarian table.

And a Zealot Barbarian can

At 3rd level, while you’re raging, the first creature you hit on each of your turns with a weapon attack takes extra damage equal to 1d6 + half your barbarian level. The extra damage is necrotic or radiant; you choose the type of damage when you gain this feature.

Can the rage damage be radiant/necrotic, or does it have to be part of the weapon’s damage die? Is Divine Fury part of the weapon damage die?

Does casting a spell from an item allow you to apply class abilities that are used when casting a spell?

This question is updated to request additional answers and details in light of information now available in the Dungeon Master’s Guide.

In the released DM basic rules, Lost Mine of Phandelver, Hoard of the Dragon Queen, and the DMG teaser there are wands, staves, and rings that you can use to cast spells.

  1. Do abilities that trigger from casting a spell activate when casting a spell from an item?

  2. Can the character modify the spell using class abilities when casting a spell from an item?

Examples include:

  1. An abjurer Wizard’s arcane ward recovering hit points from a Dispel Magic cast from a Ring of Spell Storing

  2. A sorcerer using Twinned Spell on a ray of enfeeblement from a Staff of Power

  3. An evocation wizard using Sculpt Spell on a fireball from a Wand of Fireballs.

Now that the DMG is out we have some clearer rules on casting spells from items (DMG p. 141):

Some magic items allow you to cast a spell from the item. The spell is cast at the lowest possible spell level, doesn’t expend any spell slots, and requires no components, unless the item’s description says otherwise The spell uses its normal casting time, range and duration, and the user of the item must concentrate if the spell requires concentration.

A magic item, such as certain staffs, may require you to use your own spellcasting ability when you cast a spell from the item.

Does whether or not you can apply class abilities to the casting of the spell depend whether the item uses the user’s own spellcasting ability (such as the Staff of Fire) versus an item that comes with a fixed spellcasting ability built-in (such as the Wand of Fireballs)?

Does it matter if it’s something that triggers more or less automatically like Arcane Ward, versus something you have to control, like Careful Spell?