I am trying to get a simple form to work on my web site. The simpleform.htm
is located in testarea/simpleform.htm and simpleform.pl is located in
cgi-bin/simpleform.pl.

When I run the script from simpleform.htm I get the following error message:

500 Server Error

Sorry, your request could not be processed. Please try again later.

Below are the permissions and the html and perl code.

Can anyone tell me what I'm doing wrong? Also, is there a way to turn on
error.log?

TIA,

  - Mike

Permissions for cgi-bin: rwxr-xr-x
Permissions for simpleform.htm: rwxr-xr-x



HTML for simpleform.htm
=======================

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>Simple Form</title>

</head>

<body>
<form method="post" action="../cgi-bin/simpleform.pl">
<pre>
Name <input type="text" name="username" maxlength=15 size=15>

<input type="submit" value="Send Name">
</pre>
</form>
</body>

</html>

Perl Code for simpleform.pl
===========================

#!/usr/local/bin/perl

$username = param('username');

print "Content-type: text/plain\n\n";
print "You entered: $username\n";


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to