Apache Server configuration support - Help needed in setting Apache to run CGI through win registry

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2006 > Help needed in setting Apache to run CGI through win registry





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help needed in setting Apache to run CGI through win registry
apet

2006-07-12, 1:23 pm

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 so it
doesn't rely on the first line #!... in CGI script?
Any help is greatly appreciated,

Anita

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com