Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Redirect slashdotters
Ruby
tree: 8dcc5f8fb5

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.document
.gitignore
LICENSE
README.markdown
Rakefile
VERSION.yml
rack-noslashdot.gemspec

README.markdown

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

Something went wrong with that request. Please try again.