On 03-mar-09, at 02:42, Superman Jason wrote: > The great thing with this feature is it is easy to point an alias at > a directory anywhere and control the features for it separately.
I'm afraid this sort of delegation is not supported yet. > I see that it’s easy to add a regular directory to Cherokee, but > how would one go about adding one that points to a directory like > drupal that is mostly php script? The behavior of a virtual server is based on a list of rules. Those rules will be evaluated from highest to lowest priority (top to down in the Behavior list). As you can see, the "Extension PHP" rule is on top of the list. Thus, it will match all the .php requests independently of where the files are located. In the case of Drupal, it'd be almost the same. The only thing you'd have to do is to add a new rules *before* the "Extension PHP" one. It'd only have to specify the Document Root (/usr/local/www/drupal6). It is very important to ensure that this new rule is *not* marked as Final, so once the Document Root has been set, the evaluation continues until it reaches the "Extension PHP" rule. The concept is simple, although I wonder whether I've managed to explain it. -- Greetings, alo http://www.alobbs.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
