foreign CGI-output filtering with different sites possible ?

foreign CGI-output filtering with different sites possible ?

Post by Ingo Ciechows » Wed, 24 Apr 1996 04:00:00



There's a webpage with background CGI available that has some sort of
search-enginge cpabilities.
Unfortuanetely is that CGI running on another platform and not written in
Perl, so that -although we of course contacted the people with the CGI we
want to use- there's no easy way to move the CGI to our new site.

Since it's quite easy to refer to CGIs that reside on other sites we of
course could use its functionalty - but the returend web page would have
the wrong design...

So I'd like to know if there's some way to call that foreign CGI from
within a local CGI and modify its output before acutually returning the
displayable web page ?

Any hints are absolutely welcome ;-)

Ingo

 
 
 

foreign CGI-output filtering with different sites possible ?

Post by Chris Hostetter - The Hoss Ma » Wed, 24 Apr 1996 04:00:00



> So I'd like to know if there's some way to call that foreign CGI from
> within a local CGI and modify its output before acutually returning the
> displayable web page ?

See the recent thread on "Generating an HTTP Request From a Script?".  I
found Michael J. Stok's recent post most helpfull.


>Newsgroups: comp.lang.perl.misc, comp.infosystems.www.authoring.cgi, comp.lang.tcl,, comp.unix.programmer
>Subject: Re: Generating an HTTP Request From a Script?
>Date: 21 Apr 1996 12:54:41 -0400
>Organization: Pencom Systems Administration
>Lines: 47




---
A ROUGH WHIMPER OF INSANITY -------------------------------- The Hoss Man
INFORMATION SUPER HIGHWAY -----------------------------------------------
------------------------------------------------------- Chris M Hostetter

SETEC ASTRONOMY----------------- http://www.reshall.berkeley.edu/~hossman

 
 
 

1. CGI filtering -- possible with NCSA ?

I have a number of SGML files which I would like to serve using NCSA
HTTPD 1.4.2.  I have a filter which can convert these documents into
HTML, bug I would like to do thin "on the fly".  In other words, when
someone asks for http://server/foo.sgml the server figures out that it
is an SGML file (easy), and then runs some filter, and sends the
filter output as the response.  This seems like a simple thing to do,
but I can't figure it out.  I would consider switching to the CERN
server if it can handle this sort of thing.

Thanks

-Pete

--

Are we not drawn onward, we few, drawn onward to new era?


Silicon Engineering, Inc.                       http://www.sei.com
269 Mt. Hermon Road, Suite 207                  (408) 438-5331 x 111
Scotts Valley, CA 95066

2. timer_create on SCO ODT 5.0 not working!

3. Apache: re-handling of output from cgi script possible?

4. Make Xconfig ?

5. Is it possible for a file has different names under different shells

6. getpgrp problem

7. using different cgi-bin directories for different virtuals

8. SCO OS5 install prob: no space on device 31/50

9. NCurses question: different terminals, different output, or "where'd the lines go?"... why?

10. Hosting Foreign Web Sites ?

11. Keeping foreign passwords using mod_proxy and mod_headers possible?

12. Solaris 8 Multi Language & Web Browsing foreign language sites

13. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler