I'm using cherokee to host my blog @ madumlao.is-a-geek.org.
Since the /blog is the default application, I used the redirect handler to force / to be redirected to /blog. It works, well and good.
However, the redirect code that Cherokee uses is a 301 (permanent) redirect, rather than a 302 (temporary) redirect. This means that all modern clients will cache the redirection and silently convert requests of / to /blog. This is not what I want.
if, sometime in the future, I decide to change the default application of / to something other than /blog, the clients (including me) where the / is cached will be unable to see it, unless they manually clear their browser cache. All attempts to go to my domain root will silently be forwarded to /blog and my server will never even see it.
Is there a way to force Cherokee to give a 302 redirect instead of a 301? The cherokee docs for the redirect handler don't even mention redirect codes.