Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: In need of VERY simple perl proxy

by jethro (Monsignor)
on Aug 22, 2009 at 00:38 UTC ( #790505=note: print w/ replies, xml ) Need Help??


in reply to In need of VERY simple perl proxy

That all those proxies fail might indicate that proxying isn't such an easy task and to program a super simple proxy isn't so super simple.

Maybe a full-fledged proxy like squid would work as well. It might provide hooks where you can plug in your perl script. Or your script could just look at the logfile or get the log lines piped from syslog, all the urls can be logged if you instruct squid to do so.


Comment on Re: In need of VERY simple perl proxy
Re^2: In need of VERY simple perl proxy
by Polyglot (Monk) on Aug 22, 2009 at 14:31 UTC
    I've been using squid for several weeks and found that it has problems in accessing pages at times for strange reasons. For example, sometimes I am forced to type google.com into the URL window instead of entering my search straight into the search window of the browser (which links to google). At other times it will work flawlessly--so it's been somewhat hit and miss, and I have been unable to find meaningful errors or reasons why.

    I hope you can find a simple proxy, but I'm unaware of any. I would be happy to hear of it too when you find one.

    Blessings,

    ~Polyglot~

      It is probably DNS related

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://790505]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-09-03 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls