[mod_python] mod_python style redirection.
Gregory Trubetskoy
grisha at modpython.org
Sun Jun 18 16:11:31 EST 2000
Something like this should work:
req.headers_out["Location"] = "http://www.redirectto.com/"
return apache.HTTP_MOVED_TEMPORARILY
Grisha
On Sun, 18 Jun 2000, Sean True wrote:
> Any one care to suggest a mod_python appropriate way to redirect a request
> to another page? The ap_internal_redirect() function looks
> appropriate but does not seem to be wrapped.
>
> TIA.
>
> -- Sean
>
> ==========
> Sean True
> seant at alum.mit.edu
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>
More information about the Mod_python
mailing list