Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494698 - net-proxy/http-replicator - add --exclude option to exclude specific hosts from caching
Summary: net-proxy/http-replicator - add --exclude option to exclude specific hosts fr...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL: http://sourceforge.net/projects/http-...
Whiteboard:
Keywords: LATER, PATCH
Depends on:
Blocks:
 
Reported: 2013-12-18 23:19 UTC by thelan
Modified: 2013-12-19 12:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-proxy/http-replicator-3.0-r3 patch (exclude-hosts.patch,3.28 KB, patch)
2013-12-18 23:19 UTC, thelan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description thelan 2013-12-18 23:19:27 UTC
Created attachment 365636 [details, diff]
net-proxy/http-replicator-3.0-r3 patch

Hello,

I've made a patch for http-replicator (based on the net-proxy/http-replicator-3.0-r3)

This patch add an extra argument to prevent specific hosts to be cached.

This is useful when you already have a webserver on the proxy host. It avoid content duplication on the server.

Please add the following two line to [ebuild]files/http-replicator-3.0.conf
## Disable caching for specific host
#DAEMON_OPTS="$DAEMON_OPTS --exclude mirror.localdomain"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-19 12:56:33 UTC
You probably wanted to send that upstream instead.