Mozilla
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Mozilla

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old January 8th, 2006, 08:12 PM
VK
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old June 17th, 2008, 02:38 AM
chavivp chavivp is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 1 chavivp User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 6 m 38 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Mozilla > TEST-FAILED Webserver is not executing CGI files.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT