I've turned off PerlSendHeader, but no matter what I do, it seems that I'm
already getting headers before I ever print anything.

I have the following in my httpd.conf:

---(snip!)---
Alias /perl/ /home/httpd/perl/
<Location /perl>
 SetHandler perl-script
 PerlHandler Apache::Registry
 PerlSendHeader Off
 Options Indexes ExecCGI
</Location>
---(snip!)---

If I have a script called /home/httpd/perl/index.pl with only the following:

---(snip!)---
$|++;
print <<END;
Content-type: text/html

Hi.
END
---(snip!)---

I end up with "Content-type: text/html Hi." in the browser.

Is there something else I need to do to keep apache from sending headers?
Could it be that some other module is making the headers for me?  (All the
docs I've found on the perl.apache.org site haven't said much more than
"turn PerlSendHeader Off", so if there's a FM that I need to R, I'll happily
get out of your hair ;)

I'm using Apache 1.3.9 with mod_perl 1.23 and perl 5.005_03 on Red Hat
Linux.

Thanks in advance for any assistance...

---
Ben Reed a.k.a. Ranger Rick
[EMAIL PROTECTED]
http://defiance.dyndns.org/

Reply via email to