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

[cobalt-users] FormMail.pl Equivalent



I downloaded the http://nms-cgi.sourceforge.net/ FormMail.pl script, version
1.73.  I've seen people running Matts, but I'm curious if anybody has this
form working, especially on a XTR.

I run this fine on my Solaris box, but cannot get it to function right on my
XTR.

I've created a small bogus html form file (from the readme):
<html>
<FORM ACTION="/cgi-bin/FormMail.pl" METHOD="POST">
<input type=hidden name="recipient" value="me@xxxxxxxxxxxxx">
  <input type="text" name="feedback" /><br />
  Please enter your comments<br />
  <input type="submit" />
</form>
</html>

I have cgi enabled on the virtual web site, and have configured the
FormMail.pl script to accept the above address. When I attempt to run the
script by access to the form, I get:

"The server encountered an internal error or misconfiguration and was unable
to complete your request."

I have my virtual domain:  /home/sites/site9/web/cgi-bin/FormMail.pl
Permissions on cgi-bin are 755 with ownership of a site admin account and
site9 group
Permissions on the perl script (FormMail.pl) are 755 as well.

I added the debug stuff on the cgiwrapper, and when I modify the form, this
is the 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: '/cgi-bin/formmail.cgid'
  PATH_TRANSLATED: '/home/sites/site9/web/cgi-bin/formmail.cgid'
      REMOTE_USER: '<NULL>'
      REMOTE_HOST: '<NULL>'
      REMOTE_ADDR: '192.168.2.101'


Trying to extract user from PATH_INFO.
Doesn't look like a user script.
Retrieved User Name:  ''
Script File:  '/home/sites/site9/web/cgi-bin/formmail.cgi'

*****************
* CGIWrap Error *
*****************

Execution of (/home/sites/site9/web/cgi-bin/formmail.cgi) is not permitted
for the following reason:

 Script file not found.


****************************************
* Local Information and Documentation: *
****************************************

 Contact Name: Administrator
 Contact EMail: admin

****************
* Server Data: *
****************

 Server Administrator/Contact: site9
 Server Name: test.my.domain.com
 Server Port: 80
 Server Protocol: HTTP/1.0

*****************
* Request Data: *
*****************

 User Agent/Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
Q312461)
 Request Method: POST
 Remote Address: 192.168.2.101
 Remote Port: 2274
 Extra Path Info: /cgi-bin/formmail.cgid

Is the problem the script, or what configuration am I missing?