class MountRedirect(object):
    def process_request(self, request):
        request.path = request.META.get('SCRIPT_NAME', '') + request.path