Solved

sending results to 2 people from info on form

Posted on 1998-07-22
1
186 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
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 …

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now