Hello Alex,

On Thu, Apr 14, 2011 at 4:48 AM, Alex Dunmow <[email protected]> wrote:

> vserver!20!directory_index = index.php,index.html,index.htm
> vserver!20!document_root = /var/www/compass
> vserver!20!error_writer!filename = /var/log/cherokee/compass.errors.log
> vserver!20!error_writer!type = file
> vserver!20!rule!140!document_root = /var/www/support
> vserver!20!rule!140!encoder!gzip = 1
> vserver!20!rule!140!handler = fcgi
> vserver!20!rule!140!handler!balancer = round_robin
> vserver!20!rule!140!handler!balancer!source!10 = 3
> vserver!20!rule!140!handler!error_handler = 1
> vserver!20!rule!140!match = directory
> vserver!20!rule!140!match!directory = /support
> vserver!20!rule!140!timeout = 30
>

The right thing to do would be to configure three rules:

   - Directory: /support, Document root: /var/www/support, Non-final
   - Extension PHP, (whatever settings the PHP wizard configured for you)
   - Directory /support, Handler common, Final

Things to bear in mind: The order of the rules does matter. Final/Non-Final
is a powerful tool.

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

-- 
Greetings, alo
http://www.octality.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to