Article View: pl.comp.lang.perl
Article #754Re: cgi
From: Piotr Piatkowski
Date: Sat, 06 Dec 1997 11:50
Date: Sat, 06 Dec 1997 11:50
33 lines
1637 bytes
1637 bytes
Jacek <jacek@infosys.de> wrote:
: Witam,
: Sorry za przyklad w shellu, ale ponizszy przyklad w perlu tez dziala
: podobnie:
: plik: nph-test-pl
: #!/usr/bin/perl
: #flush after each write
: $| = 1;
: print "HTTP/1.0 200 OK\n";
: print "Content-type: text/plain\n";
: print "Server: $SERVER_SOFTWARE\n";
: print "\n";
: print "CGI/1.0 test script report:\n\n";
: print "SERVER_SOFTWARE = $SERVER_SOFTWARE\n";
...
: Dzieki i licze na dalsza pomoc
U mnie działa dobrze - wyświetla najpierw początek, a po 10 sekundach
resztę - przy czym oczywiście zmienne $SERVER_SOFTWARE itp. są
niezdefiniowane (powino być $ENV{SERVER_SOFTWARE}, etc...).
Z czego wynika że problem leży w konfiguracji serwera, z czego wynika
że pytanie zdecydowanie nie na tą grupę.
--
Piotr Piątkowski, Uczelniane Centrum Informatyki, AGH Krakow, POLAND
Technical Details
Message-ID:
<66be71$305$1@galaxy.uci.agh.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!uucp-gw.cyf.gov.pl!news.wnaft.agh.edu.pl!agh.edu.pl!agh.edu.pl!not-for-mailReferences:
<669l15$qh2$1@roadrunner.micro-net.net> <66a9er$jqa$1@galaxy.uci.agh.edu.pl> <66b6ia$3qm$1@roadrunner.micro-net.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!uucp-gw.cyf.gov.pl!news.wnaft.agh.edu.pl!agh.edu.pl!agh.edu.pl!not-for-mail From: Piotr Piatkowski <kompas@galaxy.uci.agh.edu.pl> Newsgroups: pl.comp.lang.perl Subject: Re: cgi Date: 6 Dec 1997 12:50:57 +0100 Organization: University of Mining & Metallurgy Lines: 33 Message-ID: <66be71$305$1@galaxy.uci.agh.edu.pl> References: <669l15$qh2$1@roadrunner.micro-net.net> <66a9er$jqa$1@galaxy.uci.agh.edu.pl> <66b6ia$3qm$1@roadrunner.micro-net.net> NNTP-Posting-Host: galaxy.uci.agh.edu.pl Mime-Version: 1.0 X-Newsreader: TIN [UNIX 1.3 unoff BETA 971018; sun4m SunOS 5.5.1] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit