Hello experts!
I have an update on this. I found in the main Apache error log the
following error:
ld.so.1: perl: fatal: libgcc_s.so.1: open failed: No such file or directory
So it seems that Apache fails to initialise the script defined for the
RewriteMap.
I checked the LD_LIBRARY_PATH used in
On 08/10/16 10:54, spggw...@posteo.eu wrote:
However, running from within Apache it always returns a blank value.
Running the same IPs through the script manually does return values.
Any ideas what could be going on here?
First, I totally agree with Julian about evilness of using user's IP for
Hi, Reference:
> From: spggw...@posteo.eu
> Reply-to: users@httpd.apache.org
> Date: Sat, 8 Oct 2016 11:34:46 +0200
spggw...@posteo.eu wrote:
> Hello Julian,
>
> Thanks for your recommendation. However, my problem is not about how
> this mapping should be used or how to detect
Hello Julian,
Thanks for your recommendation. However, my problem is not about how
this mapping should be used or how to detect what language my page
should be displayed in. It's rather about the map not returning any
value when referenced in my Apache configuration.
Regards,
K.
Am 08.10.2016 u
Hi, Reference:
> From: spggw...@posteo.eu
> Reply-to: users@httpd.apache.org
> Date: Sat, 8 Oct 2016 09:54:01 +0200
spggw...@posteo.eu wrote:
> Hello experts!
>
> I'm working with a Perl script that should do geoIP mapping (IP to
> two-letter country code).
Then please ensure
Hello experts!
I'm working with a Perl script that should do geoIP mapping (IP to
two-letter country code). The script works perfectly on the command
line, and follows the rules highlighted in
https://httpd.apache.org/docs/current/rewrite/rewritemap.html#prg
However, running from within Apache it