How to let mod_wsgi only handle certain URLs under Apache?
Posted
by Frederik
on Server Fault
See other posts from Server Fault
or by Frederik
Published on 2010-06-03T14:29:17Z
Indexed on
2010/06/03
14:35 UTC
Read the original article
Hit count: 322
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?
© Server Fault or respective owner