Red Hat Bugzilla – Bug 178644
PerlSendHeader off doesn't work
Last modified: 2007-11-30 17:07:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Description of problem:
PerlSendHeader off is required for perl scripts that produce their own http headers. The description of this option is available in the mod_perl documentation.
With EL 3, setting this option results in Apache sending the script output as text/plain, i.e. Apache is adding http and content type headers before sending the script output, which makes mod_perl unusable for scripts which require non parsed headers.
This doesn't happen with Apache 2.2.0 and mod_perl 2.0.2.
An easy way to test this is to write a very simple perl script which sends the following:
HTTP/1.1 200 OK
Run that in a directory with the PerlSendHeader off option set, and you will get the above as text in a browser.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable mod_perl and the PerlSendHeader off option
2. Setup a non parsed headers script
3. Receive output as text/plain in browser
Actual Results: Script output transmitted as text/plain
Expected Results: Apache should not be adding http/content-type headers.
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.