Your Ad Here

Feed overload

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.


Your comments:

Text only, no HTML. URLs will automatically be converted to links. Your email address is required, but it will not be displayed on the site.

Name:

Email: (not displayed)

If you don't feel comfortable giving me your real email address, don't expect me to feel comfortable publishing your comment.

Website (optional):

Lijit Search

Best Of

Recently Read

Get More

Subscribe | Archives

Recently

Sprout Test (May 7)
A test post for Sprout widgets.
Product Leadership (May 3)
An anthology of product leadership writing.
Fighting Monster patent claims (Apr 16)
The patent bully picked on the wrong little guy.
Peavy's pine tar (Apr 6)
Jake Peavy's cheating
Bush and Morgan on inner city baseball (Mar 30)
Morgan and Bush discuss the role of baseball in the inner cities.
Not a fork (Mar 27)
We have no intention of forking Drupal. That would be nuts. So what are we doing then?
Eating our dogfood in the sausage factory (Mar 26)
Recursive development for the new Drupal powered community platform.

Subscribe to this site's feed.

Elsewhere

Feed Crier
Get alerted by IM when your favorite web sites and feeds are updated.
SacStarts
The Sacramento technology startup community.
Pinewood Freak
Pinewood Derby tips and tricks
Del.icio.us
My tagstream at del.icio.us.
Waddlespot
My son's Club Penguin community. News, blogs, tips, and tricks.

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

AIM or Skype: akalsey

Resume

PGP Key

©1999-2008 Adam Kalsey.
Content management by Movable Type.