Hello! Below are rules to make CMS Made Simple (http://www.cmsmadesimple.org/) play nicely with Cherokee, hoping someone will be able to write wizard so that CMSMS can become part of glorious Cherokee family.
If you need some more info, pls. don't hesitate to contact me. Besides that I've the following in config.php file: $config['url_rewriting'] = 'mod_rewrite'; #Extension to use if you're using mod_rewrite for pretty URLs. $config['page_extension'] = ''; #If you're using the internal pretty url mechanism or mod_rewrite, would you like to #show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage) $config['use_hierarchy'] = true; #If using none of the above options, what should we be using for the query string #variable? (ex. http://www.mysite.com/index.php?page=somecontent) $config['query_var'] = 'page'; Here are the rules: vserver!20!rule!900!match = extensions vserver!20!rule!900!match!check_local_file = 1 vserver!20!rule!900!match!extensions = php vserver!20!rule!900!match!final = 1 vserver!20!rule!900!timeout = 30 vserver!20!rule!800!handler = file vserver!20!rule!800!match = directory vserver!20!rule!800!match!directory = /admin/themes vserver!20!rule!700!handler = file vserver!20!rule!700!match = directory vserver!20!rule!700!match!directory = /images vserver!20!rule!700!match!fullpath!1 = /srv/http/cms/admin vserver!20!rule!700!match!fullpath!2 = /srv/http/cms/images vserver!20!rule!600!handler = file vserver!20!rule!600!match = directory vserver!20!rule!600!match!directory = /lib vserver!20!rule!500!handler = file vserver!20!rule!500!match = directory vserver!20!rule!500!match!directory = /modules vserver!20!rule!400!handler = file vserver!20!rule!400!match = directory vserver!20!rule!400!match!directory = /tmp/cache vserver!20!rule!300!handler = file vserver!20!rule!300!match = directory vserver!20!rule!300!match!directory = /uploads vserver!20!rule!200!encoder!deflate = 0 vserver!20!rule!200!encoder!gzip = 0 vserver!20!rule!200!expiration = time vserver!20!rule!200!expiration!time = 1h vserver!20!rule!200!handler = file vserver!20!rule!200!handler!iocache = 1 vserver!20!rule!200!match = fullpath vserver!20!rule!200!match!final = 1 vserver!20!rule!200!match!fullpath!1 = /favicon.ico vserver!20!rule!200!match!fullpath!2 = /robots.txt vserver!20!rule!200!match!fullpath!3 = /crossdomain.xml vserver!20!rule!100!handler = redir vserver!20!rule!100!handler!rewrite!4!regex = /admin$ vserver!20!rule!100!handler!rewrite!4!show = 0 vserver!20!rule!100!handler!rewrite!4!substring = /admin/index.php vserver!20!rule!100!handler!rewrite!5!regex = ^/(.*)$ vserver!20!rule!100!handler!rewrite!5!show = 0 vserver!20!rule!100!handler!rewrite!5!substring = /index.php?page=$1 vserver!20!rule!100!match = default Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG: CDBF17CA --
signature.asc
Description: PGP signature
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
