Dear list readers -
I'm working with the following environment:
BS2000-Posix as O.S.
Perl-5.005_54
Apache-1.3.9
Mod_perl-1.21
BS2000-Posix has the EBCDIC as character set, both Apache-1.3.9 and
perl-5.005_54 are ported to support EBCDIC code.
I installed Apache with mod_perl
I'm not familiar with EBCDIC, but in Perl \r and \n are platform
dependent, you migh want to try the platform independent \015 (cr)
and \012 (lf).
[EMAIL PROTECTED] wrote:
Dear list readers -
I'm working with the following environment:
BS2000-Posix as O.S.
Perl-5.005_54
Apache-1.3.9
Your proposal works.
Then, how to solve "the problem with "\n\n" ? To be compatible It should
also work.
This example would work only if you have PerlSendHeader set to 'On'
in the
config file. Is it On? May be this is not a problem "\r\n", if this
is
your case
Your proposal works.
which one did work for you:
PerlSendHeader On or $r-send_http_header?
Then, how to solve "the problem with "\n\n" ? To be compatible It should
also work.
This example would work only if you have PerlSendHeader set to 'On'
in the
config file. Is it
Your proposal works.
which one did work for you:
PerlSendHeader On or $r-send_http_header?
In my first try with the print "Content-type: text/html\r\n\r\n" I had the
"PerlSendHeader On" and the content-type of the response was "text/plain".
In the second try with "$r-send_http_header" I
which one did work for you:
PerlSendHeader On or $r-send_http_header?
In my first try with the print "Content-type: text/html\r\n\r\n" I had the
"PerlSendHeader On" and the content-type of the response was "text/plain".
In the second try with "$r-send_http_header" I removed the