We use apache, mod_php, and mod_wsgi to serve a central wordpress site, with some paths instead powered by Django, so for example these pages might be powered by Wordpress:
oursite.com/
oursite.com/video/
but these URL's might be Django-powered:
oursite.com/our-cool-django-app/
oursite.com/schedule/
Right now, we use a long list of WSGIScriptAlias to map particular paths to Django. This annoying and labor intensive.
So, is there a way that we can configure things such that:
- One or the other first attempts to handle the URL (I'm not too concerned) first
- If that handler returns a 404, try the other one
I'm particularly interested in an Apache solution, but will consider alternatives.