Issue Lastest ModSecurity Broke Sites

J.Wick

Regular Pleskian
Server operating system version
Rocky Linux 8.10 (Green Obsidian)
Plesk version and microupdate number
Plesk Obsidian 18.0.79 Update #1 Web Pro Edition
A bunch of my Joomla websites went down after today's ModSecurity update. Disabling it brought the sites back up; turning it back on seemed to reset something and is working.

New configuration files for the Apache web server were not created due to the errors in configuration templates: [Wed Jul 08 01:43:41.503171 2026] [so:warn] [pid 4479:tid 140434063290048] AH01574: module unique_id_module is already loaded, skipping httpd: Syntax error on line 357 of /etc/httpd/conf/httpd.conf: Syntax error on line 13 of /etc/httpd/conf.d/00_mod_security.conf: No matches for the wildcard '00*exclude.conf' in '/etc/httpd/modsecurity.d', failing (use IncludeOptional if required) . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

Running the repair link fixed the error.
 
This is the email I was getting from my Plesk Server.

Unable to generate the web server configuration file on the host <xxxxxxxxx> because of the following errors:

Template_Exception: [Wed Jul 08 01:50:40.126492 2026] [so:warn] [pid 9219:tid 140353719643840] AH01574: module unique_id_module is already loaded, skipping
httpd: Syntax error on line 357 of /etc/httpd/conf/httpd.conf: Syntax error on line 13 of /etc/httpd/conf.d/00_mod_security.conf: No matches for the wildcard '00*exclude.conf' in '/etc/httpd/modsecurity.d', failing (use IncludeOptional if required)

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.
 
Back
Top