bug report in mod_perl 1.99_13 installation

2004-03-09 Thread Arnaud Blancher
-8<-- Start Bug Report 8<-- 1. Problem Description: when i do the make test, i have this message /usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/bin/perl /home/insta

CGI header mod_perl 1.99_13

2004-03-12 Thread Arnaud Blancher
hi all, i test all my scripts which this version of mod perl and i have the message : [notice] child pid 3541 exit signal Segmentation fault (11) in the error_log all the times but not the first one when i call the script if i remove print header(); and put print "Content-Type: text/plain\n\n"; it

Re: CGI header mod_perl 1.99_13 (bug report)

2004-03-15 Thread Arnaud Blancher
hi Stas, here the complete bug report, -8<-- Start Bug Report 8<-- 1. Problem Description: i have the message : [notice] child pid 3541 exit signal Segmentation fault (11) in the error_log not the first one when i call the script but when i have the message,

Re: CGI header mod_perl 1.99_13 : OK

2004-03-16 Thread Arnaud Blancher
*** Packages of interest status: Apache::Request: - CGI: 3.04 LWP: 5.65 mod_perl : 1.9912, 1.9912, 1.9913 You have a bunch of older mp2 installs lingering around. I won't be surprised if you get the wrong libraries loaded. I'd suggest to nuke any previous mod_perl

[MP2] eval and exit(0)

2004-04-29 Thread Arnaud Blancher
hi all, I have a stange problem whith mod_perl 2. The script behing have a diferent result in perl/cgi than in mod_perl so i don't know if i make a mistake whith perl/cgi or if it's a bug. # in standad cgi, the output is In first # in mod_perl, the output is In first In second I dont want to s

Re: [MP2] eval and exit(0)

2004-04-29 Thread Arnaud Blancher
ydnar a écrit : The eval() is unecessary. The named sub can be used: &$func(); great, it's ok! mod_perl remaps exit() to ModPerl::Util::exit(). Are you sure the right modules are being loaded? i don't know. how can i know that ? tank you very much Arnaud. Arnaud Blancher wrot

Re: [MP2] eval and exit(0) : problem

2004-04-30 Thread Arnaud Blancher
Stas Bekman a écrit : ydnar wrote: The eval() is unecessary. The named sub can be used: &$func(); yes but not with use strict ... mod_perl remaps exit() to ModPerl::Util::exit(). Are you sure the right modules are being loaded? You don't need to load anything. Indeed under mp2: *CORE:

Re: [MP2] eval and exit(0) : problem

2004-05-03 Thread Arnaud Blancher
Stas Bekman a écrit : Arnaud Blancher wrote: Stas Bekman a écrit : ydnar wrote: The eval() is unecessary. The named sub can be used: &$func(); yes but not with use strict ... try: { no strict 'refs'; &$func(); } yes, it's work. i'don't realy l

Re: [RELEASE CANDIDATE] mod_perl-1.99_14 RC1

2004-05-26 Thread Arnaud Blancher
Geoffrey Young a écrit : a release candidate for mod_perl 1.99_14 is now available for testing. please grab the candidate from http://perl.apache.org/~geoff/mod_perl-1.99_14-dev.tar.gz and report back successes or failures. when reporting failures, please see the bug reporting guidelines at fo

Re: mod_perl presence at OSCON (and other CONs) is at danger

2004-06-08 Thread Arnaud Blancher
Perrin Harkins a écrit : On Tue, 2004-06-08 at 10:55, Frank Wiles wrote: I agree mod_perl needs more PR. I think we've got a great community of people to help on the mailing list, tons of great documentation, but lack in several areas: 1) PR announcements in general (When is the last time y

Re: request appears to be processed twice with PDF::Create

2004-07-29 Thread Arnaud Blancher
Dermot Paikkos a écrit : Arnaud, Yes I am/was using I.E.6 I have installed Firefox 0.9 and it works fine. A bit frustrating as I know that most of the users will be using I.E 5/6. I suppose I am not going to have to check the incoming request's browser type and tweak the functions to suit each.

Re: request appears to be processed twice with PDF::Create

