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, I'm uncertain how to proceed - my attempts thus far have been less than successful. I'm not asking anybody to write my config for me (though that's always convenient :) ) - but as my current attempts to locate relevant documentation have failed, I would appreciate at least some guidance as to how to proceed. First, there are two rules listed in the .htaccess file. Can these be handled by a single rule in Cherokee with two handler rules? Or do these need to be processed as separate rules at the server level? Next, which base rule type is appropriate? Seems like Directory, Extensions, RegExp, and Full Path might be applicable. 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? And then rule placement - I'm guessing this should appear towards the top of the list, prior to my php handler, and checked as non-final. Correct? My first draft was: First Rule - Directory, / Handler - Redirection External, (^index\/redirect.+)$, index.php External, !(^install)|(^blank\.html)|\.(mp3|swf|js|ico|gif|jpg|png|css)$, index.php And this - didn't work out too well. -- Daniel _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
