RubyGems Navigation menu

rack-domain_redirect 0.1.1

Rack::DomainRedirect is a tiny rack middleware for redirecting to the configurable domain. If user request's the service from domain other than that configured it redirects to the first domain on the configuration list. If no domain is configured it does noting and passes requests to another application in the chain.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - January 14, 2010 (6.5 KB)

Runtime Dependencies (1):

rack >= 1.1

Development Dependencies (2):

rack-test >= 0.5
shoulda >= 2

Owners:

Authors:

  • Michal Pawlowski

SHA 256 checksum:

d2e42a98e552f6ad3dd802b380e21cba49ca3e4d1f645229406187272ad65f48

Total downloads 4,654

For this version 4,654

Licenses:

N/A

Required Ruby Version: None

Links: