<?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>ourlil.com &#187; apache</title>
	<atom:link href="http://OurLil.com/blog/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://OurLil.com</link>
	<description>A web site for tutti noi (all of us!)</description>
	<lastBuildDate>Fri, 27 Apr 2012 04:06:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to nuke attackers via httpd.conf?</title>
		<link>http://OurLil.com/blog/how-to-nuke-attackers-via-httpdconf/111/</link>
		<comments>http://OurLil.com/blog/how-to-nuke-attackers-via-httpdconf/111/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 17:34:37 +0000</pubDate>
		<dc:creator>webmaestro</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://clay.freedomblogging.com/how-to-nuke-attackers-via-httpdconf/</guid>
		<description><![CDATA[How to nuke attackers via httpd.conf?That can be accomplished using mod_access &#8220;Deny from &#60;envar&#62;&#8221; with mod_setenvif testing REQUEST_URI or by using mod_rewrite: RewriteRule (awstats\.plÂ¦xmlrpc\.phpÂ¦includer\.cgiÂ¦hints\.pl)$ - [F] Of course, the problem is that you&#8217;ll still be wasting bandwidth sending your custom 403 error page to these idiots.A work-around (stay with me here) is to do the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webmasterworld.com/forum92/5146.htm">How to nuke attackers via httpd.conf?</a><a href="http://www.webmasterworld.com/forum92/5146.htm"></a>That can be accomplished using mod_access &#8220;Deny from &lt;envar&gt;&#8221; with mod_setenvif testing REQUEST_URI or by using mod_rewrite:
<pre>RewriteRule (awstats\.plÂ¦xmlrpc\.phpÂ¦includer\.cgiÂ¦hints\.pl)$ - [F]</pre>
<p>Of course, the problem is that you&#8217;ll still be wasting bandwidth sending your custom 403 error page to these idiots.A work-around (stay with me here) is to do the following:Create a new subdirectory below web root.Place a custom 403 error page in that subdirectory. Lets call it &#8220;403.html&#8221; for now. Leave out all the HEAD content, and just put a few characters in this file, so you can recognize it by filesize when fetched &#8212; I use just the text &#8220;No.&#8221;Now create an .htaccess file in that subdirectory that contains the following:
<pre>ErrorDocument 403 /path_to_this_subdirectory/403.html</pre>
<pre>Options +FollowSymLinks</pre>
<pre>RewriteEngine onRewriteRule !^403\.html$ - [F]</pre>
<p>Now, instead of the first code snippet I posted above, use the following in httpd.conf or in your web root .htaccess file:
<pre>RewriteRule (awstats\.plÂ¦xmlrpc\.phpÂ¦includer\.cgiÂ¦hints\.pl)$ \</pre>
<pre>/path_to_subdirectory/$1 [L]</pre>
<p>Now when a bad-bot attempts to fetch one of those files, it gets rewritten to the subdirectory. But no files in that subdirectory are allowed to be fetched except for 403.html. So, the 403 error handler is invoked, and returns only a 403-Forbidden server response header and the three-byte response from 403.html, thus minimizing your bandwidth loss.</p>
]]></content:encoded>
			<wfw:commentRss>http://OurLil.com/blog/how-to-nuke-attackers-via-httpdconf/111/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authenticate Apache 2 using Mac OS X Open Directory</title>
		<link>http://OurLil.com/blog/authenticate-apache-2-using-mac-os-x-open-directory/78/</link>
		<comments>http://OurLil.com/blog/authenticate-apache-2-using-mac-os-x-open-directory/78/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 16:05:11 +0000</pubDate>
		<dc:creator>webmaestro</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[WebTech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://OurLil.com/blog/authenticate-apache-2-using-mac-os-x-open-directory/</guid>
		<description><![CDATA[macosxhints.com &#8211; Authenticate Apache 2 using Mac OS X Open Directory Change this: cn=user1,dn=example,dn=com to this: uid=user1,dn=example,dn=com so it looks like this: AuthType Basic AuthName "Testing of LDAP auth" AuthBasicProvider ldap AuthzLDAPAuthoritative on AuthLDAPBindDN uid=testaccount1,cn=users,dc=geo,dc=vuw,dc=ac,dc=nz AuthLDAPBindPassword [plaintext password for user 'testaccount1'] AuthLDAPURL ldap://server1.geo.vuw.ac.nz/dc=geo,dc=vuw,dc=ac,dc=nz require valid-user Clear as mud?]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.macosxhints.com/article.php?story=20071024161139559">macosxhints.com &#8211; Authenticate Apache 2 using Mac OS X Open Directory</a></p>
<p>Change this:</p>
<p><code>cn=user1,dn=example,dn=com</code></p>
<p>to this:</p>
<p><code>uid=user1,dn=example,dn=com</code></p>
<p>so it looks like this:</p>
<p><code>AuthType Basic<br />
AuthName "Testing of LDAP auth"<br />
AuthBasicProvider ldap<br />
AuthzLDAPAuthoritative on<br />
AuthLDAPBindDN uid=testaccount1,cn=users,dc=geo,dc=vuw,dc=ac,dc=nz<br />
AuthLDAPBindPassword [plaintext password for user 'testaccount1']<br />
AuthLDAPURL ldap://server1.geo.vuw.ac.nz/dc=geo,dc=vuw,dc=ac,dc=nz<br />
require valid-user<br />
</code></p>
<p>Clear as <code>mud</code>? <img src='http://OurLil.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://OurLil.com/blog/authenticate-apache-2-using-mac-os-x-open-directory/78/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xalan Command-Line Utility</title>
		<link>http://OurLil.com/blog/xalan-command-line-utility/75/</link>
		<comments>http://OurLil.com/blog/xalan-command-line-utility/75/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 14:55:04 +0000</pubDate>
		<dc:creator>webmaestro</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://OurLil.com/blog/xalan-command-line-utility/</guid>
		<description><![CDATA[Here&#8217;s the command for running Xalan from the command line: java org.apache.xalan.xslt.Process -IN xmlfile -XSL file -OUT outfile More info is available here: Command-Line Utility]]></description>
			<content:encoded><![CDATA[<p><a href="http://clay.freedomblogging.com/files/2007/10/picture-1.jpg" title="Xalan CLI Interface"><img src="http://clay.freedomblogging.com/files/2007/10/picture-1.thumbnail.jpg" alt="Xalan CLI Interface" align="right" border="0" height="117" hspace="10" width="128" /></a>Here&#8217;s the command for running Xalan from the command line:</p>
<blockquote><p>java org.apache.xalan.xslt.Process -IN xmlfile -XSL file -OUT outfile</p></blockquote>
<p>More info is available here:</p>
<p><a href="http://xml.apache.org/xalan-j/commandline.html">Command-Line Utility</a></p>
]]></content:encoded>
			<wfw:commentRss>http://OurLil.com/blog/xalan-command-line-utility/75/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hacks secure htaccess phpnuke code hacks PHP-Nuke modules, blocks, themes</title>
		<link>http://OurLil.com/blog/hacks-secure-htaccess-phpnuke-code-hacks-php-nuke-modules-blocks-themes/72/</link>
		<comments>http://OurLil.com/blog/hacks-secure-htaccess-phpnuke-code-hacks-php-nuke-modules-blocks-themes/72/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 16:16:29 +0000</pubDate>
		<dc:creator>webmaestro</dc:creator>
				<category><![CDATA[SPAM]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[httpd]]></category>

		<guid isPermaLink="false">http://OurLil.com/blog/hacks-secure-htaccess-phpnuke-code-hacks-php-nuke-modules-blocks-themes/</guid>
		<description><![CDATA[I may consider adding this to my personal server&#8217;s .htaccess file&#8230; hacks secure htaccess phpnuke code hacks PHP-Nuke modules, blocks, themes]]></description>
			<content:encoded><![CDATA[<p>I may consider adding this to my personal server&#8217;s .htaccess file&#8230;</p>
<p><a href="http://www.ewebsite.biz/modules.php?name=phpnuke&amp;page=hacks/secure_htaccess.html">hacks secure htaccess phpnuke code hacks PHP-Nuke modules, blocks, themes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://OurLil.com/blog/hacks-secure-htaccess-phpnuke-code-hacks-php-nuke-modules-blocks-themes/72/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

