I'm running Solaris 7, it is a security camera system where you can choose
certain cameras to be displayed on the internet. It uses a JavaPush cam
plugin to display what the cameras are viewing. Basically I have it set up
(I wrote the script in perl) that if you click on say Button "1" it will
POST it to the script and the script will send print(DEV, "@01"). DEV is the
serial device term/a (ttya). It works but it goes to another webpage saying
"500 Internal Server Error" I heard that I need to enter "Content-type:
text/html" but I don't know where. Also I heard that there is an HTTP
command called 204 that won't redirect the script to another page. You can
see the webpage @ www.atglab.org just click on "Lab Cam" towards the upper
right hand corner.
-----Original Message-----
From: Mark Bergeron [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 4:58 PM
To: Paul Burkett; [EMAIL PROTECTED]
Subject: Re: CGI Return
What type of OS are you running? What type of cam? Do they have web plug-in
type technology of sorts? What's the webpage suppose to return? Let us know.
Mark'
-----Original Message-----
From: "Paul Burkett"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Fri Jun 22 15:04:21 PDT 2001
Subject: CGI Return
>Hi, I created a script from perl and changed it into a cgi web script.
Right
>now I use the <stdin> command and it seems to work when I click a from
button
>that submits the value to the script. See, it's supposed to change the
position
>on the webcam and it works fine, but still returns with a "Internal Server
>Error." Is there anyway to make it so that it wont't try to return to a
>webpage and just sumbit the value.
>
/~_. _ | _ _ _ _
\_/|(_||| | |(_)| |
_|
___________________________________________________
GO.com Mail
Get Your Free, Private E-mail at http://mail.go.com