Stas Bekman wrote:
Mark James wrote:
I'm having CGI redirect problems mp2 (cvs).

as the comment just above this line says, that code was copy-n-pasted from mod_cgi. Can you reproduce the same problem while running a cgi script?

No, them problem only manifests under mod_perl (2, haven't used 1).


Also could it be that it has to do with the recent change, I've applied which was already reported by Beau as broken. May be your headers don't get parsed What happens if you do:
[patch]

Applied the patch, but the problem still occurred. No change also when I commented out the location[0]=='/' test.

The redirect header being printed by my perl script is:

Server: Apache/2.0.44 (Unix) mod_perl/1.99_09-dev Perl/v5.8.0
Status: 302 Moved
Date: Thu, 06 Mar 2003 01:10:54 GMT
Location: http://makethecase.net/db?auth=ckffb2a5c44ee0&editCmds=compact&file=62

Which is returned as a 302 link page. This is a redirect response to a POST.

Strangely, another redirect, with header:

Server: Apache/2.0.44 (Unix) mod_perl/1.99_09-dev Perl/v5.8.0
Status: 302 Moved
Date: Thu, 06 Mar 2003 01:15:54 GMT
Location: 
http://makethecase.net/db?_reason=6%20Case1Pro&_restart=editPart&checkSequenceNumber=60&cmd=authenticate&editCmds=compact&file=62&partnum=

works just fine. This is a redirect after a GET.

Mark



Reply via email to