<?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, 09 Mar 2010 17:24:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: bodhi.zazen</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1507</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Sun, 14 Feb 2010 16:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1507</guid>
		<description>Andre: glad you got it working =)

mod_security typically needs a bit of additional configuration.</description>
		<content:encoded><![CDATA[<p>Andre: glad you got it working =)</p>
<p>mod_security typically needs a bit of additional configuration.</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-1506</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Sun, 14 Feb 2010 14:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1506</guid>
		<description>oops, it does work now with the php, i get a 403 forbidden</description>
		<content:encoded><![CDATA[<p>oops, it does work now with the php, i get a 403 forbidden</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-1505</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Sun, 14 Feb 2010 13:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1505</guid>
		<description>Hi,

Does it work on 9.10?
Doesn&#039;t work here with 9.10</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Does it work on 9.10?<br />
Doesn&#8217;t work here with 9.10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slava Markeyev &#187; Blog Archive &#187; Apache &#8211; Security by Obscurity</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1486</link>
		<dc:creator>Slava Markeyev &#187; Blog Archive &#187; Apache &#8211; Security by Obscurity</dc:creator>
		<pubDate>Sat, 06 Feb 2010 10:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1486</guid>
		<description>[...] two things. 1. mod_security is a great tool. We only used one feature of it. I suggest you follow bodhi.zazen&#8217;s tutorial to further configure it. 2. Security by ONLY obscurity is dangerous. You should [...]</description>
		<content:encoded><![CDATA[<p>[...] two things. 1. mod_security is a great tool. We only used one feature of it. I suggest you follow bodhi.zazen&#8217;s tutorial to further configure it. 2. Security by ONLY obscurity is dangerous. You should [...]</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-1361</link>
		<dc:creator>bodhi.zazen</dc:creator>
		<pubDate>Wed, 09 Dec 2009 21:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1361</guid>
		<description>Thank you for that great comment Chris Morgeson</description>
		<content:encoded><![CDATA[<p>Thank you for that great comment Chris Morgeson</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Morgeson</title>
		<link>http://blog.bodhizazen.net/linux/how-to-mod_security-ubuntu-904/comment-page-1/#comment-1360</link>
		<dc:creator>Chris Morgeson</dc:creator>
		<pubDate>Wed, 09 Dec 2009 20:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=227#comment-1360</guid>
		<description>- adding on to Jason&#039;s comment

If you change your line in the apache2.conf to &quot;Include /etc/apache2/conf.d/*.conf&quot;

You will need to add more include statements to add back your &#039;security&#039;,&#039;localized-error-pages&#039;,&#039;charset&#039; configs because the previous include was including code from all the files within the conf.d folder. So if you change your apache2.conf to read:

Include /etc/apache2/conf.d/*.conf   -- You will need to add the three includes below
Include /etc/apache2/conf.d/security
Include /etc/apache2/conf.d/localized-error-pages
Include /etc/apache2/conf.d/charset

Or you can add the .conf extention to each of the files you want (security.conf, etc.)</description>
		<content:encoded><![CDATA[<p>- adding on to Jason&#8217;s comment</p>
<p>If you change your line in the apache2.conf to &#8220;Include /etc/apache2/conf.d/*.conf&#8221;</p>
<p>You will need to add more include statements to add back your &#8217;security&#8217;,'localized-error-pages&#8217;,'charset&#8217; configs because the previous include was including code from all the files within the conf.d folder. So if you change your apache2.conf to read:</p>
<p>Include /etc/apache2/conf.d/*.conf   &#8212; You will need to add the three includes below<br />
Include /etc/apache2/conf.d/security<br />
Include /etc/apache2/conf.d/localized-error-pages<br />
Include /etc/apache2/conf.d/charset</p>
<p>Or you can add the .conf extention to each of the files you want (security.conf, etc.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.081 seconds -->
<!-- Cached page served by WP-Cache -->
