Tags: Apache

MaxMind GeoIP in Apache

MaxMind GeoIP in Apache
In many web development and system administration scenarios, knowing the geographical origin of a request is essential. Whether you are tailoring content for specific regions, managing security by identifying high-risk ASNs, or simply improving your analytics, moving geolocation logic to the web server level is more efficient than handling it within the application layer. This guide covers how to compile, install, and configure mod_maxminddb to inject GeoIP2 data directly into Apache

Apache mod_proxy and image leech

lately I faced the problem to publish the cam application on a public IP address, to be accessible from outside the company. Obviously the access had to be password protected.   First I installed mod_proxy and I configured it to make the internal site published. But I suddenly realized it wasn't enough - the site referenced many images using absolute URLs, and that URLs were not accessible from outside. So I had to translate them to the right path, through the proxy. Inside VirtualHost, I had: