<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: slashdot code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 18 May 2008 05:54:58 GMT</pubDate>
    <description>DZone Snippets: slashdot code</description>
    <item>
      <title>Prevent yourself from getting Slashdotted</title>
      <link>http://snippets.dzone.com/posts/show/115</link>
      <description>Assuming you have mod_rewrite and AllowOverride activated, throw this in the .htaccess file for the directory you don't want to be Slashdotted:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{HTTP_REFERER} ^.*slashdot.*$&lt;br /&gt;RewriteRule .* - [F]&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This all assumes the editors actually check the links before posting the story, but this should reasonably mean no-one on Slashdot can link to you, even if it's a bit over the top.</description>
      <pubDate>Sun, 10 Apr 2005 10:43:23 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/115</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
  </channel>
</rss>
