Serving static files with mod_wsgi and Django
问题 I have a django application using mod_python, fairly typical configuration except that media files are being served by a (I know, not recommended) 'media' directory in the document root. I would like to test and maybe deploy with mod_wsgi but I cannot figure out how to create something simple to serve static files. mod_python allows the use of Apache directives like: <Location '/'> SetHandler MyApplication.xyz..... </Location> <Location '/media'> SetHandler None </Location> The django docs