Re: Dynamically add socks5 forwards or #include a separate forwarding file
David Woodfall <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <20180618173350.GN18580@blackswan> |
On Monday 18 June 2018 18:34, Fabian Keil <[email protected]> put forth the proposition: > David Woodfall <[email protected]> wrote: > > > I would like to know if there's a way of adding forwards without > > needing to edit the main config and restarting privoxy? > > Restarting Privoxy isn't necessary. Config file changes should > be detected automatically. > > > My privoxy forwards to 2 socks5 proxies. By default all go to the main > > one, but I sometimes need to add URL patterns for some to go to the > > second proxy. > > > > Is there is a way to do this by putting a command/alias in either > > user.action or user.filter, or perhaps #include a separate file from > > config that I could add to dynamically using a shell script or via > > the web interface? > > > > I did try putting them in user.action but I couldn't get them to work. > > Using the forward-override directive in an action file > is expected to work as well. > > Fabian That's great, thanks very much! -Dave -- panic("Foooooooood fight!"); -- In the kernel source aha1542.c, after detecting a bad segment list .--. oo (____)// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'