How to let mod_wsgi only handle certain URLs under Apache?
- by Frederik
I have a Django app that handles "/admin/" and "/myapp/". All the other requests should be handled by Apache.
I've tried using LocationMatch but then I'd have to write a negative regex. I've tried WSGIScriptAlias with the /admin/ prefix but then the wsgi_handler receives the request with the /admin/ part cut off.
Is there a cleaner way to make mod_wsgi only handle certain requests?