From: Michael F. <Mic...@tb...> - 2002-10-15 12:32:19
|
Ok - now my cgiambles.txt looks like this #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/, Which `works` - still no images from the looks of things - could just be our system fluffing it. Log : For web browser proxy service, please configure your web browser http proxy entry to localhost:10080 and the https proxy entry to localhost:10076 now Only accepting connections from 127.0.0.1, 192.168.4.67 Executed getConfig(), result (truncated): <perldata> <hash> <item key="10076"> <hash> ... Original request: GET http://www.clanbob.net/ HTTP/1.0 Modified request: GET http://207.44.136.28/ HTTP/1.0 access denied or failed from 10080.2(a).0(192.168.4.1:8080).-(-): HTTP/1.1 403 10080.2.0.-: 11:10 (8.7(80.2)) (6.5) 11(=0.544/0.05) Original request: GET http://www.clanbob.net/ HTTP/1.0 Modified request: GET http://*******.com/cgiproxy/nph-proxy.pl/000100A/http://www.clanbob.net/ HTTP/1.0 Original request: GET http://216.239.51.102/search?client=navclient-auto&failedi p=216.239.37.102;2018439&ch=53222229727&freshness_check=3K_9hdhQoW2rDYvATf_sP&fe atures=Rank&q=info:http%3A%2F%2Fwww%2Eclanbob%2Enet%2F HTTP/1.0 access denied or failed from 10080.2(7).0(192.168.4.1:8080).-(-): HTTP/1.1 403 10080.2.0.-: 22:20 (14(80.2)) (8.2) 1.1e+003(=0.544/0.0005) 10080.2.0.-: 5.4:4.9 (3.8(80.2)) (2.3) 5.3(=88.4/16.6) Note Modified request: GET http://*******.com/cgiproxy/nph-proxy.pl/000100A/http://www.clanbob.net/ HTTP/1.0 Ought to read GET http://*******.com/cgiproxy/nph-proxy.pl/000100A/http/www.clanbob.net/ How do I `escape` the preamble so that the url reads correctly (minus the :/ ) for the James Marshall cgi. As it appears to work and the missing images may be down to my system perhaps this is unnecessary ?? Also the cgi proxy modifies links so following any links from the page showsthe proxy address in the IE window (which you predicted) - but it looks from the log like localproxy figures this out and doesn`t chain cgi proxy requests... Original request: GET http://******.com/cgiproxy/nph-proxy.pl/00010 0A/http/www.clanbob.net/modules.php?name=Content&pa=showpage&pid=4 HTTP/1.0 Original request: GET http://216.239.51.102/search?client=navclient-auto&failedi p=216.239.51.102;266253&ch=51821214745&features=Rank&q=info:http%3A%2F%2F******%2E******%2Ecom%2Fcgiproxy%2Fnph%2Dproxy%2Epl%2F000100A%2Fhttp%2Fwww%2Eclan bob%2Enet%2Fmodules%2Ephp%3F HTTP/1.0 access denied or failed from 10080.2(a7).0(192.168.4.1:8080).-(-): HTTP/1.1 403 10080.2.0.-: 5.4:4.7 (3.1(80.2)) (1.4) 1.1e+003(=0.544/0.0005) 10080.2.0.-: 4.6:4 (3(80.2)) (1.5) 3.1(=25.7/8.24) I think ?? - it worked anyway. Is the GET http://216.239.51.102/search?client=navclient-auto&failedi my IE still automatically launching a search after a failed request - if so its probably the google toolbar and I need to try and kill that if I can. Anyway - many thanks Wayne IT man has told us hes just taking superscout down for an upgrade - so who knows what the system will look like when that`s finished !!!! :-) Mike |