From: "Pixelised" <pixelised@hotmail(DOT)com>
Subject: Re: Apache and Perl scripts . . .
Date: Thu, 30 Nov 2000 12:54:36 +1100 [thread overview]
Message-ID: <3a264eab@news.alphalink.com.au> (raw)
In-Reply-To: 3vs31top1a84jlqlr1pqettdbb390v7hvt@4ax.com
perhaps this reply is late, an important point about perl/cgi files, they
need to be sent as ASCII, otherwise they wont work. Try use ftp and make
sure the transfer is set to ASCII
"Stephen S." <smart73_NOSPAM!!_@earthlink.net> wrote in message
news:3vs31top1a84jlqlr1pqettdbb390v7hvt@4ax.com...
> Yeah that one worked. It's wierd, if I create a new file and paste
> everyhting in, they work OK. If I take someone else's scripts and
> copy them to the server over the network they won't work. Any one
> wanna guess why?? I would imagine the script would be ok going over
> samba. I figured samba can figure out the file is ASCII not binary.
>
> Anyways thanks, now I should be up and running.
>
>
> On Mon, 13 Nov 2000 10:58:56 -0500, Marble Head
> <Marble.Head@nospam.guacamole.com> wrote:
>
> >Try running this script instead:
> >
> >#!/usr/bin/perl
> >print "Content-type: text/html\n";
> >print "\n\n";
> >print "<html><body>\n";
> >print "<h1>This is a test of CGI</h1>\n";
> >print "</body></html>\n";
> >
> >The Content-type lines are crucial.
> >If that doesn't work, go to www.apache.org and read the FAQ about the
http
> >server.
>
prev parent reply other threads:[~2000-11-30 1:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-09 5:00 Apache and Perl scripts . . Stephen S.
2000-11-10 5:00 ` Edward Valencia
2000-11-11 5:00 ` Stephen S.
2000-11-13 5:00 ` Marble Head
2000-11-15 2:24 ` Stephen S.
2000-11-30 1:54 ` Pixelised [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox