<?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: Google Checkout, 501 Error with Mod Security + Solution</title>
	<atom:link href="http://www.edmondscommerce.co.uk/security/google-checkout-501-error-with-mod-security-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edmondscommerce.co.uk/security/google-checkout-501-error-with-mod-security-solution/</link>
	<description>Freelance PHP Ecommerce and SEO Developer in the UK</description>
	<lastBuildDate>Sat, 11 Feb 2012 03:49:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/security/google-checkout-501-error-with-mod-security-solution/comment-page-1/#comment-3053</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 11 Jan 2011 16:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=271#comment-3053</guid>
		<description>Hi Ryan

thanks for the feedback

not sure for this client now tbh, its a while since I did this post.

glad your comment is here for future reference though!</description>
		<content:encoded><![CDATA[<p>Hi Ryan</p>
<p>thanks for the feedback</p>
<p>not sure for this client now tbh, its a while since I did this post.</p>
<p>glad your comment is here for future reference though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Barnett</title>
		<link>http://www.edmondscommerce.co.uk/security/google-checkout-501-error-with-mod-security-solution/comment-page-1/#comment-3052</link>
		<dc:creator>Ryan Barnett</dc:creator>
		<pubDate>Tue, 11 Jan 2011 15:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=271#comment-3052</guid>
		<description>What version of CRS are you using?  You should be able to go into the modsecurity_crs_10_config.conf file and update the HTTP Policy variables.  There is a setvar line that lets you customize your local, allowed Content-Type values -

setvar:&#039;tx.allowed_request_content_type=application/x-www-form-urlencoded multipart/form-data text/xml application/xml application/x-amf&#039;,

These values are used in macro expansion by the detection rules in the 30 file.  Just add the legit Content-Type request header value for the googlecheckout API.</description>
		<content:encoded><![CDATA[<p>What version of CRS are you using?  You should be able to go into the modsecurity_crs_10_config.conf file and update the HTTP Policy variables.  There is a setvar line that lets you customize your local, allowed Content-Type values -</p>
<p>setvar:&#8217;tx.allowed_request_content_type=application/x-www-form-urlencoded multipart/form-data text/xml application/xml application/x-amf&#8217;,</p>
<p>These values are used in macro expansion by the detection rules in the 30 file.  Just add the legit Content-Type request header value for the googlecheckout API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/security/google-checkout-501-error-with-mod-security-solution/comment-page-1/#comment-1076</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 26 Mar 2009 13:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=271#comment-1076</guid>
		<description>this is a much better solution as it only disabled the rule at the point we need to disable it, but will keep the rule active everywhere else..

cheers Victor :)</description>
		<content:encoded><![CDATA[<p>this is a much better solution as it only disabled the rule at the point we need to disable it, but will keep the rule active everywhere else..</p>
<p>cheers Victor <img src='http://www.edmondscommerce.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Julien</title>
		<link>http://www.edmondscommerce.co.uk/security/google-checkout-501-error-with-mod-security-solution/comment-page-1/#comment-1074</link>
		<dc:creator>Victor Julien</dc:creator>
		<pubDate>Thu, 26 Mar 2009 12:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=271#comment-1074</guid>
		<description>You can also disable a rule for a specific location like this:

[code]
&lt;LocationMatch &quot;/googlecheckout/api&quot;&gt;
    SecRuleRemoveById 960010
&lt;/LocationMatch&gt;
[/code]

The nice thing about it is that you can put this in a separate file (disabled.conf for example) so you don&#039;t have to redo the change to the rules file every time you update it...</description>
		<content:encoded><![CDATA[<p>You can also disable a rule for a specific location like this:</p>
<div class="igBar"><span id="lcode-1"><a href="#" onclick="javascript:showPlainTxt('code-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-1">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;LocationMatch <span style="color:#CC0000;">"/googlecheckout/api"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; SecRuleRemoveById <span style="color:#800000;color:#800000;">960010</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/LocationMatch&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>The nice thing about it is that you can put this in a separate file (disabled.conf for example) so you don't have to redo the change to the rules file every time you update it...</p>
]]></content:encoded>
	</item>
</channel>
</rss>

