<?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 mod_security Ubuntu 9.04</title>
	<atom:link href="http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Tue, 07 Sep 2010 07:48:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-2089</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 06 Aug 2010 16:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-2089</guid>
		<description>I&#039;m using Ubuntu 10.04.1 server and most of the instructions by bodhi worked with a few alterations:

I solved the problem with apache complaining about the input and cdata errors, by moving the modsecurity directory one level down (to /etc/apache2/modsecurity), renaming modsecurity2.conf to just modsecurity2, and then altering the lines in modsecurity2 to reflect the new location.

Also if you&#039;re doing this with the most up-to-date version of the rules, you have to Include modsecurity/*.conf and modsecurity/base_rules/*.conf (etc.)

Hope this is helpful.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using Ubuntu 10.04.1 server and most of the instructions by bodhi worked with a few alterations:</p>
<p>I solved the problem with apache complaining about the input and cdata errors, by moving the modsecurity directory one level down (to /etc/apache2/modsecurity), renaming modsecurity2.conf to just modsecurity2, and then altering the lines in modsecurity2 to reflect the new location.</p>
<p>Also if you&#8217;re doing this with the most up-to-date version of the rules, you have to Include modsecurity/*.conf and modsecurity/base_rules/*.conf (etc.)</p>
<p>Hope this is helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TanRen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1652</link>
		<dc:creator>TanRen</dc:creator>
		<pubDate>Fri, 16 Apr 2010 23:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1652</guid>
		<description>nevermind. i figured out my problem (aside from apache being the last thing i do on a friday). 
