Michael Krasnovsky
mk at lrn.ru
Wed Aug 14 23:25:49 EST 2002
Hello! I have a problem. I need redirection inside a publisher handler. I try using req.headers_out["Location"] = "http://www.example.com", but it doesn't work. Here is the example: def test(req): """ """ req.headers_out["Location"] = "http://www.example.com" req.send_http_header() return "Going to Example.com..." What's wrong? I use the latest mod_python version and 1.3.26 Apache running on Linux. Thanks. With best regards, Michael.
|