On 23-ene-09, at 11:07, Oli Warner wrote: > For that example, you add two rules on top of the default handler so > it should look like this, in order: > > Directory /parts (set up to use the information source for your fcgi) > Directory /articles (as above) > Default (set to serve static content)
It's very important to remember that order of the rules does matter. The list is evaluated from top to bottom: - If the request matched a 'final' rule, it'd be applied and the evaluation would stop. - If the request matched a 'non-final' rule, it'd be applied and the evaluation would continue. If another rule matched, it would apply the configuration options that weren't already been set by a previous rule. > On Fri, 2009-01-23 at 02:03 -0800, Voltron wrote: >> Can someone tell me how to configure Cherokee to serve only certain >> parts of my domain? For example >> >> www.mydomain.com should be server normally from this folder /var/www/ >> mydomain >> www.mydomain.com/parts should be served by the FCGI backend >> www.mydomain.com/articles should be served by the FCGI backend -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
