[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cgi Script File Not Found!



Try to execute the script from the command line.

perl myscript.cgi/.pl

if this works then the script has been uploaded as binary and not as an
ASCII file. Replace the first line
#!/usr/bin/perl
with this line :
#!/usr/bin/perl --

This will ignore all all the CLF in the files.


le 18.9.2001 19:22, Keith Comer à kcomer@xxxxxxxxxxxx a écrit :

> Does anyone have any idea what might be causing this error. Here is the
> cgiwrapd output.
> 
> Initializing Logging
> Redirecting STDERR to STDOUT
> 
> 
> Cobalt RaQ virtual site CGI wrapper
> 
> Setting SIGXCPU to default behaviour
> 
> 
> Environment Variables:
> QUERY_STRING: ''
> SCRIPT_NAME: '/cgiwrapDir/cgiwrapd'
> PATH_INFO: '/webbfx/ubbcgi/cp_bans.cgid'
> PATH_TRANSLATED:
> '/home/sites/site58/web/cortexdigitaldotcom/webbfx/ubbcgi/cp_bans.cgid'
> REMOTE_USER: '<NULL>'
> REMOTE_HOST: '<NULL>'
> REMOTE_ADDR: '208.231.158.137'
> 
> 
> Trying to extract user from PATH_INFO.
> Retrieved User Name:  ''
> Script File:
> '/home/sites/site58/web/cortexdigitaldotcom/webbfx/ubbcgi/cp_bans.cgi'
> 
> User Data Retrieved:
> UserID: 'cortexdigital'
> UID: '507'
> GID: '100'
> Group ID: 'site58'
> Home Dir: '/home/sites/site58/users/cortexdigital'
> 
> This is a site
> site base dir:  'home/sites/'
> site name:  'site58'
> cgi dir:  'web'
> Script Base Directory:  '/home/sites/site58/web'
> Trying to extract script from PATH_INFO
> 
> *****************
> * CGIWrap Error *
> *****************
> 
> Script File Not Found!
> 
> ****************************************
> * Local Information and Documentation: *
> ****************************************
> 
> Contact Name: Administrator
> Contact EMail: admin
> 
> ****************
> * Server Data: *
> ****************
> 
> Server Administrator/Contact: admin
> Server Name: www.cortexdigital.com
> Server Port: 80
> Server Protocol: HTTP/1.1
> 
> *****************
> * Request Data: *
> *****************
> 
> User Agent/Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
> 5.0)
> Request Method: GET
> Remote Address: 208.231.158.137
> Remote Port: 1712
> Extra Path Info: /webbfx/ubbcgi/cp_bans.cgid
> 
> Thanks,
> 
> Keith Comer
> Network Support Specialist
> www.nwonline.net
> 419.334.9042
> fax: 419.355.1157
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users

=======================================================================

Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch

Linux/Unix is very user friendly,
it's just very picky about who its friends are !!!

=======================================================================