Hello,

According to docs, $r->prev returns undef unless there is an internal
redirect.  But to 
my surprises, $r->prev is always defined, severely breaking down the
code/flow logic 
of my scripts.

Here is what I have in /Index.cgi (My browser defaults to that page) for
debugging
$r->log_error($r->prev()->uri());
$r->log_error($r->uri());

Log shows:
[Sat Sep  7 16:35:27 2002] [error] /Index.cgi
[Sat Sep  7 16:35:27 2002] [error] /Index.cgi

$r->prev() DID RETURN undef in the past.  This problem kicked in after I
changed my
server environment which now goes:

RedHat Linux 7.1 (with custom built kernel 2.4.18 SMP)
Perl 5.6.1
Apache 1.3.26 (upgraded from Apache 1.3.24)
mod_perl 1.27 (upgraded from mod_perl 1.26)
mod_gzip 1.3.19a

Has anyone experienced such weird behaviour or is there anything I need
to watch out to correct this problem?

Yours,

Jindo

Reply via email to