Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not enable GeoIP serverwide by default + recommend geoip-database #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Package: libapache2-mod-geoip
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: geoip-database
Description: GeoIP support for apache2
This is an apache2 module for finding the country that a web request
originated from. It uses the GeoIP library and database to perform
Expand Down
5 changes: 4 additions & 1 deletion debian/geoip.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<IfModule mod_geoip.c>
GeoIPEnable On
# For performance reasons, it's not recommended to turn GeoIP on serverwide,
# but rather only in <Location> or <Directory> blocks where it's actually
# needed.
GeoIPEnable Off
#GeoIPDBFile /usr/share/GeoIP/GeoIP.dat
</IfModule>