It runs OK from the command prompt And everyone have access to the cgi-bin
dir.
> ----------
> From: Dusty[SMTP:[EMAIL PROTECTED]]
> Reply To: Dusty
> Sent: Friday, May 19, 2000 8:53 AM
> To: Perl-Win32-Users Mailing List
> Subject: Re: 500 Internal Server Error
>
> would you believe it runs on my server?
> Did you try it from the command prompt?
> Does everyone have access to the dir specified?
>
> **************************************************************************
> **
> **********************
> "There is nothing in a caterpillar that tells you it's going
> to be a butterfly."
> **************************************************************************
> **
> *************
> "In life you are given two ends, one to think with and the
> other to sit on. Your success in life depends on which end
> you use most. Heads you win, tails you lose."
> --Conrad Burns, US Senator - Montana
>
>
> ----- Original Message -----
> From: Casey Nguyen <[EMAIL PROTECTED]>
> To: Casey Nguyen <[EMAIL PROTECTED]>; Perl-Win32-Users Mailing List
> <[EMAIL PROTECTED]>; Dusty
> <[EMAIL PROTECTED]>
> Sent: Friday, May 19, 2000 5:45 PM
> Subject: RE: 500 Internal Server Error
>
>
> > Yes, here is the permission of the file:
> > -rwxr-xr-x 1 root root 254 May 19 08:35 helloworld.pl
> >
> > and here is the helloworld.pl code:
> >
> > --------------------------------------------------------------
> >
> > #!/usr/bin/perl
> >
> > print "Content-type: text/html\r\n\r\n";
> > print "<html><head><title>test</title></head><body>";
> > print "<p><center>\n";
> > print "<h1><b>Hello World</h1>\n<p>";
> > print "<h5>This is Perl Script</h5>\n";
> > print "</body></html>\n";
> >
> > > ----------
> > > From: Dusty[SMTP:[EMAIL PROTECTED]]
> > > Sent: Friday, May 19, 2000 3:35 AM
> > > To: Casey Nguyen; Perl-Win32-Users Mailing List
> > > Subject: Re: 500 Internal Server Error
> > >
> > > Are you sure you have the permissions set OK?
> > > Do you have the line print "Content-Type: text/html\r\n\r\n"; anywhere
> in
> > > your script? at the beggining afore you start printing?
> > > Do you have permission to execute scripts?
> > > Ask and find answers to questions like these!
> > >
> > >
> **************************************************************************
> > > **
> > > **********************
> > > "There is nothing in a caterpillar that tells you it's going
> > > to be a butterfly."
> > >
> **************************************************************************
> > > **
> > > *************
> > > "In life you are given two ends, one to think with and the
> > > other to sit on. Your success in life depends on which end
> > > you use most. Heads you win, tails you lose."
> > > --Conrad Burns, US Senator - Montana
> > >
> > >
> > > ----- Original Message -----
> > > From: Casey Nguyen <[EMAIL PROTECTED]>
> > > To: Perl-Win32-Users Mailing List
> > > <[EMAIL PROTECTED]>
> > > Sent: Friday, May 19, 2000 5:44 AM
> > > Subject: 500 Internal Server Error
> > >
> > >
> > > > Is anyone know what this error mean in perl.
> > > >
> > > > [Thu May 18 20:40:44 2000] [error] [client 128.1.9.63] Premature end
> of
> > > > script headers: /home/httpd/
> > > > /test/cgi-bin/helloworld.pl
> > > >
> > > > I got 500 Internal Server Error and the error message above is in my
> > > > error.log file
> > > >
> > > > Thanks
> > > > \\\|///
> > > > \\ ~ ~ //
> > > > (/ @ @ /)
> > > >
> >
> >
> -------------------------------oOOo-(_)-oOOo------------------------------
> > > >
> > > >
> > > > ---
> > > > You are currently subscribed to perl-win32-users as:
> > > [EMAIL PROTECTED]
> > > > To unsubscribe, forward this message to
> > > > [EMAIL PROTECTED]
> > > > For non-automated Mailing List support, send email to
> > > > [EMAIL PROTECTED]
> > > >
> > >
> >
>
>
> ---
> You are currently subscribed to perl-win32-users as: [EMAIL PROTECTED]
> To unsubscribe, forward this message to
> [EMAIL PROTECTED]
> For non-automated Mailing List support, send email to
> [EMAIL PROTECTED]
>
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]