apet Posted July 12, 2006 Share Posted July 12, 2006 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 lineScriptInterpreterSource registryto 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.cgiI have AddHandler cgi-script .cgi Options +Indexes +ExecCGI DirectoryIndex index.cgi AllowOverride Limitin Apache config file.What should I do to make Apache find Perl through win registry?Any help is greatly appreciated,Anita Quote Link to comment https://forums.phpfreaks.com/topic/14389-help-needed-in-setting-apache-to-run-cgi-on-win/ Share on other sites More sharing options...
apacheguy Posted July 13, 2006 Share Posted July 13, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/14389-help-needed-in-setting-apache-to-run-cgi-on-win/#findComment-57651 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.