> 
> On Wed, 2003-01-29 at 18:10, Will Phipps wrote:
> > I am doing the development on
> > my windows machine and then moving the site over to the 
> linux box for 
> > obvious reasons.
> ...
> > because as soon as I move it to the server and hit the 
> submit button 
> > it gives me an Internal Server Error.
> 
> You probably have DOS line feeds in the file.  That wouldn't 
> be a problem for Perl, but the first line is interpreted by 
> the kernel, and it will fail if it's:
> 
> #! /usr/bin/perl^M
> 
> There's no shortage of ways to convert from DOS to Unix 
> files: http://kb.indiana.edu/data/acux.html
> 


That was the problem.  I was using samba to move the files over to my
www directory and it must have contained dos line feeds.  I typed the
simple script from scratch on my linux box and ran the thing again.  And
it worked.  

Gordon and Richard, thanks for the help.

Just one more thing.  Is it possible to configure samba to transfer the
files as binary from a windows machine to a linux machine?  I will use
ftp if I have to, but would rather keep my ftp port closed.

Will P.

 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to