<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Set Up ModSecurity with Apache on Debian/Ubuntu	</title>
	<atom:link href="https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 22 May 2025 05:27:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-2309478</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Thu, 22 May 2025 05:20:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=43914#comment-2309478</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-2309343&quot;&gt;Seth&lt;/a&gt;.

@Seth,

Hey, thanks for the heads-up!

Yeah, on Debian 12 (Bookworm), running this as-is can cause duplicate rules which will stop Apache from starting — definitely something to watch out for. About your question, these days the core ruleset usually comes bundled with the &lt;strong&gt;modsecurity-crs&lt;/strong&gt; package, so you probably don’t need to install it separately anymore.

I’ll update the article soon to make this clearer and help avoid confusion for others using &lt;strong&gt;Debian 12&lt;/strong&gt;. 

Really appreciate you pointing this out!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-2309343">Seth</a>.</p>
<p>@Seth,</p>
<p>Hey, thanks for the heads-up!</p>
<p>Yeah, on Debian 12 (Bookworm), running this as-is can cause duplicate rules which will stop Apache from starting — definitely something to watch out for. About your question, these days the core ruleset usually comes bundled with the <strong>modsecurity-crs</strong> package, so you probably don’t need to install it separately anymore.</p>
<p>I’ll update the article soon to make this clearer and help avoid confusion for others using <strong>Debian 12</strong>. </p>
<p>Really appreciate you pointing this out!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Seth		</title>
		<link>https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-2309343</link>

		<dc:creator><![CDATA[Seth]]></dc:creator>
		<pubDate>Wed, 21 May 2025 18:49:11 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=43914#comment-2309343</guid>

					<description><![CDATA[Don&#039;t run this on Debian 12 (Bookworm) It will create duplicate rules and Apache won&#039;t start. Is the coreruleset already installed with modsecurity-crs anyways now?]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t run this on Debian 12 (Bookworm) It will create duplicate rules and Apache won&#8217;t start. Is the coreruleset already installed with modsecurity-crs anyways now?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Felipe Lima		</title>
		<link>https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-2223778</link>

		<dc:creator><![CDATA[Felipe Lima]]></dc:creator>
		<pubDate>Thu, 03 Oct 2024 19:20:05 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=43914#comment-2223778</guid>

					<description><![CDATA[Had a problem with duplicated rule IDs.

At the point in the guide where you have to edit &lt;strong&gt;/etc/apache2/mods-enabled/security2.conf&lt;/strong&gt;, make sure it contains the following lines:
&lt;pre&gt;
IncludeOptional /etc/modsecurity/*.conf
Include /etc/modsecurity/rules/*.conf
&lt;/pre&gt;
Make sure you also comment out the last line like this, or else it will load the rules twice:
&lt;pre&gt;
#IncludeOptional /usr/share/modsecurity-crs/*.load
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Had a problem with duplicated rule IDs.</p>
<p>At the point in the guide where you have to edit <strong>/etc/apache2/mods-enabled/security2.conf</strong>, make sure it contains the following lines:</p>
<pre>
IncludeOptional /etc/modsecurity/*.conf
Include /etc/modsecurity/rules/*.conf
</pre>
<p>Make sure you also comment out the last line like this, or else it will load the rules twice:</p>
<pre>
#IncludeOptional /usr/share/modsecurity-crs/*.load
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leonardo		</title>
		<link>https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-1983566</link>

		<dc:creator><![CDATA[Leonardo]]></dc:creator>
		<pubDate>Tue, 14 Mar 2023 13:20:10 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=43914#comment-1983566</guid>

					<description><![CDATA[3 hours of my day wasted. I tried to install on my old aws ec2 ubuntu 18.04.6 LTS instance and only had problems: &#038;MULTIPART_PART_HEADERS as posted by @Gustavo and errors of multiple duplicate RULE IDs that stop Apache from running. 

The problem is: There is no notice at the top of the page of which minimum version(s) of your operating system or libs is required for this to work. That would save a lot of time.]]></description>
			<content:encoded><![CDATA[<p>3 hours of my day wasted. I tried to install on my old aws ec2 ubuntu 18.04.6 LTS instance and only had problems: &amp;MULTIPART_PART_HEADERS as posted by @Gustavo and errors of multiple duplicate RULE IDs that stop Apache from running. </p>
<p>The problem is: There is no notice at the top of the page of which minimum version(s) of your operating system or libs is required for this to work. That would save a lot of time.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gustavo		</title>
		<link>https://www.tecmint.com/install-modsecurity-with-apache-on-debian-ubuntu/comment-page-1/#comment-1877240</link>

		<dc:creator><![CDATA[Gustavo]]></dc:creator>
		<pubDate>Sun, 11 Sep 2022 18:08:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=43914#comment-1877240</guid>

					<description><![CDATA[I have an error restarting &lt;strong&gt;apache2&lt;/strong&gt;,

unknown variable &#038;MULTIPART_PART_HEADERS 
in file:  /etc/modsecurity/rules/REQUEST-922-MULTIPART-ATTACK.conf]]></description>
			<content:encoded><![CDATA[<p>I have an error restarting <strong>apache2</strong>,</p>
<p>unknown variable &amp;MULTIPART_PART_HEADERS<br />
in file:  /etc/modsecurity/rules/REQUEST-922-MULTIPART-ATTACK.conf</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
