[Prev][Next][Index][Thread]

Proxy service in cl-http server?



Call for HELP!!!

I have installed CL-HTTP 58.12 on my PowerMac 8100/80
running in MCL 3.0 (with patch 2 and Kernal patch 2).
The default configuration seems to work fine, i.e. it
serves up standard html stuff, such as the cl-http directories,
and my own html files.

Here's the PROBLEM:

  I can't seem to enable PROXY SERVICE...

I've set set http:*proxy-service* to T,
and added my machine's address as a "secure subnet":

? http::*proxy-service*
T
? http::*proxy-subnets*
NIL
? http::*secure-subnets*
(2227530013)
;;;; The above integer is the encoding of my machines ip-address:
? (http::local-host-ip-address)
"132.197.105.29"
?(ccl::tcp-host-address *)
2227530013

With that done, I set my Netscape to use my server (ibappc.gte.com)
as a proxy on port 80.  When I try to access a URL, all I get
are errors:


*************************************************
What Netscape 3.0 (Atlas PR2 for Mac) gets back:
*************************************************
Bad Request



HTTP/1.0 500 Server Error Date: Tue, 14 May 1996 18:00:40 GMT Server:
CL-HTTP/58.12 (Macintosh Common Lisp; 2.0.3)
MIME-version: 1.0 Content-type: text/html

Server Error



Request: GET http://scintilla/ HTTP/1.0

Error: No applicable method for args: (NIL) to #

****************************************************
What the Mac CommonLisp HTTP Log reports:
****************************************************

No network mail host specified:
From: Webmaster@ibappc.gte.com
To: Bug-CL-HTTP@ibappc.gte.com
Subject: HTTP Error: SIMPLE-ERROR

Log: "132.197.105.29 - - [1996-05-14 18:00:41] \"GET http://scintilla/
HTTP/1.0\" 500 852 \"Mozilla/3.0b3 (Macintosh; I; PPC)\" -"
Error: SIMPLE-ERROR
Error Report: No applicable method for args:
 (NIL)
 to #<STANDARD-GENERIC-FUNCTION HTTP::STATUS-CODE #x363840E>
[1996-05-14 14:00:44]  132.197.105.29 - - [1996-05-14 18:00:44] "GET
http://scintilla/ HTTP/1.0" 500 852

********************************************************


I also tried explicitly setting the http::*proxy-subnets*
to be the same as http::*secure-subnets*, but that made no
difference:

? (setf http::*proxy-subnets* http::*secure-subnets*)
(2227530013)

Same errors as before...

I NEED HELP!!

Anyone have any suggestions?

What am I doing wrong??

What is the proper way to enable proxy service??
Can proxy service be provided on the same port as standard http service??

Debugging question -- is there anyway to do a backtrace in CL-HTTP
in order to investigate the real cause of the error??

Thanks in advance for any insights and suggestions!!

Glenn


-------------------------------------------------------------
Glenn A. Iba
GTE Laboratories
40 Sylvan Rd., MS-44
Waltham, MA 02254

e-mail: giba@gte.com
phone: 617-466-4233