|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
TEST-FAILED Webserver is not executing CGI files.
Dear All:
Please help! I have to run bugzilla tomorrow. #got this failure as I do the ./testserver [root@localhost bugzilla-2.20]# ./testserver.pl http://localhost TESTK Webserver is running under group id in $webservergroup. TESTK Got ant picture. Use of uninitialized value in pattern match (m//) at ./testserver.pl line 101. Use of uninitialized value in pattern match (m//) at ./testserver.pl line 101. TEST-FAILED Webserver is not executing CGI files. TESTK Webserver is preventing fetch of http://localhost/localconfig. TESTK GD version 2.30, libgd version 2.0.28; Major versions match. TEST-WARNING GD library generated a PNG that didn't match the expected image. It has been saved as ./data/testgd-local.png and should be compared with t/testgd.png TESTK Chart library generated a good PNG image #here's the apache error log [Fri Jan 06 18:53:45 2006] [error] [client 127.0.0.1] (13)Permission denied: exec of '/' failed [Fri Jan 06 18:53:45 2006] [error] [client 127.0.0.1] Premature end of script headers: testagent.cgi [Fri Jan 06 18:53:45 2006] [error] [client 127.0.0.1] client denied by server configuration: / #added to the httpd.conf <Directory /usr/local/bugzilla-2.20> Addhandler cgi-script .cgi +Indexes +ExecCGI DirectoryIndex index.cgi A Limit </Directory> #localconfig of bugzilla-2.20 $index_html = 0; $cvsbin = "/usr/bin/cvs"; $interdiffbin = "/usr/bin/interdiff"; $diffpath = "/usr/bin"; $create_htaccess = 1; $webservergroup = "apache"; $db_driver = "mysql"; $db_host = 'localhost'; # where is the database? $db_name = 'bugs'; # name of the SQL database $db_user = 'bugs'; # user to attach to the SQL database $db_port = 0; $db_pass = ''; $db_sock = ''; $db_check = 1; mozilla-webtools mailing list mozilla-webtools (AT) mozilla (DOT) org |
|
#2
|
|||
|
|||
|
I had this problem with windows. Needs change to the registry
You need to add to the registry the following:
Create a key HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command with the default value of the full path of perl.exe with a -T parameter. For example C:\Perl\bin\perl.exe -T There is a link I am not allowed to publish. try googling it: Installing Bugzilla on Microsoft Windows. It gives more explanations. The reason is that all bugzilla cgi scripts use \user\bin\perl -wT and in order to execute -T, it needs to be added to the command line. I am sure this will solve some problems for some of you. |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Mozilla > TEST-FAILED Webserver is not executing CGI files. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|