:P</description>
		<content:encoded><![CDATA[<p>nevermind. i figured out my problem (aside from apache being the last thing i do on a friday).<br />
:P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TanRen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1651</link>
		<dc:creator>TanRen</dc:creator>
		<pubDate>Fri, 16 Apr 2010 23:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1651</guid>
		<description>excellent work. 

my only issue so far is that apache complains of syntax errors on line 132 and 170 of _40_generic_attacks.data (include not closed and !cdata not closed ). these paticular lines are actually comments, so i am guessing that its the directive before said lines.
i don&#039;t speak apache well (or at all really, i am a code monkey learning to be a ninja :p) so looking at the file i don&#039;t see quite what the error is referring to. are these errors that will keep the mod from working, or does it just break the directive? hmmmmm.

any help or pointers would be much appreciated. 

using ubuntu 9.10 2.6.31-20-server 64bit.

namo buddhya my friend</description>
		<content:encoded><![CDATA[<p>excellent work. </p>
<p>my only issue so far is that apache complains of syntax errors on line 132 and 170 of _40_generic_attacks.data (include not closed and !cdata not closed ). these paticular lines are actually comments, so i am guessing that its the directive before said lines.<br />
i don&#8217;t speak apache well (or at all really, i am a code monkey learning to be a ninja :p) so looking at the file i don&#8217;t see quite what the error is referring to. are these errors that will keep the mod from working, or does it just break the directive? hmmmmm.</p>
<p>any help or pointers would be much appreciated. </p>
<p>using ubuntu 9.10 2.6.31-20-server 64bit.</p>
<p>namo buddhya my friend</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Configuring Mod Security (Web Application Firewall) &#124; Tech Rocket Science</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1555</link>
		<dc:creator>Configuring Mod Security (Web Application Firewall) &#124; Tech Rocket Science</dc:creator>
		<pubDate>Sat, 13 Mar 2010 11:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1555</guid>
		<description>[...]  Install and configure mod_secure: [...]</description>
		<content:encoded><![CDATA[<p>[...]  Install and configure mod_secure: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1554</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Thu, 11 Mar 2010 21:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1554</guid>
		<description>Mike: Glad it worked out for you =)</description>
		<content:encoded><![CDATA[<p>Mike: Glad it worked out for you =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1553</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:13:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1553</guid>
		<description>&quot;Thanks, m8!
I’m no expert in server administration or Linux, however your tutorial worked for me. I was trying to install this for weeks now and you make it simple for me. You got my respect :)
BTW, I have Ubuntu 8.04, you might want to change the post to let others know it works with this version, too.
Thanks again!

Comment by Gadgets — May 16, 2009 @ 3:31 am&quot;

I hope you are Australian... anyway I am running 8.04.1 and I cannot install mod_sec with the instructions given and I cannot install apxs to compile mod_sec either...

Help would be appreciated.

Mike</description>
		<content:encoded><![CDATA[<p>&#8220;Thanks, m8!<br />
I’m no expert in server administration or Linux, however your tutorial worked for me. I was trying to install this for weeks now and you make it simple for me. You got my respect :)<br />
BTW, I have Ubuntu 8.04, you might want to change the post to let others know it works with this version, too.<br />
Thanks again!</p>
<p>Comment by Gadgets — May 16, 2009 @ 3:31 am&#8221;</p>
<p>I hope you are Australian&#8230; anyway I am running 8.04.1 and I cannot install mod_sec with the instructions given and I cannot install apxs to compile mod_sec either&#8230;</p>
<p>Help would be appreciated.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1548</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 09 Mar 2010 16:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1548</guid>
		<description>(crap editor removed lines)
Add brackets below as appropriate.

IfModule security2_module
SecServerSignature “Microsoft-IIS/5.0″
/IfModule</description>
		<content:encoded><![CDATA[<p>(crap editor removed lines)<br />
Add brackets below as appropriate.</p>
<p>IfModule security2_module<br />
SecServerSignature “Microsoft-IIS/5.0″<br />
/IfModule</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1547</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 09 Mar 2010 16:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1547</guid>
		<description>(Disclaimer my system is Ubuntu 9.10 but should apply to other flavors as well)
If you followed the above instructions and it appears to not be working you should verify that the module name is correct and is enabled.

First check the module is enabled by looking in the /etc/apache2/mods-enabled directory.  There should be s symbolic link named mod-security.load.

Look at the contents of that file &#039;more mod-security.load&#039;  
The 2nd of that file was:
LoadModule security2_module /usr/lib/apache2/modules/mod_security2.so

So in one of your apache config files that is loaded you would need to specify it as:

SecServerSignature &quot;Microsoft-IIS/5.0&quot;


(spaced added after &gt;&#039;s in case they are interpreted by this editor)

You can verify that the module is working then with the above config by checking if &#039;curl -i YOURDOMAIN.COM&#039; returns Microsoft-IIS/5.0 for the server instead of Apache.</description>
		<content:encoded><![CDATA[<p>(Disclaimer my system is Ubuntu 9.10 but should apply to other flavors as well)<br />
If you followed the above instructions and it appears to not be working you should verify that the module name is correct and is enabled.</p>
<p>First check the module is enabled by looking in the /etc/apache2/mods-enabled directory.  There should be s symbolic link named mod-security.load.</p>
<p>Look at the contents of that file &#8216;more mod-security.load&#8217;<br />
The 2nd of that file was:<br />
LoadModule security2_module /usr/lib/apache2/modules/mod_security2.so</p>
<p>So in one of your apache config files that is loaded you would need to specify it as:</p>
<p>SecServerSignature &#8220;Microsoft-IIS/5.0&#8243;</p>
<p>(spaced added after &gt;&#8217;s in case they are interpreted by this editor)</p>
<p>You can verify that the module is working then with the above config by checking if &#8216;curl -i YOURDOMAIN.COM&#8217; returns Microsoft-IIS/5.0 for the server instead of Apache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1514</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Mon, 15 Feb 2010 04:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1514</guid>
		<description>Yes, it takes some time to sort out mod_security.

http://www.modsecurity.org/documentation/modsecurity-apache/2.1.0/modsecurity2-apache-reference.html#N107B3</description>
		<content:encoded><![CDATA[<p>Yes, it takes some time to sort out mod_security.</p>
<p><a href="http://www.modsecurity.org/documentation/modsecurity-apache/2.1.0/modsecurity2-apache-reference.html#N107B3" rel="nofollow">http://www.modsecurity.org/documentation/modsecurity-apache/2.1.0/modsecurity2-apache-reference.html#N107B3</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1508</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Sun, 14 Feb 2010 21:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1508</guid>
		<description>One more thing, the servertokens are still there.
Which config or rule takes care of this?

Those rules are little bit complex for a &quot;mod_security&quot; noob.
But it&#039;s a must have for a public webserver.

thanks</description>
		<content:encoded><![CDATA[<p>One more thing, the servertokens are still there.<br />
Which config or rule takes care of this?</p>
<p>Those rules are little bit complex for a &#8220;mod_security&#8221; noob.<br />
But it&#8217;s a must have for a public webserver.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.082 seconds -->
