logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: VS18 mod_maxminddb.so and mod_ip2location
Author
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Mon 18 May '26 21:46    Post subject: VS18 mod_maxminddb.so and mod_ip2location Reply with quote

Does anyone have a compiled version of mod_maxminddb.so?

Compatible with the latest VS18 Apache version pls...
Back to top
nono303



Joined: 20 Dec 2016
Posts: 230
Location: Lille, FR, EU

PostPosted: Tue 19 May '26 7:57    Post subject: Reply with quote

Hi,
You can find mod_maxminddb 1.3.0.83 (bc24e6a 2026-05-14) vs18 x64 build here
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Tue 19 May '26 17:47    Post subject: Reply with quote

I've downloaded both versions: vs18_x64-avx.zip and vs18_x64-avx2.zip
but this mod_maxminddb.so is NOT compatible with our Apache httpd-2.4.67-260504-Win64-VS18.
Other sugesstion?
Back to top
timo



Joined: 03 Jun 2012
Posts: 49
Location: FI, EU

PostPosted: Wed 20 May '26 6:36    Post subject: Reply with quote

I'm using mod_maxminddb-1.2.0.160-2.4.x-x64-vs17 from Apach e Haus https://www.apachehaus.com/cgi-bin/download.plx
It's vs17 but runs fine with Apache 2.4.67
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Wed 20 May '26 6:41    Post subject: Reply with quote

Yes, I do that too. I also use the VS17 version but I was hoping someone had a good compatible VS18 version. It would be a nice addition to the existing Apache Lounge mods Smile
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 751

PostPosted: Wed 20 May '26 7:13    Post subject: Reply with quote

What error do you get. Or at start.
Back to top
nono303



Joined: 20 Dec 2016
Posts: 230
Location: Lille, FR, EU

PostPosted: Wed 20 May '26 18:08    Post subject: Reply with quote

mod_maxminddb.so is linked with shared /bin/maxminddb.dll which must be in your path
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3191
Location: Hilversum, NL, EU

PostPosted: Thu 21 May '26 9:48    Post subject: Reply with quote

Please try this one :

https://www.apachelounge.com/download/VS18/modules/mod_maxmindd-260520-Win64.rar


The default CMake build file that comes with the package wants to build a static library; hence created a maxminddb.lib file.


copy maxminddb.lib to your /bin folder

cppy mod_maxminddb.so to your /modules folder
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Thu 21 May '26 16:18    Post subject: Reply with quote

THX, testing the new mmdb.so file right now.

21-05 16:30h > looks good! THX for your file. Much appreciated! Very Happy


Last edited by RolfBos on Thu 21 May '26 16:26; edited 1 time in total
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Thu 21 May '26 16:24    Post subject: Reply with quote

Is there by any chance also a compatible VS18 version for IP2LOCATION-LITE-ASN.BIN as well?

https://github.com/ip2location/ip2location-apache
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3191
Location: Hilversum, NL, EU

PostPosted: Wed 27 May '26 9:22    Post subject: Reply with quote

Tangent was kind to build one, and updated his script https://www.apachelounge.com/viewtopic.php?p=44351#44351


Please test

https://www.apachelounge.com/download/VS18/modules/mod_ip2location-260526-Win64.rar

See readme.txt in the rar.
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Sat 30 May '26 18:01    Post subject: Reply with quote

Thank you very much for your IP2location file. I'm going to test it out right away. Much appreciated. Very Happy
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Sat 30 May '26 18:18    Post subject: Reply with quote

Hi,
# --- security2 (mod_security2) ---
LoadModule security2_module modules/mod_security2.so
# --- MaxMindDB (mod_maxminddb) ---
LoadModule maxminddb_module modules/mod_maxminddb.so
# --- IP2Location (mod_ip2location) ---
# LoadModule IP2Location_module modules/mod_ip2location.so

The file is read by Apache VS18 without an error message. However, as soon as this ip2location file is loaded, all web pages on the server are blank.

<IfModule mod_ip2location.c>
IP2LocationDBFile f:/wamp/geoip/IP2LOCATION-LITE-DB11.BIN
IP2LocationDBFile f:/wamp/geoip/IP2LOCATION-LITE-ASN.BIN
IP2LocationEnable ON
IP2LocationDetectProxy ON
IP2LocationSetmode ALL
</IfModule>

<IfModule mod_ip2proxy.c>
IP2ProxyDBFile f:/wamp/geoip/IP2PROXY-LITE-PX12.BIN
IP2ProxyEnable ON
IP2ProxyDetectProxy ON
IP2ProxySetmode ALL
</IfModule>

Error:
Naam van toepassing met fout: httpd.exe, versie: 2.4.67.0, tijdstempel: 0x69f317e6
Naam van module met fout: mod_ip2location.so, versie: 0.0.0.0, tijdstempel: 0x6a15c4ce
Uitzonderingscode: 0xc0000005
Foutmarge: 0x0000000000001f93
Id van proces met fout: 0x5f1c
Starttijd van toepassing met fout: 0x01dcf0515fd02a42
Pad naar toepassing met fout: F:\wamp\apache\bin\httpd.exe
Pad naar module met fout: F:\wamp\Apache\modules\mod_ip2location.so
Rapport-id: 5b62eb1c-db54-4f02-98a4-2df7f3102ede
Volledige pakketnaam met fout:
Relatieve toepassings-id van pakket met fout:


Last edited by RolfBos on Sat 30 May '26 18:30; edited 1 time in total
Back to top
RolfBos



Joined: 03 Mar 2026
Posts: 10
Location: Netherlands

PostPosted: Sat 30 May '26 18:29    Post subject: Reply with quote

I hope you can solve the problem. Shocked
Back to top


Reply to topic   Topic: VS18 mod_maxminddb.so and mod_ip2location View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules