Jump to content

Archived

This topic is now archived and is closed to further replies.

apet

Help needed in setting Apache to run CGI (on Win)

Recommended Posts

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

Share this post


Link to post
Share on other sites
You probably have to specify the path in the registry where you have that setting.  Otherwise apache won't know where to look.  Also try google.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.