Re: access readersdigest

From: Ong Beng Hui <[email protected]>
Date: Mon, 18 Nov 1996 20:21:14 +0800 (SST)

> Recently we've encountered problems accessing www.readersdigest.com thru
> proxy cache. The server's software they are using is OneServer
> (www.connectinc.com).

Got a quick fix for this.

Apparently, this very OneServer doesn't recognize the "Forwarded: by..."
header. Simply comment off this following code in http.c should
fix it.

if (cfd > -1 && opt_forwarded_for) {
  sprintf(ybuf, "%s for %s\r\n", ForwardedBy, fd_table[cfd].ipaddr);
} else {
  sprintf(ybuf, "%s\r\n", ForwardedBy);
}

By the way, is "Forwarded:" a value HTTP header ? Can't find
it on the HTTP/1.0 and HTTP/1.1 spec.

*8)
Ong Beng Hui
ongbh@singnet.com.sg
...yet another day in an ISP business
...and they lived happily ever after
Received on Mon Nov 18 1996 - 04:21:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:34 MST