Re: proxy server allows using std Mosaic with Term
Lou Montulli (montulli@stat1.cc.ukans.edu)
Tue, 15 Feb 1994 23:57:17 --100
> 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 *
**************************************************************************