[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] CGI problems (%ENV scrambled!)



At 12.55 12/22/97, Adam Schneider wrote:
>Okay, here's my latest test script, verbatim:

Well, on my machines I get something like the following:

$ENV{'SERVER_SOFTWARE'}: MacHTTP/2.0
$ENV{'GATEWAY_INTERFACE'}: CGI/1.1
$ENV{'MACPERL'}: PowerPudgeIII:Programming:MacPerl Ù:
$ENV{'REMOTE_ADDR'}: 127.0.0.1
$ENV{'SERVER_PROTOCOL'}: HTTP/1.0
$ENV{'REQUEST_METHOD'}: GET
$ENV{'HTTP_USER_AGENT'}: Mozilla/4.03 (Macintosh; U; PPC)
$ENV{'HTTP_ACCEPT'}: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
$ENV{'HTTP_CONNECTION'}: Keep-Alive
$ENV{'TMPDIR'}: PowerPudgeII:Temporary Items:
$ENV{'HTTP_ACCEPT_LANGUAGE'}: en
$ENV{'SCRIPT_NAME'}: /cgi-bin/env.acgi
$ENV{'SERVER_NAME'}: ppp-3.ts-1.kin.idt.net
$ENV{'HTTP_ACCEPT_CHARSET'}: iso-8859-1,*,utf-8
$ENV{'SERVER_PORT'}: 80
$ENV{'HTTP_HOST'}: localhost
$ENV{'USER'}: Pudge
$ENV{'PERL5LIB'}:
PowerPudgeIII:Programming:Pudge:pudgeprogs:perl:site_specific,PowerPudgeIII:
Programming:MacPerl
Ù:lib,PowerPudgeIII:Programming:MacPerl Ù:lib

Anyone else have bad results like Adam's?


At 12.55 12/22/97, Adam Schneider wrote:
>It's "CGI Script", created and modified on Jan. 19, 1997.  I'm pretty sure
>this is the one that came with MacPerl 5.1.5r4.  And it worked fine before I
>got the G3.

Yep, that's the right one.

--
Chris Nandor               pudge@pobox.com           http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==                    MacPerl: Power and Ease                     ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch