Re: link indirection

dkulp@gdb.org (David Kulp)
Errors-To: listmaster@www0.cern.ch
Date: Wed, 4 May 1994 17:43:39 +0200
Errors-To: listmaster@www0.cern.ch
Message-id: <9405041538.AA13992@dev.gdb.org>
Errors-To: listmaster@www0.cern.ch
Reply-To: dkulp@gdb.org
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: dkulp@gdb.org (David Kulp)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: link indirection
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
>> Date: Wed, 4 May 1994 17:26:47 +0200
>> Reply-To: letovsky-stan@cs.yale.edu
>> Precedence: bulk
>> From: Stan Letovsky <letovsky-stan@cs.yale.edu>
>> X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
>> 
>> I have a program that runs as an httpd script and produces html from
>> database accesses. I would like to add a redirection capability that
>> would allow it to generate an URL, pass it to the appropriate server,
>> and relay the results back to its own client. To do this I presumably
>> have to embed the minimal httpd client functionality of URL-resolving
>> into my code.  I looked at Mosaic-2.4, and libwww2/HTTP.c seems to be
>> the relevant piece, but it depends on a lot of other code in this
>> module, and I would rather not have to include all of it if I
>> don't have to. Is there a bare-bones description of the client-side
>> of the httpd protocol anywhere?
>> 
>> Thanks. -Stan
>> 
>> 
stan, check out http://cui_www.unige.ch/ftp/PUBLIC/oscar/scripts/README.html
for a list of handy perl routines including 'htget'.  i'm always thinking
in Perl mode -- forgive me. this may be helpful.

cheers,
-david.