Ok, I've tried a few things, and no success.  I'm sure it's a small
error, magnified by my time constraints.

I have a site which I set up using the django wizard.  I'm running
cherokee .99.28.

Instead of using a 'media' directory, my static path is called 'static'

What is happening is that the static paths are not being found by
cherokee.  I get cherokee 404 errors when I try to access the css, for
example

my config:

vserver!20!nick = brand-manager.ca
vserver!20!rule!300!encoder!deflate = 0
vserver!20!rule!300!encoder!gzip = 0
vserver!20!rule!300!expiration = time
vserver!20!rule!300!expiration!time = 7d
vserver!20!rule!300!handler = file
vserver!20!rule!300!handler!iocache = 1
vserver!20!rule!300!match = directory
vserver!20!rule!300!match!directory = /static
vserver!20!rule!300!match!final = 1
vserver!20!rule!300!no_log = 0
vserver!20!rule!300!only_secure = 0
vserver!20!rule!200!handler = file
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!encoder!gzip = 1
vserver!20!rule!100!handler = scgi
vserver!20!rule!100!handler!balancer = round_robin
vserver!20!rule!100!handler!balancer!source!1 = 1
vserver!20!rule!100!handler!check_file = 0
vserver!20!rule!100!handler!error_handler = 1
vserver!20!rule!100!match = default
vserver!20!rule!100!match!final = 1
source!1!host = /tmp/cherokee-source1.sock
source!1!interpreter = python /var/sites/brandmanager/manage.py
runfcgi protocol=scgi socket=/tmp/cherokee-source1.sock


example of the problem:  go to http://brand-manager.ca

you'll see data with no static images.  Try to get one of the
stylesheets, (http://brand-manager.ca/static/css/style.css)  and you
will get a 404 from cherokee.

I know that my problems are my own, but if i don't get this working
ASAP, I'll be forced to switch to nginx!  Please help!


-- 
Kevin Beckford
Lead Developer,
Lazyweb Construction Company,
http://lazyweb.ca
[email protected]
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to