Package: adzapper
Version: 20070317-2
Severity: important

Several /etc/adzapper.conf options seem to be ignored.  Setting
ZAP_MODE="CLEAR" shows the same images as without.  Setting ZAP_BASE to
another server still uses the default server (STUBURL_* is ignored)

I'm trying to use polipo's http server for the images.  All I really want is
the "-clear" images from http://adzapper.sf.net/zaps/ , but that didn't work
so I tried hosting the files locally using polipo.

Browsing to 'http://localhost:8123/zaps/CLEAR/ad.gif' works fine,
as well as to 'http://localhost:8123/zaps/DEFAULT/ad.gif';
the server root contains:
'/zaps/DEFAULT/ad.gif' (and other images),
and: '/zaps/CLEAR/ad.gif' (and other images).

With the attached /etc/adzapper.conf, and with the alterative
"STUBURL_AD=http://localhost:8123/zaps/DEFAULT/ad.gif"; in the file, I still get
the 'http://adzapper.sourceforge.net/zaps/ad.gif' image while browsing.  I did
restart polipo.

Hopefully this covers everything!  Thanks.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (800, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages adzapper depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  polipo                        1.0.2-1    a small, caching web proxy

adzapper recommends no packages.

-- no debconf information
# Configfile for adzapper.
#
#   by Paul van Tilburg <[EMAIL PROTECTED]>.
#   based on the wrapzap script by Cameron Simpson <[EMAIL PROTECTED]>.

# ZAP_MODE
#
#   Sets the way zapped ads, popups, etc are shown.
#   Use "DEFAULT" for default or "CLEAR" to get transparent replacement images.
#
ZAP_MODE="CLEAR"

# ZAP_BASE
# ZAP_BASE_SSL
#
#   Defines the base URL where the substituted ad gifs, swf's, js
#   scripts, etc can be found. ZAP_BASE_SSL is for HTTPS
#   but is not used at the moment.
#
#   Note: a local web server will be much better.
#
#ZAP_BASE=http://adzapper.sourceforge.net/zaps
#ZAP_BASE_SSL=https://adzapper.sourceforge.net/zaps # this can probably be 
ignored
ZAP_BASE=http://localhost:8123/zaps/$ZAP_MODE
ZAP_BASE_SSL=https://localhost:8123/zaps/$ZAP_MODE

# ZAP_PREMATCH
#
#   Pathname of extra pattern file for patters to preempt the stock
#   pattern files of adzapper itself.
#   Preferably use ZAP_POSTMATCH.
#
ZAP_PREMATCH=

# ZAP_POSTMATCH
#
#   Pathname of extra pattern file for patterns in addition to the stock
#   patterns of adzapper itself. This is the one to which you
#   should add new adzap patterns.
ZAP_POSTMATCH=

# STUBURL_*
#
#   Files for used in substition of ads.
#
#STUBURL_AD=http://localhost:8123/zaps/DEFAULT/ad.gif
#STUBURL_ADSSL=http://localhost:8123/zaps/DEFAULT/ad.gif
STUBURL_AD=$ZAP_BASE/ad.gif
STUBURL_ADSSL=$ZAP_BASE_SSL/ad.gif
STUBURL_ADBG=$ZAP_BASE/adbg.gif
STUBURL_ADJS=$ZAP_BASE/no-op.js
STUBURL_ADHTML=$ZAP_BASE/no-op.html
STUBURL_ADMP3=$ZAP_BASE/ad.mp3
STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html
STUBURL_ADSWF=$ZAP_BASE/ad.swf
STUBURL_COUNTER=$ZAP_BASE/counter.gif
STUBURL_COUNTERJS=$ZAP_BASE/no-op-counter.js
STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
STUBURL_WEBBUGJS=$ZAP_BASE/webbug.js

# NO_CHANGE_VALUE
#
#   This defines what adzapper outputs when nothing should be redirected.
#   For squid, this must be empty or undefined (default is empty).
#   For Apache2's mod_rewrite RewriteMap directive, set this to NULL:
#NO_CHANGE_VALUE="NULL"

Reply via email to