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-14 18:29:01 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!207.172.3.44!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail From: Stephen S. Newsgroups: comp.os.linux.alpha Subject: Re: Apache and Perl scripts . . . Organization: MASS PC Message-ID: <3vs31top1a84jlqlr1pqettdbb390v7hvt@4ax.com> References: <7bdm0tgdlmp6cguifna70re92tb5jjfgud@4ax.com> <3A100FC0.8B731EB2@nospam.guacamole.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 15 Nov 2000 02:24:31 GMT NNTP-Posting-Host: 63.178.206.174 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 974255071 63.178.206.174 (Tue, 14 Nov 2000 18:24:31 PST) NNTP-Posting-Date: Tue, 14 Nov 2000 18:24:31 PST Xref: supernews.google.com comp.os.linux.alpha:1239 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.