Solved

sending results to 2 people from info on form

Posted on 1998-07-22
1
193 Views
Last Modified: 2013-12-25
I have an information form at the location below.  When I submit all I get is my visitor.pl code on the screen.
the mods are 755 on the files and the cgi-bin directory it is stored in.  On another unix system I was getting a 500 error in the code also.  I did not do the pl code but was told it would work.  all I want the pl to do is email to the sender and a receiver the data entered on the form.  from what I can see this form does more but at this point all I really want it to do is spit out the data the user entered on the form then pressed the submit button at bottom.  if there is any easier code I am all for it.

TIA

http://gomer.kent.edu/~csindorf/cgi-bin/guestbook.html
0
Comment
Question by:craigs052998
1 Comment
 
LVL 4

Accepted Solution

by:
mitek earned 50 total points
ID: 1831134
Looks like a webserver config problem. I would suspect this:

a) there is no association for .cgi extention, so webserver doesn't know how to treat .cgi files. Then, adding something like this

AddHandler cgi-script .cgi
AddHandler cgi-script .pl  

to /usr/local/etc/httpd/conf/srm.conf would help

if it's this problem, webserver would display scripts as text

b) the cgi-bin directory in which the script resides is unknown to the webserver. NCSA-like (ex: Apache) servers will like this appended to the end of their /usr/local/etc/httpd/conf/access.conf file:

<Directory /usr/local/etc/httpd/htdocs/path-to-your-cgi-bin/cgi-bin>
Options Indexes ExecCGI FollowSymLinks
DirectoryIndex index.html
</Directory>

if it's indeed this, it would generate 500 Server Error

what else ?
c) maybe, #!/usr/bin/perl -- is not a valid path to perl on the system. Check carefully. It would be 500 Server Error.

Good luck.

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question