From: Michael F. <Mic...@tb...> - 2002-10-15 12:08:08
|
My cgi proxy is the James Marshalls one This is my CGIAmbles.txt #Format of entries: firewall, preamble, postamble #localProxy will request $preamble.escaped($url).$postamble #Use the first line that matches our firewall, or use '*' (all firewalls). #*, https://vip.megaproxy.com/go/, #*, http://web.archive.org/, #*, http://216.239.35.120/translate_c?&langpair=en%7Cen&u=, #XXX - note the hard-coded spanish to english conversion here. #XXX - This gets english pages,but some english words look like #XXX - spanish and get translated (e.g. 'can' changes to 'dog' :-) #*, http://babelfish.altavista.com/urltrurl?url=, &lp=es_en #XXX - We should probably check #XXX - the user's system to see if he's probably looking for #XXX - pages in the chosen lang here, and choose some other conversion! #Use Japanese (ja) (or chinese (zn)), low chance of accidental collisions #Note: translation ends at this: <blink>*** TRANSLATION ENDS HERE ***</blink> #*, http://babelfish.altavista.com/urltrurl?url=, &lp=ja_en *.http://******.com/cgiproxy/nph-proxy.pl/000100A/http/ It expects the URL to be minus the http:// - I`ll try changing that last entry to *.http://******.com/cgiproxy/nph-proxy.pl/000100A/ and see if it works better ..... Am I doing this right ? As a `quick fix` for getting up and running this is great Wayne. Oops just spotted *.http://etc should be *, http://etc, which might help - will try again and repost result - the URL format is still slightly different though. Mike |