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?
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?