<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mod_Security(dev)+Apache+Proxy: No mod_security Rules]]></title><description><![CDATA[<p dir="auto">Hi guys,<br />
    I'm facing a really strange problem in Mod_Security(dev)+Apache+Proxy. The rules options in Group Rules are blank. I created a new brand virtual machine to check if it was my installation but it's the same.</p>
<p dir="auto">Please see the screenshot in attachment.</p>
<p dir="auto">Thanks in advance!</p>
<p dir="auto"><img src="/public/_imported_attachments_/1/print.png" alt="print.png" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/print.png_thumb" alt="print.png_thumb" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/topic/90402/mod_security-dev-apache-proxy-no-mod_security-rules</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 10:12:59 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/90402.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Oct 2015 15:06:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mod_Security(dev)+Apache+Proxy: No mod_security Rules on Mon, 23 Nov 2015 17:38:07 GMT]]></title><description><![CDATA[<p dir="auto">I fixed this by editing the apache_mod_security.template file.  It was missing IDs for the SecRules.  I have attached mine here so that anyone can use it.  You can replace yours, it is in:</p>
<p dir="auto">/usr/local/pkg</p>
<p dir="auto">Remove the '.txt' extension.</p>
<p dir="auto"><a href="/public/_imported_attachments_/1/apache_mod_security.template.txt">apache_mod_security.template.txt</a></p>
]]></description><link>https://forum.netgate.com/post/585928</link><guid isPermaLink="true">https://forum.netgate.com/post/585928</guid><dc:creator><![CDATA[tudorjames]]></dc:creator><pubDate>Mon, 23 Nov 2015 17:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to Mod_Security(dev)+Apache+Proxy: No mod_security Rules on Mon, 23 Nov 2015 16:53:09 GMT]]></title><description><![CDATA[<p dir="auto">That package is completely broken. Use the non-dev version, that could have some chance of actually working after recent fixes.</p>
]]></description><link>https://forum.netgate.com/post/585913</link><guid isPermaLink="true">https://forum.netgate.com/post/585913</guid><dc:creator><![CDATA[doktornotor]]></dc:creator><pubDate>Mon, 23 Nov 2015 16:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to Mod_Security(dev)+Apache+Proxy: No mod_security Rules on Mon, 23 Nov 2015 13:59:56 GMT]]></title><description><![CDATA[<p dir="auto">Further to the message above:</p>
<p dir="auto">I downloaded the SpiderLabs OWASP rules and copied them to:</p>
<p dir="auto">/usr/pbi/proxy_mod_security-amd64/crs</p>
<p dir="auto">/activated_rules<br />
/base_rules<br />
/experimental_rules<br />
/optional_rules<br />
/slr_rules</p>
<p dir="auto">These now appear in the mod_security Rules group configuration for selection.</p>
<p dir="auto">The service still won't start, the link appeared to be missing in:</p>
<p dir="auto">/use/local/etc</p>
<p dir="auto">for:</p>
<p dir="auto">/usr/pbi/proxy_mod_security-amd64/local/etc/apache24</p>
<p dir="auto">I added this but the service still doesn't start.  Still working on it.</p>
]]></description><link>https://forum.netgate.com/post/585872</link><guid isPermaLink="true">https://forum.netgate.com/post/585872</guid><dc:creator><![CDATA[tudorjames]]></dc:creator><pubDate>Mon, 23 Nov 2015 13:59:56 GMT</pubDate></item><item><title><![CDATA[Reply to Mod_Security(dev)+Apache+Proxy: No mod_security Rules on Mon, 23 Nov 2015 13:40:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am seeing exactly the same thing.</p>
<p dir="auto">I do see this in the logs:</p>
<p dir="auto">Nov 17 16:00:36 php-fpm[247]: /pkg_mgr_install.php: The command '/usr/pbi/proxy_mod_security-amd64/sbin/httpd -t' returned exit code '1', the output was 'AH00526: Syntax error on line 539 of /usr/local/etc/apache24/httpd.conf: ModSecurity: No action id present within the rule'<br />
Nov 17 16:00:36 php-fpm[247]: /pkg_mgr_install.php: apache_mod_security_package: There was an error parsing the Apache configuration: 1</p>
<p dir="auto">The folder /usr/local/etc/apache24/ does not appear to exist.  httpd.conf is in this location:</p>
<p dir="auto">/usr/pbi/proxy_mod_security-amd64/local/etc/apache24/httpd.conf</p>
<p dir="auto">I can't start the service for this package but I don't see any further errors.</p>
<p dir="auto">Is there any way to upload the OWASP mod_security rules into the engine instead?</p>
<p dir="auto">Regards.</p>
<p dir="auto">Further to above:</p>
<p dir="auto">After modifying the Apache config and saving I get these errors in the console:</p>
<p dir="auto">Warning: opendir(/usr/pbi/proxy_mod_security-amd64/crs/base_rules): failed to open dir: No such file or directory in /usr/local/pkg/apache_mod_security.inc on line 141<br />
Warning: opendir(/usr/pbi/proxy_mod_security-amd64/crs/experimental_rules): failed to open dir: No such file or directory in /usr/local/pkg/apache_mod_security.inc on line 141<br />
Warning: opendir(/usr/pbi/proxy_mod_security-amd64/crs/optional_rules): failed to open dir: No such file or directory in /usr/local/pkg/apache_mod_security.inc on line 141<br />
Warning: opendir(/usr/pbi/proxy_mod_security-amd64/crs/slr_rules): failed to open dir: No such file or directory in /usr/local/pkg/apache_mod_security.inc on line 141</p>
]]></description><link>https://forum.netgate.com/post/585851</link><guid isPermaLink="true">https://forum.netgate.com/post/585851</guid><dc:creator><![CDATA[tudorjames]]></dc:creator><pubDate>Mon, 23 Nov 2015 13:40:57 GMT</pubDate></item></channel></rss>