El Wed, 29 Dec 2010 12:12:55 +0100 Taher Shihadeh <[email protected]> escribió: > Hi! > I've just commited a patch for the WordPress wizard (r6032) that > should fix your issue. > Alternatively, you can simply move your rule matching /blog above the > one for PHP, and that should fix it. > > Let me know if this solves the problem. > Good luck!
Hi Taher! It doesn't work (I don't try the patch, I'm using the debian package version). I tried your alternative fix: I move the "/blog"-directory rule to the top (above the PHP one) and the problem is still here. I tried too to move all the wordpress-related rules above the PHP one, and doesn't work (I have always the same behaviour). I always preserve the order between the wordpress-rules. Rules for my virtual server (from /etc/cherokee/cherokee.conf) vserver!20!directory_index = index.php,index.html vserver!20!document_root = /usr/local/share/gallery3 vserver!20!nick = 192.168.1.2 vserver!20!rule!600!document_root = /usr/local/share/wordpress vserver!20!rule!600!match = directory vserver!20!rule!600!match!directory = /blog vserver!20!rule!600!match!final = 0 vserver!20!rule!500!handler = redir vserver!20!rule!500!handler!rewrite!1!regex = (.*)/ vserver!20!rule!500!handler!rewrite!1!show = 0 vserver!20!rule!500!handler!rewrite!1!substring = $1/index.php vserver!20!rule!500!match = fullpath vserver!20!rule!500!match!fullpath!1 = /blog/wp-admin/ vserver!20!rule!400!handler = file vserver!20!rule!400!handler!iocache = 1 vserver!20!rule!400!match = and vserver!20!rule!400!match!final = 1 vserver!20!rule!400!match!left = directory vserver!20!rule!400!match!left!directory = /blog vserver!20!rule!400!match!right = exists vserver!20!rule!400!match!right!iocache = 1 vserver!20!rule!400!match!right!match_any = 1 vserver!20!rule!400!match!right!match_index_files = 0 vserver!20!rule!400!match!right!match_only_files = 1 vserver!20!rule!300!handler = redir vserver!20!rule!300!handler!rewrite!1!show = 0 vserver!20!rule!300!handler!rewrite!1!substring = /blog/index.php?/$1 vserver!20!rule!300!match = request vserver!20!rule!300!match!request = /blog/(.+) vserver!20!rule!200!encoder!gzip = 1 vserver!20!rule!200!handler = fcgi vserver!20!rule!200!handler!balancer = round_robin vserver!20!rule!200!handler!balancer!source!1 = 1 vserver!20!rule!200!handler!error_handler = 1 vserver!20!rule!200!match = extensions vserver!20!rule!200!match!check_local_file = 1 vserver!20!rule!200!match!extensions = php vserver!20!rule!200!match!final = 0 vserver!20!rule!200!timeout = 30 vserver!20!rule!100!handler = common vserver!20!rule!100!handler!error = 400 vserver!20!rule!100!match = default _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
