Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

premature script header error !!

Status
Not open for further replies.

hisham

IS-IT--Management
Nov 6, 2000
194
Again I get: Internal server error, I checked the error_logs file and I found the following error: premature script header error, then I decided to put all scripts that should be executed by the mod_perl enabled server in the /home/httpd/perl/ directory by adding add the following configuration to httpd.conf :

Alias /perl/ /home/httpd/perl/

PerlModule Apache::Registry
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
allow from all
</Location>

Now all my scripts in /home/httpd/perl/ are running very well, while in the cgi-bin still give me the Internal server error. How can I fix that?
 
I assume the files have the correct path to perl and that there are no line breaks.


Rninja

smlogo.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top