Re: proxy server allows using std Mosaic with Term
montulli@stat1.cc.ukans.edu (Lou Montulli)
Errors-To: listmaster@www0.cern.ch
Date: Tue, 15 Feb 1994 23:57:17 --100
Message-id: <9402152254.AA56088@stat1.cc.ukans.edu>
Errors-To: listmaster@www0.cern.ch
Reply-To: montulli@stat1.cc.ukans.edu
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: montulli@stat1.cc.ukans.edu (Lou Montulli)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: proxy server allows using std Mosaic with Term
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1669
> a connection to www1.cern.ch:911 and forwards the request to it, which
> forwards it to the real service. Works great! (Well, actually, I'm
> getting a few core dumps in Mosaic 2.2, but I assume that's some other
> problem, like the fact that I'm running Solaris 2.2). The same approach
> should work for any browser which supports proxying. So now all the folks
> out there with Unix machines and Term, but no Motif, can run Mosaic.
>
Actually the core dumps are my fault :( I sent out diffs with a
serious bug. :( :( :(
on line 175 of libwww2/HTAccess.c change:
/* proxy servers have precedence over gateway servers */
if (proxy) {
char * gatewayed;
StrAllocCopy(gatewayed,proxy);
StrAllocCat(gatewayed,addr);
to:
/* proxy servers have precedence over gateway servers */
if (proxy) {
char * gatewayed=0;
StrAllocCopy(gatewayed,proxy);
StrAllocCat(gatewayed,addr);
Sorry about the bug but I figured xmosaic needed at least one so
that we would have something to complain about. :)
:lou
--
**************************************************************************
* T H E U N I V E R S I T Y O F K A N S A S *
* Lou MONTULLI @ Ukanaix.cc.ukans.edu *
* Kuhub.cc.ukans.edu ACS Computing Services *
* 913/864-0436 Ukanvax.bitnet Lawrence, KS 66044 *
* UNIX! Cool! I know that! Jurassic Park - The Movie *
**************************************************************************