On 12 September 2011 12:56, btimby <[email protected]> wrote:
> I am trying to use:
>
> http://code.google.com/p/modwsgi/issues/detail?id=14
>
> Without success. The redirect is always sent to the client as a 301
> status. I am using the following apache configuration:
>
>    WSGIDaemonProcess dav user=dav group=dav threads=15 display-name=%
> {GROUP}
>    WSGIProcessGroup dav
>    WSGIPassAuthorization On
>    WSGIChunkedRequest On
>    WSGIScriptAlias / /usr/local/bin/dav.wsgi
>
> The WSGI script is:
>
> def application(environ, start_response):
>    headers = [('Location', '/dav/')]
>    start_response('200 OK', headers)
>    return []
>
> I am using mod_wsgi 3.2, and I verified that mod_wsgi.c has code to
> handle a location header that starts with '/' in conjunction with a
> 200 status code.
>
> I am really at a loss as to what could be converting this to a 301
> response.
>
> Any help is appreciated.

What do you get if you put '/dav/' into to the browser directly for that host?

What do you have in Apache configuration which would intercept '/dav/'
and how it it configured?

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