Subj : Re: CGI not working To : All From : ROLF KNOBEL Date : Thu Jan 31 2019 19:17:14 Date: Fri, 03 Feb 2006 13:27:44 -0400 From: ROLF KNOBEL To: MICHAEL PURDY Subject: Re: CGI not working Newsgroups: winserver.public.gamma.testing Message-ID: <1138991264.40.1138921041@winserver.com> References: <1138921041.40.1138910057@winserver.com> X-WcMsg-Attr: Rcvd X-Mailer: Wildcat! Interactive Net Server v7.0.454.5 Lines: 135 Strange.... the Perl bin directory with the dll files is in the path but I have a blank page. I don't know what's wrong in my setup, I didn't change anything with Perl because my SpamAssassin version doesn't work with newer versions of Perl. On 2/2/06 5:57 PM, MICHAEL PURDY wrote to ROLF KNOBEL: -> Rolf -> -> I have tested Perl with your version and 5.8.7 and they both work fine as -> does PHP. -> -> Perhaps Hector can offer further wisdoms based on your socket log. -> -> The only time I have seen perl produce a blank Web output is when it is -> having problems locating the associated .dll which for you would be -> perl56.dll. and should be in your path statement. -> -> Mike -> -> -> On 2/2/06 2:54 PM, ROLF KNOBEL wrote to HECTOR SANTOS: -> -> -> This is my cgitest.cgi: -> -> print "Status: 302\n"; -> -> print "Content-Type: Text/Plain\n"; -> -> print "\n"; -> -> print "Hello World!\n"; -> -> -> -> this is the generated socket.log: -> -> -> -> -------Request----------- size: 350 time: 29625 -> -> GET /cgi/cgitest.cgi HTTP/1.0 -> -> Accept: */* -> -> Accept-Language: de-ch -> -> If-Modified-Since: Thu, 02 Feb 2006 19:39:37 GMT; length=0 -> -> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; -> SV1; .NET -> -> CLR 1.1.4322) -> -> Host: www.box24.ch -> -> Connection: Keep-Alive -> -> Cookie: wcbbs=192.168.1.11:80; wcauth=(xxx deleted) -> -> -> -> -> -> -------Response---------- size: 284 time: 6328 -> -> HTTP/1.0 200 OK -> -> Last-Modified: Thu, 02 Feb 2006 19:43:04 GMT -> -> Content-Length: 0 -> -> Server: Wildcat/v6.1.451.6 -> -> ETag: SERVER2 -> -> X-Elapsed-Time: 6344 -> -> X-BBS-CID: 28 -> -> X-Powered-By: Wildcat.Net v6.1.451.6 -> -> X-BBS-Name: Box 24 -> -> Content-Type: text/html -> -> Date: Thu, 02 Feb 2006 19:43:10 GMT -> -> -> -> -> -> This is all. Content-Lenght: 0 seems to be wrong and it's 0 for all CGI -> -> programs. -> -> -> -> -> -> On 2/2/06 2:28 PM, HECTOR SANTOS wrote to ROLF KNOBEL: -> -> -> -> -> On 2/2/06 1:35 PM, ROLF KNOBEL wrote to HECTOR SANTOS: -> -> -> -> -> -> > I added the three lines to the top but it doesn't display anything. -> The -> -> page -> -> -> > source contains META http-equiv=Content-Type -> content="text/html; -> -> -> > charset=windows-1252". Shouldn't this be a text/plain with the -> added -> -> code? -> -> -> > (I tested it with content-type and context-type, I think the x was a -> -> typo) -> -> -> -> -> -> Ok, I'm a lost as to what could be happening. The only thing that -> keeps -> -> -> hitting my brain is the version of perl. You said: -> -> -> -> -> -> > My ActivePerl version: 5.6.1 Build 635 -> -> -> -> -> -> Whats my version? .... -> -> -> -> -> -> G:\pxwin>perl -v -> -> -> -> -> -> This is perl, v5.6.0 built for MSWin32-x86-multi-thread -> -> -> (with 1 registered patch, see perl -V for more detail) -> -> -> Copyright 1987-2000, Larry Wall -> -> -> Binary build 623 provided by ActiveState Tool Corp. -> -> -> Built 16:27:07 Dec 15 2000 -> -> -> -> -> -> I just retested it with a new simple HELLOWORLD.PL script with 1 line: -> -> -> -> -> -> print "Hello World!\n"; -> -> -> -> -> -> and both IE and FF shows it! -> -> -> -> -> -> See if the socket I/O is coming thru. Turn on the Socket Log in the -> -> -> registry (DWORD EnableSocketLog = 1) under: -> -> -> -> -> -> HKLM/Software/SSI/Wildcat/WcWeb -> -> -> -> -> -> Get all the way where you about to to the PL test, open DOS window -> and -> -> -> delete SOCKET.LOG. -> -> -> -> -> -> Then run the URL and see what SOCKET.LOG says. -> -> -> -> -> -> If there is no response data, It has to be the script engine. -> -> -> -> -> -> Also, note to see if there is a DELAY or something in the script result. -> -> -> Let me see if there is an error log entry for any script engine CALL -> -> -> errors.... well any error in calling the script engine is send to the HTTP -> -> -> response. -> -> -> -> -> -> I don't know, it it sounds the version of active perl is doing this... -> -> -> -> -> -> If you can't figure out, I guess I have to get this 5.6.1 version and see -> -> -> for myself. -> -> -> -> -> -> -> -> -> -> -> -> --- Platinum Xpress/Win/WINServer v3.1 * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013) .