Content-Type as the headers of your reply, send back a Location: header. Officially this should be a
URI: header, so the CGI.pm module (available from
CPAN) sends back both:
Location: http://www.domain.com/newpage
URI: http://www.domain.com/newpage
Note that relative URLs in these headers can cause strange effects because of ``optimizations'' that servers do.