Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Installing Apache Module (mod_geoip) in the Shared & Semi-Dedicated forum
Has anyone tried to install an API for an Apache module on a shared server with any success? Here's my dilemma: I want to experiment ...

  1. #1
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438

    Installing Apache Module (mod_geoip)

    Has anyone tried to install an API for an Apache module on a shared server with any success? Here's my dilemma:

    I want to experiment with MaxMind GeoIP Apache API, an Apache module used to control redirects with mod_geoip and mod_rewrite (country-based redirection) by installing it locally in my owned directories but I cannot get past the make compile. Bash configure works OK and the conf file logs look OK too, but the make fails. I get numerous errors such as:

    GeoIP.h:28:18: stdio.h: No such file or directory

    So apparently some system header files are not being found. Is there a way to define where to search for these h files during configure or are the header files removed/protected from non-root use on shared servers? Am I just out of luck? Does anyone ever try to force a make install with these errors? I'm sure not going to do that on a shared server unless I know it's "safe".

    I'd prefer not to submit a ticket because I just want to experiment and not detract from JagPC's more important obligations.

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Even if you find the proper header files and successfully make the binary, you won't be able to use it becuase you have no control over Apache. There is one instance of Apache running for all of the sites on the server, so if you wnat to modify how that instance runs (i.e. by installing new extensions), you'll have to ask support to do it for you.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,438
    Fortunately, if I understand the module's install process, one can install this module locally. Actually, my post was a bit misleading. It is really a Perl module that calls the GeoIP C library. So the optimal install involves some calls to the library (installed wherever) through a Perl module (installed wherever) and initiated by .htaccess files in the local public web hierarchy.

    Sorry about the confusion. So do you know how to access the header files during a system make without root access, or for that matter, with root access?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •