View Single Post
  #1  
Old 01-29-2013, 09:39 AM
poirot poirot is offline
Member
 
Join Date: Jan 2013
Posts: 10
Question [solved] Apache VHost GEOIP Country logging

Hi,

We've a DirectAdmin based LiteSpeed setup where for one vhost we need to create
a custom LogFormat rule logging also the country code of every request from
MaxMind's GEOIP module attached to LSWS natively.
What's the correct enviroment variable to use withing httpd.conf to log such information?
I've tried many different options:
%{ENV:GEOIP_COUNTRY_CODE}, %{GEOIP_COUNTRY_CODE} and so on...
but nothing seems to work.

Last edited by NiteWave; 01-30-2013 at 06:47 PM..
Reply With Quote