NOTICE:
This content is in the "archives" of a retired blog called Gadgetopia. It has been moved to this subdomain as it is no longer considered relevant to the site. It is being hosted here for a indeterminate period of time. Its existence at this URL is not guaranteed, and it may be removed at any time. If you would like to refer to this content in the future, you are encouraged to save it to your local file system.

Some content from Gadgetopia was moved to the technical blog on deanebarker.net

Slashdot Protection

Originally published by "dbarker" on 2006-04-23 12:50:00Z

slashdot protection: Neat little snippet of mod_rewrite code to prevent your site from being Slashdotted. Inbound requests from a dozen of so of the big link sites (Slashdot, Digg, etc.) will redirect to the copy of your site sitting out on Coral.

The problem, of course, is that Coral runs on port 8090, and how many people will be blocked from that?