Re: Specifying a Proxied URL on the CERN Server

Ari Luotonen (luotonen@neon.mcom.com)
Tue, 6 Dec 1994 10:28:40 +0100

Date: Tue, 6 Dec 1994 10:28:40 +0100
Message-Id: <199412060928.JAA02046@neon.mcom.com>
From: Ari Luotonen <luotonen@neon.mcom.com>
To: Multiple recipients of list <www-proxy@www0.cern.ch>
Subject: Re: Specifying a Proxied URL on the CERN Server

> > We need to use the CERN server to provide a proxy service to the world for
> > another server behind it running database code.

Oh, like Reinier Post pointed out, CERN server doesn't cache queries.

If you have the source, it's very easy to fix though; in 3.0 version,
in WWW/Daemon/Implementation/HTDaemon.c:1742 you have the line;

if (cc.cache_root && !req->authorization && !HTReqArgKeywords &&

Remove the !HTReqArgKeywords from the if condition:

if (cc.cache_root && !req->authorization &&

If your queries are relatively simple you won't have a problem.
However, if they are very complex and long (e.g. like WAIS URLs) the
filesystem underneath may make it break, which is the reason CERN
doesn't do it in the first place.

-- Cheers, Ari --