I'd like a CGI script that will mirror another site. I.e: by entering:

http://www.myhost.com/google/

I will see the contents of

http://www.google.com/

And http://www.myhost.com/google/search?q=hello will display:

http://www.google.com/search?q=hello

The best I could find was:

http://www.alltooflat.com/geeky/elgoog/

But I don't know if its source is available and it has the unhappy
side-effect of reversing the letters on the page.

Of course that if the remote server returns HTML, then the HTML should be
processed to maintain link integrity if absolute links, etc. were used,
and naturally CGI params, cookies etc. should be seemlessly translated.

My preferable language for it would be Perl, but PHP, Python, C/C++
solutions would be good as well, as long as its open-source.

Regards,

        Shlomi Fish


----------------------------------------------------------------------
Shlomi Fish        [EMAIL PROTECTED]
Home Page:         http://t2.technion.ac.il/~shlomif/
Home E-mail:       [EMAIL PROTECTED]

"Let's suppose you have a table with 2^n cups..."
"Wait a second - is n a natural number?"


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to