The internal redirect follows what Apache does for CGI scripts. Apache converts any internal redirect for that into a GET. It also throws away any request content as well. Thus what you can do is somewhat limited.
For what you want to do, sounds like you would be better off using mod_auth_tkt. See: http://www.openfusion.com.au/labs/mod_auth_tkt/ It will handle authentication/authorisation before it hits your URL and so most likely no need for fancy redirects. Graham On 14 September 2011 00:46, Ben Timby <[email protected]> wrote: > Let me also provide some information on what I am trying to achieve. > > I want to use my WSGI application for two tasks: > > 1. Authenticate the user using Basic and Digest authentication against > my user database. This is working. > 2. I want to redirect the request (internally) to the user's home directory. > > The end result is that any user can visit the website, and they will > see their files. Thus each user sees a different directory exported > via WebDAV. I tried using an HTTP redirect to forward them to the > correct home directory, but most WebDAV clients balk at the redirect. > Thus I am trying to use an internal redirect such that the response > from / is the same as if the request were to /home/btimby/. > > -- > 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. > > -- 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.
