module Redirection
A middleware which assists with redirecting from one path to another.
Nested Classes and Modules
class ClientRedirectA basic client-side redirect.
class DirectoryIndexRedirect urls that end with a
/, e.g. directories.class ErrorsA middleware which performs internal redirects based on error status codes.
class MovedRewrite requests that match the given pattern to a new prefix.
class RequestFailureAn error handler fails to redirect to a valid page.
class RewriteRewrite requests that match the given pattern to a single destination.
Definitions
MAX_AGE = 3600*24
We cache 301 redirects for 24 hours.