Skip to content

New middleware, RackErrorPages #17

wants to merge 1 commit into from

2 participants

matth commented Nov 4, 2010


Wonder if you'd like to merge in this new middleware I've been using recently? It serves static error pages if one exists with the same name as your status code, e.g. public/500.html

Works a little like Rack::NotFound but encompasses any status code, therefore can be used for 400's, 500's etc.

Added spec tests, not using this in production yet but it goes fine on my dev environment.



Official Rack repositories member
rkh commented Dec 10, 2012

Doesn't use Rack::File, needs rebase, please open new pull request if you are still interested

@rkh rkh closed this Dec 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.