Hello Daniel,

On 22-ago-09, at 02:32, Daniel L. Miller wrote:

> I'm trying to setup Conjoon under Cherokee - and it makes use of
> Apache's mod_rewrite.  The .htaccess file is relatively simple:
>
> RewriteEngine on
> RewriteBase /
> RewriteRule (^index\/redirect.+)$ index.php
> RewriteRule
> !(^install)|(^blank\.html)|\.(mp3|swf|js|ico|gif|jpg|png|css)$  
> index.php
>
> However, as I do not yet fully understand Cherokee's handlers & rules,

Check this out:

   http://www.cherokee-project.com/doc/config_virtual_servers.html#behavior

> First, there are two rules listed in the .htaccess file.  Can these be
> handled by a single rule in Cherokee with two handler rules?

Well, with that little configuration snipped I cannot figure the  
expected behavior of all the paths. At first look, it'd something like:

  - Regular Expression: (^/blank\.html)|\.(mp3|swf|js|ico|gif|jpg|png| 
css)$
    Handler: file
  - Default
    Handler: redirection, /index.php

> Now once the rule type is done, I'm guessing the Handler would be
> Redirection?  If so, what's the difference between Internal vs  
> External?

http://www.cherokee-project.com/doc/modules_handlers_redir.html

> And then rule placement - I'm guessing this should appear towards the
> top of the list, prior to my php handler,

Remember, rules are evaluated from top to bottom.  Odds are you don't  
want to place any rule over the "Extension PHP" rule.

> and checked as non-final.  Correct?

I don't think so. Most probably all the rules should be marked as Final.

When a rule is marked as non-Final is because it expects to be refined  
by any of the following rules (most probably authentication stuff). I  
don't think it's the case.

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

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to