Can you confirm whether all error codes are being generated by either Django or 
your server code? If so, you could use your own WSGI middleware around Django.

Graham

> On 17 Sep 2015, at 3:25 pm, Mitch <[email protected]> wrote:
> 
> if there was some way that my ErrorDocument /script had some notion of 
> context on the flow to its invocation, e.g. client -> apache -> wsgi -> 
> django -> my-server-code -> /script, then /script might be able to not 
> override what was sent in my-server-code; and when it knows that 
> my-server-code was not in the flow, it can do the more generic error 
> processing, e.g. for an auth error.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to