bug: calling setlocale(LC_ALL,name of any locale with utf8 charset)more than once crashes httpd with mod_perl

2002-04-14 Thread Vlad Harchev
Hi, When using the following script under mod_perl, each httpd process crashes on the 2nd request to execute this script. #!/usr/bin/perl use strict; use POSIX qw(locale_h); setlocale(LC_ALL,'en_US.utf8'); print Expires: 1 Jan 1970\nContent-Type: text/html\n\nHi;

Re: DSO on Solaris - child dies with seg fault

2002-04-14 Thread Sreeji K Das
Hi Stas, Thanx for the reply. However, I had already read the doc. and done everything mentioned there. I had recompiled perl with -Ubincompat5005 as mentioned. I've attached some additional info., generated by trussing the child, as it was being restarted: $truss -ef -o ~/truss.out -r0,1,2

Re: bug: calling setlocale(LC_ALL,name of any locale with utf8 charset)more than once crashes httpd with mod_perl

2002-04-14 Thread Stas Bekman
Vlad Harchev wrote: Hi, When using the following script under mod_perl, each httpd process crashes on the 2nd request to execute this script. #!/usr/bin/perl use strict; use POSIX qw(locale_h); setlocale(LC_ALL,'en_US.utf8'); print Expires: 1 Jan 1970\nContent-Type:

Re: DSO on Solaris - child dies with seg fault

2002-04-14 Thread Stas Bekman
Sreeji K Das wrote: Thanx for the reply. However, I had already read the doc. and done everything mentioned there. I had recompiled perl with -Ubincompat5005 as mentioned. Good then. I just wasn't sure. Hopefully someone with Solaris access/knowledge will be able to help you out, but see

Re: bug: calling setlocale(LC_ALL,name of any locale with utf8charset) more than once crashes httpd with mod_perl

2002-04-14 Thread Vlad Harchev
On Sun, 14 Apr 2002, Stas Bekman wrote: Hi, Vlad Harchev wrote: Hi, When using the following script under mod_perl, each httpd process crashes on the 2nd request to execute this script. #!/usr/bin/perl use strict; use POSIX qw(locale_h);

Lessons learned using PREFIX,LIB and UNINST=1 as root

2002-04-14 Thread Jim Helm
LESSON: Don't do all 3 of the following for any core modules (unless you know you want the original version removed from the core install): a) remove old versions during install (using UNINST=1) while b) installing modules to an alternate location (using PREFIX=.../LIB=...) as c) root (or

htaccess

2002-04-14 Thread Paul Williams
Title: htaccess Hi All, I'm new at this and i'm trying to write my own custom htaccess file. Here is what i have written so far: - AuthUserFile /dev/null AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER}

cvs commit: modperl STATUS

2002-04-14 Thread stas
stas02/04/14 10:25:03 Modified:.STATUS Log: need to resolve the URI/LWP bad combinations issue. Revision ChangesPath 1.15 +10 -1 modperl/STATUS Index: STATUS === RCS file: