On 13 June 2010 02:22, Aj <[email protected]> wrote:
> I am looking for a way to authenticate uploads via WSGI and proxy data
> to downstream servers.
>
> Running Apache + mod_wsgi (daemon mode) in front and pool of Apaches
> on the backend.
>
> In concept I would like to use a technique similar to using Location /
> X-Sendfile but in the other direction.
>
> At present I am trying with WSGI + mod_reproxy in the front and
> mod_porter + WSGI in the backend pool. I am unable to proxy the
> original request content to the second level Apache -- content seems
> to get reset after the WSGI in the front. Any way to send down the
> original POSTed data without touching (processing) it in the front
> authenticating WSGI?
>
> Intent is to let Apache handle the task of downloads AND uploads
> (parsing of multifiorm requests, save to storage servers).

For a start read:

  http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms

This will only work though if using HTTP Basic or Digest
authentication handled by Apache.

If you are expecting to use a HTML form/session based log in mechanism
it gets a bit tricker.

Perhaps look at:

  http://www.openfusion.com.au/labs/mod_auth_tkt/

Apache 2.4 when available will have mod_session which will allow
similar things but that is a little way off and mod_wsgi has been
enhanced yet to directly support mod_session in Apache.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to