Multiple 404 error pages

Is it possible to have a different 404 or 500 error page be shown based
on the request path? For example, any failed request that started with
"/admin" would get an error page that matched the layout of the admin
layout while any other failed request would get the standard 500 error
page.
--
Posted via http://www.ruby-forum.com/.