The docs for WSGIScriptAliasMatch https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIScriptAliasMatch are openly scary. Is there a way to say "Everything in this directory goes through this WSGI script, unless the URL begins with a tilde, in which case process it the old way"?
My site file is currently like this:
<VirtualHost *:80> ... other directives ... AliasMatch ^/1/~(.*)$ /var/www/rosuav.com/1/~$1 WSGIScriptAlias /1 /var/www/rosuav.com/1/1.wsgi </VirtualHost>
In theory, it ought to be possible to have the WSGIScriptAlias directive specifically ignore URLs beginning with tildes, but I don't want to break stuff :)