HTTP Proxy

Markus Schönhaber ubuntu-users at
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?

> 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 ?


More information about the ubuntu-users mailing list