On May 4, 2007, at 7:49 PM, Victor Danilchenko wrote:
Someone (you know who you are, thanks!) helped me off-list by
pointing out that I should use HTTP status 301 with Location header
instead. In retrospect, it should have been obvious that the
behavior I desired is meaningless in the con
Someone (you know who you are, thanks!) helped me off-list by pointing
out that I should use HTTP status 301 with Location header instead. In
retrospect, it should have been obvious that the behavior I desired is
meaningless in the context of Refresh header. D'oh.
Victor Danilchenko wrote:
P
Can someone tell me how to unsubscribe from this list..I haven't been able to
unsubscribe.
-Original Message-
From: Victor Danilchenko [mailto:[EMAIL PROTECTED]
Sent: Fri 5/4/2007 9:41 AM
To: modperl@perl.apache.org
Cc:
Subject: Re: Help with sending custom he
Perrin Harkins wrote:
On 5/2/07, Victor Danilchenko <[EMAIL PROTECTED]> wrote:
I seem to be missing something very obvious... I have:
$r->header_out("Refresh"=>"0; URL=$uri\n");
I think you're looking for this:
$r->headers_out->add("Refresh"=>"0; URL=$uri\n");
Yup, that was
On 5/2/07, Victor Danilchenko <[EMAIL PROTECTED]> wrote:
I seem to be missing something very obvious... I have:
$r->header_out("Refresh"=>"0; URL=$uri\n");
I think you're looking for this:
$r->headers_out->add("Refresh"=>"0; URL=$uri\n");
You were trying to use mod_perl 1 syntax. Se
By the way, this submission of the HTTP header also seems to result in
an about 20 second additional delay on the client side -- i.e. if I
request an object which returns the Refresh header, I wait for about 20
seconds, then see the headers flash by as page contents, and then the
refresh occur
I seem to be missing something very obvious... I have:
$r->header_out("Refresh"=>"0; URL=$uri\n");
$r->send_http_header;
print "Test redirect => $uri\n";
But when the redirect page gets submitted, the HTTP headers show up as
page contents:
Keep-Alive: timeout=15, max=99
Connection: K