Hello,

I had troubles with a specific mod_perl + mod_filter config. With this
conf everything was ok at home for my tests; but headers broke on the
production server (In fact a test server for dev team). Eventually, I 
identified that troubles come from mod_perl-1.24_01 (I guess...).

So, I reinstalled mod_perl-1.24 on this server, and everything seems
to be ok for now.

Here is two outputs (home and prod server), the conf is
for both :
- PerlSendHeader Off
- FilterHeader On (for mod_filter)

The request is on an Apache::Registry script (named script.cgi) 
redirecting on a php script (named script.phtml), setting the cookie
in the meantime.

|- HOME ------------------------------------------------------ mod_perl-1.24
[pop@endymion:~]$ telnet vh.test.com 8000
Trying 127.0.0.1...
Connected to vh.test.com.
Escape character is '^]'.
GET /script.cgi?url=script.phtml&type=COOKIEPRODB&login=toto&password=foobar HTTP/1.1
Host: vh.test.com 

HTTP/1.1 302 Found
Date: Mon, 13 Nov 2000 02:39:20 GMT
Server: Apache/1.3.12 (Unix) mod_filter/1.1 PHP/4.0.2 mod_perl/1.24
Set-Cookie: COOKIEPRODB=Cookie&sdh45g5v7d8ca951&Ref&2110; domain=.test.com; path=/; 
expires=Mon, 13-Nov-2000 05:26:07 GMT
location: script.phtml
Connection: close
Content-Type: text/html; charset=ISO-8859-1

HTTP/1.1 302 Found
Date: Mon, 13 Nov 2000 02:39:20 GMT
Server: Apache/1.3.12 (Unix) mod_filter/1.1 PHP/4.0.2 mod_perl/1.24
Set-Cookie: COOKIEPRODB=Cookie&sdh45g5v7d8ca951&Ref&2110; domain=.test.com; path=/; 
expires=Mon, 13-Nov-2000 05:26:07 GMT
Set-Cookie: COOKIEPRODB=Cookie&sdh45g5v7d8ca951&Ref&2110; domain=.test.com; path=/; 
expires=Mon, 13-Nov-2000 05:26:07 GMT
Set-Cookie: COOKIEPRODB=Cookie&sdh45g5v7d8ca951&Ref&2110; domain=.test.com; path=/; 
expires=Mon, 13-Nov-2000 05:26:07 GMT
location: script.phtml
Connection: close
Content-Type: text/html; charset=ISO-8859-1

|- PROD --------------------------------------------------- mod_perl-1.24_01
[pop@endymion:~]$ telnet vh.prodserver.net 8000
Trying xx.xx.xx.xx...
Connected to vh.prodserver.net.
Escape character is '^]'.
GET /script.cgi?url=script.phtml&type=COOKIEPRODB&login=toto&password=foobar HTTP/1.1
Host: vh.test.net

HTTP/1.1 302 Found
Date: Mon, 13 Nov 2000 00:39:26 GMT
Server: Apache/1.3.14 (Unix) mod_filter/1.1 PHP/4.0.3pl1 mod_perl/1.24_01
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

12f
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF="">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.14 Server at <A
HREF="mailto:web2master@server">vh.prodserver.net</A> Port
8000</ADDRESS>
</BODY></HTML>

0

[ HELD during few seconds !]

|-- END

I didn't manage to go further because of my newbie-ness in this
domain :(
If it's a feature, then please tell me were I'm wrong.

Regards,


Yann Kerhervé

Reply via email to