2004-07-29 Thread Arnaud Blancher
Dermot Paikkos a écrit : Does this mean you have to go an clean up these files later yes, if you dont want they stay on the disk. or is this done when the process ends? maybe you can write a special handle for the directory where you ll write your pdf that delete the pdf when the connection (due

AuthenNTLM and login

2004-08-02 Thread Arnaud Blancher
hi, i use authenNtlm on debian whith an Active directory. the module is ok (good job !) But some time the connection to AD is so slow, In those cases (no connection to AD aviable), i try to extract the login of the remote user. Do you know if it possible ? or if i absolute need AD active for that

How to use a particular version of perl

2004-08-03 Thread Arnaud Blancher
Hi, I want try to use perl 5.8.5 with MP2, in my system (fedora core 1) i have perl 5.8.3 ( the last rpm package) In have compile the last perl in other directory ( usr/local/bin/perl ) How could i tell MP to use this version of perl ? (i havent found it in MP2' doc) thanks Arnaud -- Report proble

Re: AuthenNTLM and login

2004-08-04 Thread Arnaud Blancher
--- Begin Message --- Shannon Eric Peevey wrote: Quoting Arnaud Blancher <[EMAIL PROTECTED]>: hi, i use authenNtlm on debian whith an Active directory. the module is ok (good job !) But some time the connection to AD is so slow, In those cases (no connection to AD aviable), i try to extra

Re: How to use a particular version of perl

2004-08-05 Thread Arnaud Blancher
root as I think the test-suite has to be run as an non-root user. Tom Arnaud Blancher wrote: Hi, I want try to use perl 5.8.5 with MP2, in my system (fedora core 1) i have perl 5.8.3 ( the last rpm package) In have compile the last perl in other directory ( usr/local/bin/perl ) How could i tell MP to u

Re: AuthenNTLM and login

2004-08-05 Thread Arnaud Blancher
I don't think that a modification to the module would be the best solution here. It seems that the best solution is going to be at the directory services cluster. If we were to allow the AuthenNTLM module to DECLINE and use another alternative authentication method, then you will need to mirro

Re: got mod_perl?

2004-08-27 Thread Arnaud Blancher
congratulation Geoffrey and the mother . perle could be a great name (in french is http://www.e-perle.com/boutique/index.html?c260.html) Goehring, Chuck, RCI - San Diego wrote: Perl would be a good name. -Original Message- From: Chang-Ping Hsiao [mailto:[EMAIL PROTECTED] Sent: Friday, Augu

Apache-authenNTLM-2.07 and mp 1.99_16 work ?

2004-09-01 Thread Arnaud Blancher
hello i use Apache-authenNTLM-2.07 with mod_perl 1.99.14 and windows 2000: it was ok. Now i have format my windows 2000, and make a new install. install the new version of mod perl 1.99_16 on the linux. and it don't work ! error msg: [Wed Sep 01 14:59:35 2004] [error] [client 192.168.0.3] Usage:

problem of persistance

2004-09-17 Thread Arnaud Blancher
hi all with mp2 1.99_14,perl 5.8.5,apache 2.0.50 i have a problem of persistance. I just print IP, time and pid. when 2 computer get the script they sometimes see the have the same IP and the same time ! i would like all my variable aren't share and especially the $user object so could you tell

Re: problem of persistance

2004-09-17 Thread Arnaud Blancher
the complete config: -8<-- Start Bug Report 8<-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** mod_perl version 1.9914 *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_AP_PREFIX=> /usr

Re: problem of persistance

2004-09-17 Thread Arnaud Blancher
thank you it's seems to be ok. i ll read again closure in camel book ! Arnaud You are creating a closure. Easy to fix: use My_module; my $user = My_module->new(ip=>$ENV{'REMOTE_ADDR'},pid=>$$); &taff2(); Make that: taff2($user); sub taff2 { add this to the beginning of taff2: my $user = shift; -

Re: problem of persistance

2004-09-20 Thread Arnaud Blancher
Stas Bekman wrote: Arnaud Blancher wrote: thank you it's seems to be ok. i ll read again closure in camel book ! See also: http://perl.apache.org/docs/general/perl_reference/perl_reference.html#Understanding_Closuresthe_Easy_Way ok first, i suppose i can't forbiden closure in

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-10-26 Thread Arnaud Blancher
Jean-Paul COGNET wrote: A problem with mod_perl 1.99 et DBD::Oracle. do you read this ? http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html#C_Libraries_Don_t_See_C__ENV__Entries_Set_by_Perl_Code Arnaud I cannot set the value of NLS_LANG If I set it to any value different f

Re: very very important and emergency (The requested URL /index.pl was not found on this server.)

2004-10-27 Thread Arnaud Blancher
mahboobeh soleimani wrote: Hi every body. I have installed apache 1.3.31 and mod_perl 1.28 and I have used PerlModule Apache::DBI SetHandler perl-script PerlHandler Apache::PerlRun PerlSendHeader On in http.conf but when i enter: http://localhost/index.pl apache says

Re: Perl + apache + cgi

2004-12-07 Thread Arnaud Blancher
Brent Clark wrote: Hi Would anyone care to share some info on setting up a CGI. I keep getting this error: [Tue Dec 7 09:48:47 2004] [error] [client 192.168.111.214] Premature end of script headers: /home/gevens/cgi-bin/ecco/scripts/agent/logon.pl and [2004-12-07 10:17:28]: info: (target/actual) u

Re: [ANNOUNCE] "Practical mod_perl" book is released under Creative Commons license

2004-12-16 Thread Arnaud Blancher
Stas Bekman wrote: Hi, The complete "Practical mod_perl" book [1] is now available online under the terms of the CreativeCommons [2] "Attribution Share-Alike License" [3]. great. is this release all ok with MP2 ? in the fisrt chapter, you talk about apache 1.3, so, for MP2, does i read only the

Re: rotatelog on win32

2005-05-18 Thread Arnaud Blancher
allan juul wrote: hello i have run into a strange problem on windows mod_perl2 RC6 using rotaleog.exe i have this in httpd.conf CustomLog "|D:/rotatelogs.exe \ d:/logs/apache2/http/apache.%Y-%m-%d-%H_%M_%S 86400" combined if i don't load mod_perl there are never a problem. if i load mod_perl, i

why mp2 not in http://www.cpan.org/modules/by-module/CGI/

2005-06-10 Thread Arnaud Blancher
Hi all i see number of version of mp1 in http://www.cpan.org/modules/by-module/CGI/ but why only mp1 and not mp2 ? Cheers, Arnaud

env and locale

2005-08-24 Thread Arnaud Blancher
hi all with mp2 i can't fix the locale in the httpd.conf and use it in script it's look like the env variable is set but not use. In cgi, it's ok here a sample script: #!/usr/bin/perl use CGI qw(:cgi); print header(); use POSIX qw(locale_h); $old_locale = setlocale(LC_CTYPE); print $old_locale,

Re: env and locale

2005-08-24 Thread Arnaud Blancher
Philip M. Gollucci wrote: Arnaud Blancher wrote: in apache: Alias /cgi-p/ /home/publishing4/cgi-p/ SetHandler perl-script PerlResponseHandler ModPerl::Registry Options ExecCGI allow from all PerlOptions +ParseHeaders #SetEnv LC_CTYPE '[EMAIL PROTECTED]' # or