On 19/11/2009, at 13:49, kevin beckford wrote:

>>> 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.
>> 
>> What's the document root of that virtual server?
> 
> vserver!20!document_root = /var/sites/brandmanager/static/

There you are! :)

If the virtual server's document root is /var/sites/brandmanager/static/ and 
the public web directory /static doesn't define a custom document root, the 
/static/example.txt request would be evaluated as 
/var/sites/brandmanager/static/static/example.txt (notice the second /static).

I'd recommend you to set a custom document root in the "Directory /static" 
rule, so it points to /var/sites/brandmanager/static/

--
Octality
http://www.octality.com/

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

Reply via email to