On Tue, 24 Aug 2010 10:26:41 +0200
>>>>>> "Antonio" == <[email protected]> wrote:  

Antonio> If you post here the rules you used, someone could do a
Antonio> Wizard
Antonio> for it... Thanks! :-)  

Here they are:

vserver!20!rule!700!handler = file
vserver!20!rule!700!match = directory
vserver!20!rule!700!match!directory = /tmp/cache
vserver!20!rule!600!encoder!gzip = 1
vserver!20!rule!600!handler = fcgi
vserver!20!rule!600!handler!balancer = round_robin
vserver!20!rule!600!handler!balancer!source!1 = 11
vserver!20!rule!600!handler!error_handler = 1
vserver!20!rule!600!match = extensions
vserver!20!rule!600!match!check_local_file = 1
vserver!20!rule!600!match!extensions = php
vserver!20!rule!600!match!final = 1
vserver!20!rule!600!timeout = 30
vserver!20!rule!500!encoder!deflate = 0
vserver!20!rule!500!encoder!gzip = 0
vserver!20!rule!500!expiration = time
vserver!20!rule!500!expiration!time = 1h
vserver!20!rule!500!handler = file
vserver!20!rule!500!handler!iocache = 1
vserver!20!rule!500!match = fullpath
vserver!20!rule!500!match!final = 1
vserver!20!rule!500!match!fullpath!1 = /favicon.ico
vserver!20!rule!500!match!fullpath!2 = /robots.txt
vserver!20!rule!500!match!fullpath!3 = /crossdomain.xml
vserver!20!rule!400!handler = file
vserver!20!rule!400!match = directory
vserver!20!rule!400!match!directory = /images
vserver!20!rule!400!match!fullpath!1 = /srv/http/cms/admin
vserver!20!rule!400!match!fullpath!2 = /srv/http/cms/images
vserver!20!rule!300!handler = file
vserver!20!rule!300!match = directory
vserver!20!rule!300!match!directory = /themes
vserver!20!rule!200!handler = file
vserver!20!rule!200!match = directory
vserver!20!rule!200!match!directory = /uploads
vserver!20!rule!100!handler = redir
vserver!20!rule!100!handler!rewrite!1!regex = ^/(.*)$
vserver!20!rule!100!handler!rewrite!1!show = 0
vserver!20!rule!100!handler!rewrite!1!substring = /index.php?page=$1
vserver!20!rule!100!match = default


Iow, regex at the end is important to get seo-friendly URLs and there
are few directories {/images,/themes,/uploads,/tmp/cache} which need
to be handled by static-content handler.

That's all. ;)


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG: CDBF17CA

-- 

-- 

Gour  | Hlapicina, Croatia  | GPG: CDBF17CA

-- 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to