Package: libapache2-mod-geoip
Version: 1.1.8-2
Severity: grave
Justification: renders package unusable


Using a file similar to http://www.maxmind.com/app/mod_geoip
gives "/etc/init.d/apache2 restart
Restarting web server: apache2Syntax error on line 11 of
/etc/apache2/mods-enabled/geoip.conf:
deny not allowed here
 failed!"

 Here is my geoip.conf:

<IfModule mod_geoip.c>
GeoIPEnable On
GeoIPDBFile /usr/share/GeoIP/GeoIP.dat

SetEnvIf GEOIP_COUNTRY_CODE GB AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE US AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE CA AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE DK AllowCountry
SetEnvIf GEOIP_COUNTRY_CODE NL AllowCountry

Deny from all
Allow from env=AllowCountry

# Now allow specific IPs
# Allow from 212.159.106.41

</IfModule>



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-mod-geoip depends on:
ii  apache2.2-common            2.2.9-6      Apache HTTP Server common files
ii  libc6                       2.7-12       GNU C Library: Shared libraries
ii  libgeoip1                   1.4.4.dfsg-3 A non-DNS IP-to-country resolver l

libapache2-mod-geoip recommends no packages.

libapache2-mod-geoip suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to