Freshness Warning
This article is over 8 years old. It's possible that the information you read below isn't current.
4 Apr 2003
There are a couple of people requesting the Simplelinks RSS feed two dozen times an hour. If that’s you, you’ll notice that you no longer have access to the feed. Instead you get this RSS feed.
So how’s that done?
If your Web server is Apache and you have mod_rewrite installed, add the following to a file called .htaccess in the directory where your feed is located.
RewriteEngine On<br />
RewriteCond %{REMOTE_ADDR} ^10.0.0.1$ [OR]<br />
RewriteCond %{REMOTE_ADDR} ^10.0.0.2$<br />
RewriteRule rss.xml banned.xml [R]
Replace the 10.0.0.1 and 10.0.0.2 with the IP addresses you want to ban. Replace rss.xml with the filename you are restricting access to and banned.xml with the file you want to display them instead.
Adam Kalsey
Mobile: 916.600.2497
Email: adam AT kalsey.com
AIM or Skype: akalsey
©1999-2012 Adam Kalsey.
Content management by Movable Type.