HTTP Proxy

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Thu Apr 17 23:20:12 UTC 2008


Derek Broughton wrote:

> I want an HTTP proxy that is smart enough to return cached pages any time it
> can't find the Internet, but all the proxies I've tried either need to be
> manually switched to "offline", or their configuration is too arcane to
> make it obvious how to do this.  Does anybody know of such a beast?

Did you look at wwwoffle?
http://www.gedanken.demon.co.uk/wwwoffle/

> As a last resort, I could run a cron job that would set the proxy offline if
> it couldn't get a DNS result, but that's work ...

Why not setting the proxy on-/offline by placing a script in
/etc/network/if-{up,down}.d, directly in /etc/network/interfaces or,
since it's probably a ppp connection, in /etc/ppp/ip-{up,down}.d ?

Regards
  mks




More information about the ubuntu-users mailing list