[Cherokee] Redirections should they fall through?

Alvaro Lopez Ortega alvaro at octality.com
Sat Nov 8 18:31:34 CET 2008


On 08-nov-08, at 16:57, Stefan de Konink wrote:

> As I have reported here;
>
> http://code.google.com/p/cherokee/issues/detail?id=207
>
> Should a user expect redirections to be something that should happen  
> in
> de 'Default' handler, or could it also be an intermediate rule? What I
> observe is that redir 'claims' the request, even if it doesn't have  
> any
> substitute match for it.

I don't understand what you mean. Could you provide an example so we  
can reproduce the problem.

For the record: the redir handler redirects requests based on a  
regular expression. The regex can be either defined in the handler  
properties or, in case the request matched a regular expression rule,  
it could reuse that one.

Where to use a redirection is a completely different subject. It  
depends on what you want do. There are no rules about that, it's  
completely up to you. That makes the server quite flexible, although  
it allows you to configure non-sense rules as well.

--
Octality
http://www.octality.com/



More information about the Cherokee mailing list