Header Troubles

2002-06-30 Thread Brad W. Galiette



I am current running mod_perl with PerlSendHeader 
On; in this manner, the Perl applications that I am running can post the many 
headers that are required for proper operation, such as "Set-Cookie", 
"Location", etc.

However, while my scripts are functioning properly, 
the Apache error log cites a number of locations as being "bad headers" when I 
know for certain that they are HTML, and not header data. I have confirmed 
that all header blocks arefollowed "\r\n\r\n" but still no avail. 
Any ideas on why Apache is confusing something such as 
"BRBR" to be a header? :-P

Regards,
Brad Galiette


RES: Header Troubles

2002-06-30 Thread Ricardo Basto

 -Mensagem original-
 De: Brad W. Galiette [mailto:[EMAIL PROTECTED]] 
 Enviada em: domingo, 30 de junho de 2002 17:59
 Para: [EMAIL PROTECTED]
 Assunto: Header Troubles
 
 
 I am current running mod_perl with PerlSendHeader On; in this manner,
the Perl applications that I am running 
 can post the many headers that are required for proper operation, such
as Set-Cookie, Location, etc.

You can do it better with PerlSendHeader OFF. $r-header_out(Location =
'/path')

 
 However, while my scripts are functioning properly, the Apache error
log cites a number of locations as being 
 bad headers when I know for certain that they are HTML, and not
header data.  I have confirmed that all header 
 blocks are followed \r\n\r\n but still no avail.  Any ideas on why
Apache is confusing something such as 
 BRBR to be a header? :-P

Are you running Apache on Win32? Otherwise, print \n\n instead.

 
 Regards,
 Brad Galiette


Ricardo Basto