Hello Michael, On Wed, Mar 9, 2011 at 6:54 AM, Michael McGlothlin < [email protected]> wrote:
> Can somebody tell me why a given file in the vserver's document root > will load but a file in the rule's document root will not? Basically, > I want it to check for it in /tmp/data, then /static/data, then /data, > and finally try pulling it from the reverse proxy. If I put the file > under /tmp/data/domains/pstock it finds the file but if I put it under > /static/data/domains/pstock or /data/domains/pstock it does not. In > all cases the file and the entire tree has the same owner, group, and > permissions. Where am I going wrong? > The DocumentRoot is a property that is set once the request has matched a rule, not before. Hence, the per-rule document roots are not having any effect on this case, and the request is subsequently matched against the default document root on all your rules. I'm afraid I cannot think of any alternative method to configure it. I'll give it some thought though. Let's see what we can do here. Cheers! -- Greetings, alo http://www.octality.com/
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
