Try simply: $r->headers_out->set(Location => 'to-URI'); return Apache2::Const::REDIRECT;
The status of 302 is set automatically and my browsers reflect the new address. apache sends: HTTP/1.1 302 Found Date: Sun, 02 Oct 2005 06:00:12 GMT Server: Apache Location: to-URI Content-Length: 290 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="to-URI">here</a>.</p> <hr> <address>Apache Server at localhost Port 80</address> </body></html> Michael