Hi,
I have problems running cgi scripts on Apache server. cgi scripts are part of Bugzilla 2.22 installation on Apache 2.2. Perl version is ActivePerl 5.8.8.817 and OS is MS Win Server 2003.
cgi scripts run fine when using the first line #!... to find Perl interpreter, but when I add line
ScriptInterpreterSource registry
to Apache httpd.conf file in order to find Perl interpreter through the registry, it doesn't work, page is opening for a while and ends in the following error:
Premature end of script headers: index.cgi
I have
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
in Apache config file.
What should I do to make Apache find Perl through win registry?
Any help is greatly appreciated,
Anita
I have problems running cgi scripts on Apache server. cgi scripts are part of Bugzilla 2.22 installation on Apache 2.2. Perl version is ActivePerl 5.8.8.817 and OS is MS Win Server 2003.
cgi scripts run fine when using the first line #!... to find Perl interpreter, but when I add line
ScriptInterpreterSource registry
to Apache httpd.conf file in order to find Perl interpreter through the registry, it doesn't work, page is opening for a while and ends in the following error:
Premature end of script headers: index.cgi
I have
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
in Apache config file.
What should I do to make Apache find Perl through win registry?
Any help is greatly appreciated,
Anita