httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Carvalho <ig3...@alunos.ipb.pt>
Subject Re: [users@httpd] can't find package cgi
Date Thu, 15 Jul 2004 10:51:23 GMT
# ./gnugkcallreport.cgi
can't find package cgi
    while executing
"package require cgi"
    (file "./gnugkcallreport.cgi" line 3)

vi gnugkcallreport.cgi :
#!/usr/bin/tclsh
package require mysqltcl
package require cgi
.....

Nuno

Robert Andersson wrote:

>Nuno Carvalho wrote:
>  
>
>>error_log:
>>[Thu Jul 15 11:02:42 2004] [error] [client xxx.xxx.xxx.xxx]
>>can't find package cgi
>>    
>>
>
>Your CGI script is broken. Most likely you are missing a package or two.
>
>Try to execute the script in a shell and make it work before attempting to
>run it through Apache. Eg:
>
>...$ cd /var/www/cgi-bin
>/var/www/cgi-bin$ ./gnugkcallreport.cgi
>
>Regards,
>Robert Andersson
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>  
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message