Another example of where ftping the file in would help, in ASCii mode the
CR/LF are translated to the OS's EOL characters.

Rob.

----- Original Message -----
From: "Emory Smith" <[EMAIL PROTECTED]>
To: "Daniel van Raay" <[EMAIL PROTECTED]>; "Luuk Jansen"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 1:03 PM
Subject: Re: [e-smith-devinfo] Cgi-bin problem


> Were the scripts edited on a windows machine?
> If so, the CR/LF line endings will cause failure.
> Search Google for dos2unix. It will convert the
> CR/LFs to LFs.
>
> HTH,
> Emory
>
> ----- Original Message -----
> From: "Daniel van Raay" <[EMAIL PROTECTED]>
> To: "Luuk Jansen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 11, 2001 7:07 PM
> Subject: Re: [e-smith-devinfo] Cgi-bin problem
>
>
> > On 11 Apr 2001, Luuk Jansen wrote:
> >
> > > >Internal Server Error
> > > >The server encountered an internal error or misconfiguration and was
> unable
> > > to complete your request.
> > > >Please contact the server administrator, [EMAIL PROTECTED]
> and
> > > inform them of the time the error occurred, and >anything you might
have
> > > done that may have caused the error.
> > > >
> > > >More information about this error may be available in the server
error
> log.
> >
> > Have you looked at the log file?  /var/log/httpd/error_log should have
> > something useful.
> >
> > > Since I'm the administrator, but don't know how to handle this
> problem...
> > > I've changed the file according to the FAQ on e-smith.org: 'chmod a+x
> > > /home/e-smith/files/primary/cgi-bin/mail.cgi'.
> > >
> > > When I run the script from the console ('perl ./mail.cgi') it works
> fine.
> > >
> > > Any idea's?
> >
> > I remember getting this message in a browser once when I forgot to
> > make my cgi script output the html header.  Make sure that your
> > script starts with something like:
> >    print "Content-Type: text/html\n\n";
> >
> > > Thanks,
> > >
> > > Luuk
> >
> > Daniel van Raay
> >
> >
> > --
> > This list is archived
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> This list is archived
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to