Problem getting cgi script to work with apache?
Paul Howarth
paul at city-fan.org
Mon Jun 19 19:57:48 UTC 2006
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.
More information about the fedora-list
mailing list