From: Stephen P. Potter Date: Fri, 17 Nov 2000 08:55:45 +0000 (-0500) Subject: Fix for 20000409.001 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fd5506a077bcad1a714887ba822d57733519b964;p=p5sagit%2Fp5-mst-13.2.git Fix for 20000409.001 Message-Id: <200011171355.IAA05104@spotter.yi.org> p4raw-id: //depot/perl@7725 --- diff --git a/pod/perlfaq9.pod b/pod/perlfaq9.pod index ddc577b..4c701ca 100644 --- a/pod/perlfaq9.pod +++ b/pod/perlfaq9.pod @@ -224,13 +224,11 @@ available from CPAN. =head2 How do I redirect to another page? -Instead of sending back a C as the headers of your -reply, send back a C header. Officially this should be a -C header, so the CGI.pm module (available from CPAN) sends back -both: +According to RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1", the +preferred method is to send a C header instead of a +C header: 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.