Hi
I
managed to fix the redirection problem. Following is a part of, what I think,
the offending script and its correction. The server seems to be working fine
now. I was changing the value of “location” when creating header of
the page in case of a redirect. This worked fine in Apache 1.3. I have now explicitly
used redirect call to redirect to another page in 2.0. print
$self->header(%HEADER, -location => self->{page_redirect}); Replaced
by print
Thanks
for your help and support Regards, Saurabh -----Original
Message----- On
Tue, 11 Oct 2005, >
Hi, > >
I have a perl web-application on apache that needed upgrades for perl, >
apache and mod_perl. I setup a server (win32) running Apache 2.0.54 with >
perl 5.8.7 and mod_perl 2.0.1 ( >
httpd.conf changes but got stuck at a redirection problem. The old perl code >
uses >
default page. This causes the server to go in an endless loop of redirects >
to the same page until the following error message appears in error log. Can
you give a minimal example script or handler that exhibits
this behaviour? I tried the following script: ======================================================== #!D:/Perl/bin/perl #
called as http://localhost/perl/redirect use
strict; use
print
redirect('http://localhost/perl/printenv'); ======================================================== run
under ModPerl::Registry, and it worked fine. This
is with --
best
regards, randy
kobes Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. [EMAIL PROTECTED] |