Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 494698

Summary: net-proxy/http-replicator - add --exclude option to exclude specific hosts from caching
Product: Gentoo Linux Reporter: thelan <thelan>
Component: [OLD] ServerAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: LATER, PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/projects/http-replicator
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-proxy/http-replicator-3.0-r3 patch

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.