2009/5/22 Frank Groeneveld <[email protected]>:
> Hi,
>
> I'm having some trouble to get a Zend Framework application working in
> Cherokee. I used the tutorial at:
> http://www.cherokee-project.com/doc/cookbook_zend.html
> The problem is, that if I browse to http://<ip>/ I get a 403 forbidden
> error message. If I go to http://<ip>/index.php it works normally
> (also things like http://<ip>/<controllername>/<actionname>/ work the
> way they should. What did I do wrong?
> This is the relevant config section:
> vserver!10!collect_statistics = 1
> vserver!10!directory_index = index.php
> vserver!10!document_root = /var/www/proman/public/
> vserver!10!keepalive = 1
> vserver!10!logger = combined
> vserver!10!logger!access!buffsize = 16384
> vserver!10!logger!access!filename = /var/log/cherokee/cherokee.access
> vserver!10!logger!access!type = file
> vserver!10!logger!error!filename = /var/log/cherokee/cherokee.error
> vserver!10!logger!error!type = file
> vserver!10!logger!x_real_ip_access_all = 0
> vserver!10!logger!x_real_ip_enabled = 0
> vserver!10!nick = default
> vserver!10!rule!300!encoder!gzip = 1
> vserver!10!rule!300!handler = fcgi
> vserver!10!rule!300!handler!balancer = round_robin
> vserver!10!rule!300!handler!balancer!source!1 = 1
> vserver!10!rule!300!handler!error_handler = 1
> vserver!10!rule!300!match = extensions
> vserver!10!rule!300!match!extensions = php
> vserver!10!rule!300!match!final = 1
> vserver!10!rule!200!encoder!deflate = 0
> vserver!10!rule!200!encoder!gzip = 0
> vserver!10!rule!200!handler = file
> vserver!10!rule!200!handler!iocache = 0
> vserver!10!rule!200!match = exists
> vserver!10!rule!200!match!exists = .css,.png,.jpg
> vserver!10!rule!200!match!final = 1
> vserver!10!rule!200!match!iocache = 0
> vserver!10!rule!200!match!match_any = 1
> vserver!10!rule!200!no_log = 0
> vserver!10!rule!200!only_secure = 0
> vserver!10!rule!100!encoder!deflate = 0
> vserver!10!rule!100!encoder!gzip = 0
> vserver!10!rule!100!handler = redir
> vserver!10!rule!100!handler!rewrite!1!regex = ^.*$
> vserver!10!rule!100!handler!rewrite!1!show = 0
> vserver!10!rule!100!handler!rewrite!1!substring = /index.php
> vserver!10!rule!100!match = default
> vserver!10!rule!100!match!final = 1
> vserver!10!rule!100!no_log = 0
> vserver!10!rule!100!only_secure = 0
>
> Regards,
> Frank Groeneveld
>

Apparently, if I switch to "list & send" instead of "static content"
for the "match if file exists"-rule, everything works the way it
should. Why do they say I must use "static content"?

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

Reply via email to