I have a virtual server:

  www.example.com

which is a WordPress site.

I also have a Django application that I run, using uWSGI, using a relative path

  www.example.com/django_app

I already have static content handlers as full paths:

  /favicon.ico
  /robots.txt
  /crossdomain.xml

Served from document root /var/www/www.example.com.

I need to add static content handlers for the Django application's CSS, images, etc, preferably as a directory:

  /static

Served from a different document root /var/www/django_app.example.com.

How do I do this?

It looks like I can specify multiple rules (using OR). However, the UI expects them to all have the same document root.

I tried adding a second static content handler but got the attached error message.

Cheers,
David.

<<attachment: Screenshot-1.png>>

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

Reply via email to