Hello Nigel, the apache directives order, deny and allow are well documented by apache.org. Please use the link [1]. It is not a mod_geoip issue.
If I or the geoip people would go to mention each httpd.conf directive we would have to rewrite apache.org's great documentation [2]. [2] http://httpd.apache.org/docs/2.2 On Wed, Jul 30, 2008 at 04:33:40PM +0100, Nigel Horne wrote: > The documentation doesn't say anything about that (and my ESP chip isn't > working :-) ) so I > suggest that you correct the documentation to make that point and give > working example. > > Debian Bug Tracking System wrote: > >This is an automatic notification regarding your Bug report > >which was filed against the libapache2-mod-geoip package: > > > >#492674: libapache2-mod-geoip: Deny keyword is not allowed > > > >It has been closed by Michael Mende <[EMAIL PROTECTED]>. > > > >Their explanation is attached below along with your original report. > >If this explanation is unsatisfactory and you have not received a > >better one in a separate message then please contact Michael Mende > ><[EMAIL PROTECTED]> by > >replying to this email. > > > > > > > > > >------------------------------------------------------------------------ > > > >Subject: > >#492674: libapache2-mod-geoip: Deny keyword is not allowed > >From: > >Michael Mende <[EMAIL PROTECTED]> > >Date: > >Wed, 30 Jul 2008 15:18:50 +0200 > >To: > >[EMAIL PROTECTED] > > > >To: > >[EMAIL PROTECTED] > > > > > >----- Forwarded message from Michael Mende <[EMAIL PROTECTED]> ----- > > > >From: Michael Mende <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: libapache2-mod-geoip: Deny keyword is not allowed > > > >Hello Nigel, > > > >please don't insert order, deny, or allow in that context. > > > >Use it only in a Directory or .htaccess context [1] > > > > > >[1] http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#deny > > > > > > > >------------------------------------------------------------------------ > > > >Subject: > >libapache2-mod-geoip: Deny keyword is not allowed > >From: > >Nigel Horne <[EMAIL PROTECTED]> > >Date: > >Mon, 28 Jul 2008 05:37:13 +0200 > >To: > >Debian Bug Tracking System <[EMAIL PROTECTED]> > > > >To: > >Debian Bug Tracking System <[EMAIL PROTECTED]> > > > > > >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 > > > > > > > -- > Nigel Horne. Adjudicator, Arranger, Band Trainer, Conductor, Composer, > Tutor. > NJH Music, Barnsley, UK. ICQ#20252325 > [EMAIL PROTECTED] http://www.bandsman.co.uk > begin:vcard > fn:Nigel Horne > n:Horne;Nigel > org:NJH Music > adr:Pogmoor;;28 Wharfedale Road;Barnsley;South Yorkshire;S75 2LJ;UK > email;internet:[EMAIL PROTECTED] > tel;fax:+44 870 705 9334 > note:Skype: nigelhorne > x-mozilla-html:FALSE > url:http://www.bandsman.co.uk > version:2.1 > end:vcard > -- Kind Regards, Michael Mende http://www.menole.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]