Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (14 sloc) 0.556 kB

rack-noslashdot

rack-noslashdot will redirect anyone who has been refered by slashdot (and doesn't mask their HTTP_REFERER header)

usage

just

config.middleware.use "NoSlashdot", :redirect => 'http://slashdot.org'

or let the default kick in

config.middleware.use "NoSlashdot"

license

Copyright (c) 2009 Christopher Redinger. See LICENSE for details.

thanks

This is just a play on Julio Cesar's NoIE middleware. http://github.com/juliocesar/rack-noie

in response to Peter Cooper's tweet http://twitter.com/peterc/status/4926493168

Jump to Line
Something went wrong with that request. Please try again.