So, I updated Cherokee a while ago and apparently that broke my MediaWiki setup somehow. I've tried scrapping the config and re-running the MediaWiki vServer wizard from scratch, to no avail (When it was previously working, MediaWiki had been setup via the wizard). It had been running fine on my root domain name, but now when I try and access it from plain http://rebertia.com , I get a 403 Forbidden. When I access a wiki URL specifically (e.g. http://rebertia.com/wiki/Main_Page ), I get served a raw PHP file. On the other hand, my Wordpress-powered blog is still working fine even after restarting Cherokee several times and purging my browser's cache, so PHP itself seems to be in working order.
I'm a greenhorn as far as running a server, so I'd appreciate any suggestions whatsoever as to how to fix this. I'm running Cherokee 1.0.8 on Ubuntu; MediaWiki v1.16.0 In the unlikely event that it helps, here's what I believe to be the relevant parts of cherokee.conf (although they should just be the wizard-generated defaults): vserver!10!directory_index = index.html vserver!10!document_root = /var/www vserver!10!error_writer!filename = /var/log/cherokee/cherokee.error vserver!10!error_writer!type = file 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!nick = default vserver!10!rule!5!encoder!gzip = allow vserver!10!rule!5!handler = server_info vserver!10!rule!5!handler!type = just_about vserver!10!rule!5!match = directory vserver!10!rule!5!match!directory = /about vserver!10!rule!4!document_root = /usr/lib/cgi-bin vserver!10!rule!4!handler = cgi vserver!10!rule!4!match = directory vserver!10!rule!4!match!directory = /cgi-bin vserver!10!rule!3!document_root = /usr/share/cherokee/themes vserver!10!rule!3!handler = file vserver!10!rule!3!match = directory vserver!10!rule!3!match!directory = /cherokee_themes vserver!10!rule!2!document_root = /usr/share/cherokee/icons vserver!10!rule!2!handler = file vserver!10!rule!2!match = directory vserver!10!rule!2!match!directory = /icons vserver!10!rule!1!handler = common vserver!10!rule!1!handler!iocache = 1 vserver!10!rule!1!match = default vserver!30!directory_index = index.php,index.html vserver!30!document_root = /usr/share/mediawiki vserver!30!error_writer!filename = /var/log/cherokee/cherokee.error vserver!30!error_writer!type = file vserver!30!logger = combined vserver!30!logger!access!buffsize = 16384 vserver!30!logger!access!filename = /var/log/cherokee/cherokee.access vserver!30!logger!access!type = file vserver!30!nick = rebertia.com vserver!30!rule!60!document_root = /usr/share/mediawiki vserver!30!rule!60!match = directory vserver!30!rule!60!match!directory = /w vserver!30!rule!60!match!final = 0 vserver!30!rule!50!handler = redir vserver!30!rule!50!handler!rewrite!1!show = 1 vserver!30!rule!50!handler!rewrite!1!substring = /w/index.php vserver!30!rule!50!match = fullpath vserver!30!rule!50!match!fullpath!1 = /wiki vserver!30!rule!50!match!fullpath!2 = /wiki/ vserver!30!rule!40!handler = redir vserver!30!rule!40!handler!rewrite!1!show = 0 vserver!30!rule!40!handler!rewrite!1!substring = /w/index.php?/$1 vserver!30!rule!40!match = request vserver!30!rule!40!match!request = /wiki/(.+) vserver!30!rule!30!encoder!gzip = 1 vserver!30!rule!30!handler = fcgi vserver!30!rule!30!handler!balancer = round_robin vserver!30!rule!30!handler!balancer!source!1 = 1 vserver!30!rule!30!handler!error_handler = 1 vserver!30!rule!30!match = extensions vserver!30!rule!30!match!check_local_file = 1 vserver!30!rule!30!match!extensions = php vserver!30!rule!30!match!final = 0 vserver!30!rule!30!timeout = 30 vserver!30!rule!20!encoder!deflate = 0 vserver!30!rule!20!encoder!gzip = 0 vserver!30!rule!20!expiration = time vserver!30!rule!20!expiration!time = 1h vserver!30!rule!20!handler = file vserver!30!rule!20!handler!iocache = 1 vserver!30!rule!20!match = fullpath vserver!30!rule!20!match!fullpath!1 = /favicon.ico vserver!30!rule!20!match!fullpath!2 = /robots.txt vserver!30!rule!20!match!fullpath!3 = /crossdomain.xml vserver!30!rule!10!handler = file vserver!30!rule!10!match = default Cheers and Thanks, Chris _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
