Hi.

I'm trying to run Django through Cherokee 0.99.24-1~jaunty~ppa1 on
Ubuntu 9.04 server without success.

To be sure I'm not doing something silly, I've purged the system and
installed Cherokee from scratch. Then I've used the wizard to set up a
minimal Django site using defaults wherever I could.

The server starts without complaint, but serves only from the default
"fall through" handler, and there's no scgi processes started.

The config file below, minus icon- and mime-lines.

Any tips on how to troubleshoot this thing? I've already tried running
the interpreter line from a shell as the www-data user, and it seems
to work as there's six processes listed by ps aux | grep python
afterwards.

Nils


server!bind!1!port = 80
server!group = www-data
server!keepalive = 1
server!keepalive_max_requests = 500
server!panic_action = /usr/share/cherokee/cherokee-panic
server!pid_file = /var/run/cherokee.pid
server!server_tokens = full
server!timeout = 15
server!user = www-data
vserver!10!directory_index = index.html
vserver!10!document_root = /var/www
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!nick = default
vserver!10!rule!5!encoder!gzip = 1
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 = 0
vserver!10!rule!1!match = default
vserver!20!document_root = /var/www
vserver!20!logger = combined
vserver!20!logger!access!buffsize = 16384
vserver!20!logger!access!filename = /var/log/cherokee/cherokee.access
vserver!20!logger!access!type = file
vserver!20!logger!error!filename = /var/log/cherokee/cherokee.error
vserver!20!logger!error!type = file
vserver!20!nick = www.nilsr.com
vserver!20!rule!500!handler = file
vserver!20!rule!500!match = fullpath
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!10!expiration = time
vserver!20!rule!10!expiration!time = 7d
vserver!20!rule!10!handler = file
vserver!20!rule!10!match = directory
vserver!20!rule!10!match!directory = /media
vserver!20!rule!1!encoder!gzip = 1
vserver!20!rule!1!handler = scgi
vserver!20!rule!1!handler!balancer = round_robin
vserver!20!rule!1!handler!balancer!source!1 = 1
vserver!20!rule!1!handler!check_file = 0
vserver!20!rule!1!handler!error_handler = 1
vserver!20!rule!1!match = default
source!1!env_inherited = 1
source!1!host = /tmp/cherokee-source1.sock
source!1!interpreter = python /home/nils/mysite/manage.py runfcgi
protocol=scgi socket=/tmp/cherokee-source1.sock
source!1!nick = Django 1
source!1!type = interpreter
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to