W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

CGI problem

From: Chris Jolly <trapper@cix.compulink.co.uk>
Date: Tue, 28 Jan 97 13:55 GMT0
To: www-jigsaw@www10.w3.org
Cc: trapper@cix.compulink.co.uk
Message-Id: <memo.793764@cix.compulink.co.uk>
I have had no luck setting up CGI - I have followed the instructions but 
every time my browser does a POST I get an exception as follows 
(debugging on):

POST /research/cgi/perltest.pl HTTP/1.1
Cache-Control: no-cache
Date: Wed, 22 Jan 1997 10:20:6 GMT
Pragma: no-cache
Via: 1.1 127.0.0.1 (Jigsaw/1.0a3)
Content-Length: 14
Content-Type: application/x-www-form-urlencoded
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
Host: softnts1
Referer: http://softnts1/research/
User-Agent: Mozilla/2.0 (compatible; MSIE 3.0; Windows 95)
UA-pixels: 640x480
UA-color: color8
UA-OS: Windows 95
UA-CPU: x86

Exception while running request:
java.lang.ArrayIndexOutOfBoundsException: 6
        at w3c.www.http.HttpParser.parseInt(HttpParser.java)
        at 
w3c.www.http.HttpReplyMessage.notifyBeginParsing(HttpReplyMessage.jav
a)
        at w3c.www.mime.MimeParser.parse(MimeParser.java)
        at 
w3c.www.protocol.http.HttpBasicServer.http10_ka_run(HttpBasicServer.j
ava)
        at 
w3c.www.protocol.http.HttpBasicServer.doRequest(HttpBasicServer.java)

        at 
w3c.www.protocol.http.HttpBasicServer.runRequest(HttpBasicServer.java
)
        at w3c.www.protocol.http.HttpManager.runRequest(HttpManager.java)
        at 
w3c.jigsaw.proxy.ForwardDirectory.perform(ForwardDirectory.java)
        at w3c.jigsaw.http.httpd.perform(httpd.java)
        at w3c.jigsaw.http.Client.processRequest(Client.java)
        at w3c.jigsaw.http.Client.loop(Client.java)
        at w3c.jigsaw.http.Client.runConnection(Client.java)
        at w3c.jigsaw.http.Client.run(Client.java)
        at java.lang.Thread.run(Thread.java:294)

Clearly CGI works for most folks so any help as to where I've gone wrong 
would be very much appreciated! Jigsaw is configured as a proxy server 
(the URL in the POST above is remote), the browser (MSIE) & Jigsaw are 
running on the same Windows 95 machine.

kit
Received on Tuesday, 28 January 1997 08:57:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT