Re: link indirection

David Kulp (dkulp@gdb.org)
Wed, 4 May 94 11:38:32 EDT


>> 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.