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

Re: [cobalt-users] FRUSTRATED WITH CGI



Hello Randy,

First thing, you should be typing which perl, not which pearl.  The
location of perl (unless you have modfied it) is: /usr/bin/perl, so
the fist line should read: #!/usr/bin/perl

Also, make sure that you have the path to sendmail set correctly:
/usr/sbin/sendmail

Finally, I noticed you calling the script as /formmail.cgi -- is the
script in the same directory as the HTML form?  If so, there is no
need for the "/".

Hope these suggestions help...if you want to cut and paste your code,
we can take a look at it.


Tuesday, January 04, 2000, 10:04:34 PM, you wrote:

R> I am trying to install formmail and get the following error when I run it

R> CGIWrap Error: Script Execution Failed  
R> CGIWrap encountered an error while attempting to execute this script:  Error Message: No such 
R> file or directory  Error Number: 2  This message usually indicates there is a problem with the script 
R> itself. The owner of the script needs to check the #! line for correctness.   Local Information and 
R> Documentation:  Contact Name: Administrator  Contact EMail: admin  Server Data:  
R> Server Administrator/Contact: admin  Server Name: www.unixhosting.net  Server Port: 80  
R> Server Protocol: HTTP/1.1  Request Data:  User Agent/Browser: Mozilla/4.0 (compatible; 
R> MSIE 5.0; Windows 98; Gateway2000; DigExt)  Request Method: POST  Remote Address: 
R> 38.38.27.115  Remote Port: 1301  Extra Path Info: /formmail.cgi  Referring Page: 
R> http://www.unixhosting.net/budget_order.htm     

R> I have tried different settings for the first line as #!
R> no luck
R> I have tried chmod 755
R> no luck

R> I even tried which pearl and got no response

R> Can anyone help???

R> I cannot get any scripts to run
R> and yes I am logging in as the admin
R> and uploading as ascii
R> Great Webhosting Values
R> http://www.inter-networks.net


Best regards,

allan

--
Allan Liska                                    703-443-6754                                                
allan@xxxxxxxx                                 http://www.priz.net
"Looking at the proliferation of personal web pages on the net, it 
looks like very soon everyone on earth will have 15 Megabytes of fame."