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

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

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

[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

Re: [users@httpd] Apache modules built as .a and .la instead of .so libraries

2015-11-20 Thread spggwp7q
Thanks a lot! Checking config.log for apr pointed me in the right direction. Am 20/11/2015 um 16:02 schrieb William A Rowe Jr: Go back to how you initially built apr, that is going to be the origin of the libtool used by httpd. On Fri, Nov 20, 2015 at 8:23 AM, spggwp7q <mailto:sp

[users@httpd] Apache modules built as .a and .la instead of .so libraries

2015-11-20 Thread spggwp7q
Hi guys, I'm building apache 2.4.x (latest) for Solaris on Intel. I've built a cross compiler for this, which seems to be working fine. That said, all my modules are being built as .a and .la files, rather than .so files. Apache fails to start when it tries to load modules, saying that it can

Re: [users@httpd] Cross-compiled apache 2.4.17/OpenSSL 1.0.2d for SPARC fails to start on mutex error

2015-11-16 Thread spggwp7q
It works! Thanks a lot for the hint. Am 16/11/2015 um 12:34 schrieb Rainer Jung: Am 16.11.2015 um 10:22 schrieb spggwp7q: Hi guys, I cross-compiled apache 2.4.17 with APR 1.5.2 and APR Util 1.5.4 along with OpenSSL 1.0.2d for 64-bit SPARC. I tried running it on one of my boxes and got the

[users@httpd] Cross-compiled apache 2.4.17/OpenSSL 1.0.2d for SPARC fails to start on mutex error

2015-11-16 Thread spggwp7q
Hi guys, I cross-compiled apache 2.4.17 with APR 1.5.2 and APR Util 1.5.4 along with OpenSSL 1.0.2d for 64-bit SPARC. I tried running it on one of my boxes and got the following error in the apache error log (the box was previously running 2.4.10): [Mon Nov 16 10:04:52.463583 2015] [core:eme