From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,76f807944566b52e X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-11-29 17:57:26 PST From: "Pixelised" Newsgroups: comp.os.linux.alpha References: <7bdm0tgdlmp6cguifna70re92tb5jjfgud@4ax.com> <3A100FC0.8B731EB2@nospam.guacamole.com> <3vs31top1a84jlqlr1pqettdbb390v7hvt@4ax.com> Subject: Re: Apache and Perl scripts . . . Date: Thu, 30 Nov 2000 12:54:36 +1100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 203.62.182.22 Message-ID: <3a264eab@news.alphalink.com.au> X-Trace: 30 Nov 2000 12:57:15 GMT, 203.62.182.22 Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!195.25.12.36.MISMATCH!oleane.net!oleane!codeine.org!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!news.mel.connect.com.au!news.labyrinth.net.au!news.alphalink.com.au!news.alphalink.com.au Xref: supernews.google.com comp.os.linux.alpha:1343 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." 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 > wrote: > > >Try running this script instead: > > > >#!/usr/bin/perl > >print "Content-type: text/html\n"; > >print "\n\n"; > >print "\n"; > >print "

This is a test of CGI

\n"; > >print "\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. >