<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NetBackup HOWTO&#039;s &#187; mod_security2</title>
	<atom:link href="http://www.netbackuphowto.com/tag/mod_security2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netbackuphowto.com</link>
	<description>NBU Howto Site</description>
	<lastBuildDate>Sat, 28 Aug 2010 14:23:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Howto disable some rules on apache2+mod_security2</title>
		<link>http://www.netbackuphowto.com/2008/11/25/howto-disable-some-rules-on-apache2mod_security2/</link>
		<comments>http://www.netbackuphowto.com/2008/11/25/howto-disable-some-rules-on-apache2mod_security2/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 21:55:10 +0000</pubDate>
		<dc:creator>savasirez</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[modsecurity]]></category>
		<category><![CDATA[modsecurity2]]></category>
		<category><![CDATA[mod_security]]></category>
		<category><![CDATA[mod_security2]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.netbackuphowto.com/?p=96</guid>
		<description><![CDATA[If you&#8217;re facing difficulties with modsecurity and see logs like these and you think they should be allowed. [Tue Nov 25 23:32:36 2008] [error] [client 106.78.1.61] ModSecurity: Access denied with code 400 (phase 2). Match of &#8220;rx ^OPTIONS$&#8221; against &#8220;REQUEST_METHOD&#8221; required. [file "/optional_rules/modsecurity_protocol_anomalies.conf"] [line "41"] [id "960015"] [msg "Request Missing an Accept Header"] [severity "CRITICAL"] [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re facing difficulties with modsecurity and see logs like these and you think they should be allowed.</p>
<p><span id="more-96"></span></p>
<p>[Tue Nov 25 23:32:36 2008] [error] [client 106.78.1.61] ModSecurity: Access denied with code 400 (phase 2). Match of &#8220;rx ^OPTIONS$&#8221; against &#8220;REQUEST_METHOD&#8221; required. [file "/optional_rules/modsecurity_protocol_anomalies.conf"] [line "41"] [id "960015"] [msg "Request Missing an Accept Header"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER"] [hostname "www.netbackuphowto.com"] [uri "/ads.php"] [unique_id "oAIMD06rogtjw4jt"]<br />
You need to add the following lines to your httpd.conf (or under your virtualhost directives)</p>
<p>&lt;ifModule mod_security2.c&gt;<br />
SecRuleRemoveById 960015<br />
&lt;/ifModule&gt;</p>
<p>You can of course add more SecRuleRemoveById lines accourding to your needs.</p>
<p>Attention: This setting works site-wide&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.netbackuphowto.com/2008/11/25/howto-disable-some-rules-on-apache2mod_security2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
