Re: [users@httpd] Perl prg RewriteMap always returns blank

2016-10-08 Thread Marat Khalili
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

[users@httpd] mod_status: extended + auto (machine-readable) output

2016-10-08 Thread Raphaël
Hi, I've an Apache server handling various virtual hosts and I'd like to monitor the distinct activities of all of them without having to parse multiple accesslog files. Most monitoring softwares consume the output of "mod_status?auto" which is made easy to parse but does not provide the detaile

Re: [users@httpd] Perl prg RewriteMap always returns blank

2016-10-08 Thread Julian H. Stacey
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

Re: [users@httpd] Unknown accepted traffic to my site

2016-10-08 Thread Mitchell Krog Photography
Thanks Spork for the detailed reply you got from Berkeley, I got a similar one, though not quite as detailed. I think the problem with Apache is that it is simply an index.html sending a 200 “OK” and not actually replying to say yes I am infected with whatever it is they are looking for. At the

Re: [users@httpd] Perl prg RewriteMap always returns blank

2016-10-08 Thread spggwp7q
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

Re: [users@httpd] Perl prg RewriteMap always returns blank

2016-10-08 Thread Julian H. Stacey
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

[users@httpd] Perl prg RewriteMap always returns blank

2016-10-08 Thread spggwp7q
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