Partial gatewaying

roeber@axcrnb.cern.ch (Frederick G.M. Roeber)
Date: Mon, 8 Nov 1993 16:32:54 +0100
Message-id: <9311081532.AA26949@dxmint.cern.ch>
From: roeber@axcrnb.cern.ch (Frederick G.M. Roeber)
X-Vms-To: dxmint::www-talk@info.cern.ch
X-Vms-Cc: ROEBER
Subject: Partial gatewaying
X-Mail11-Ostype: VAX/VMS
Apparently-To: <www-talk@nxoc01.cern.ch>
I'm setting up a corner of the web on a firewalled network.  Any host (almost) 
at CERN can be accessed directly; all else must go via a gateway.  
Unfortunately, the usual WWW_access_GATEWAY redirection is an all-or-nothing 
deal.  I can't just set things up so everything goes via the gateway, because 
one server will be operationally critical (containing all the on-line docs for 
running LEP and SPS), and its access should be kept as simple (and reliable) as 
possible.  (Even redirection wouldn't be very nice.)

My first thought was to hack HTAccess.c to check the hostname against an 
environment variable (set to ".cern.ch") to decide whether or not to use the 
WWW_access_GATEWAY variables.  Another way would be to edit HTAccess.c to skip 
the gatewaying when the host is "localhost," NFS-mount the critical stuff, and 
use file:.  Any other ideas?

Frederick.