LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > GeoIP don't display in phpinfo

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2012, 10:50 PM
stairmaster stairmaster is offline
Member
 
Join Date: Mar 2011
Posts: 22
Default GeoIP don't display in phpinfo

Hi,

I can't get my GeoIP server variables to work in phpinfo.php

My settings in Litespeed in 'IP to GeoLocation DB' ..
DB File Path: /usr/local/share/GeoIP
DB Cache Type: MemoryCache

I have put my .dat files in what I believe is the correct folder
/usr/local/share/GeoIP/GeoIP.dat
/usr/local/share/GeoIP/GeoIPCity.dat

In my website's .htaccess file I have
GeoIPEnable On
GeoIPDBFile /usr/local/share/GeoIP/GeoIP.dat
GeoIPDBFile /usr/local/share/GeoIP/GeoIPCity.dat

I expect to be able to see my GeoIP server variables in phpinfo.php but they are not there. What can I do?
Reply With Quote
  #2  
Old 09-16-2012, 11:20 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
please set it at server level, not in .htaccess

lsws admin console->Server->General
->Enable IP GeoLocation:Yes

lsws admin console->Server->General
->IP to GeoLocation DB: Add
DB File Path: /usr/local/share/GeoIP/GeoIPCity.dat
DB Cache Type: MemoryCache
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:14 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.