Re: Problem getting cgi script to work with apache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-06-19 at 11:49 -0700, Knute Johnson wrote:
> >>Add the following line to the top of your script:
> >>
> >>#!/usr/bin/perl
> >>
> >
> >Yes I'm sorry I actually had that in the script and took it out to 
> >test and didn't put it back before I posted.  It doesn't work with it 
> >either.
> 
> Paul, et al:
> 
> I am really screwed up here.  It did need the #!/usr/bin/perl but 
> that wasn't what was causing my problem.  Seems there is some file 
> incompatibility with my script file that I downloaded from my BSD 
> server.  When I copied the file with VIM it got smaller and now works 
> just fine.  I don't know what the problem is but it works now.  I've 
> noticed similar problems going the other way, moving files to the BSD 
> server.

Did the file get smaller by a number of bytes equal to the number of
lines in the script?

Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux