Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 15th February 2008, 01:00
bg011ca bg011ca is offline
Junior Member
Join Date: Feb 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default mod_geoip, help needed for setup

Hello there.

I have version 2.2.18 on CentOS 4.5.

For last couple of days I am trying to figure out how to use GeoIP for redirection and I am stumbled upon installation of mod_geoip for Apache server

I was following instructions from here:
http://www.maxmind.com/app/mod_geoip and here:

I can not pass line of
"apxs -cia -I/usr/local/include -L/usr/local/lib -lGeoIP mod_geoip.c"

as "bash: apxs: command not found"

Only apxs I could locate in "/root/ispconfig/httpd/bin" folder.

Help is very much appreciated.

Please and Thank You.
Reply With Quote
Sponsored Links
Old 15th February 2008, 10:36
topdog topdog is offline
Senior Member
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts

Include "/root/ispconfig/httpd/bin" in your PATH
export $PATH
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Old 15th February 2008, 15:22
bg011ca bg011ca is offline
Junior Member
Join Date: Feb 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default I tried...

... to include whoule path when running command,
"/root/ispconfig/httpd/bin/apxs -cia -I/usr..."
with no success.

I have tried to run originaly suggested line from the "/root/ispconfig/httpd/bin" folder as well, no success.

I do not know if problem might be due to the Apache 1.* usage for ISPConfig and Apache 2.* and mod for that Apache version that I am trying to set up.

Does "apxs" command care for version of Apache that it is supposed to be used for?

Additional info for my setup is that before loading ISPconfig, I have run perfect setup for CentOS 4.5.

All worked fine using howtoforge guidelines.
Reply With Quote
Old 15th February 2008, 19:27
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Please install the httpd-devel package:
yum install httpd-devel
and then search for apxs:
locate apxs
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 16th February 2008, 21:15
bg011ca bg011ca is offline
Junior Member
Join Date: Feb 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default That worked.

Falko, thanks.

You are the boss.

Now, mod_geoip is loaded on server level.
Users can use it via local .htaccess with and, at the same time, decide which database to use via:

GeoIPEnable On
GeoIPDBFile /path/to/GeoIP.dat


Or that can be configured on the server level as well.

Thanks, again.
Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid1 advice needed. ubutux Installation/Configuration 6 17th November 2007 03:54
Domain dns help needed acaradic Server Operation 2 28th February 2007 20:19
NEEDED : Ubuntu 6.10 (Edgy Eft) ISP Server Setup with DTC (v tyranno Suggest HOWTO 3 1st November 2006 00:58
Help....package missing sbovisjb1 Installation/Configuration 3 31st March 2006 12:14
CentOS 4.2 - Swap Needed or Not? d3m0nic Installation/Configuration 2 1st February 2006 17:52

All times are GMT +2. The time now is 00:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.