Jump to content

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
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.