Justin Wyllie wrote:
I am trying to use:
$headers = $r->headers_out;
$r->no_cache(1);
$headers->set( Location => url );
return REDIRECT.
You didn't specify your Apache/mod_perl version. For 2.x this is what I have
and it works fine:
$r->no_cache(1);
$r->status(Apache2::Const::HTTP_MOVED_
Justin Wyllie wrote:
Hi
I am trying to use:
$headers = $r->headers_out;
$r->no_cache(1);
$headers->set( Location => url );
return REDIRECT.
The first problem is this does not set the Cache-Control header.
If instead of the redirect I output some content (200 ) then it does,
correctly.