Re: 1. ActivePerl vs mod_perl: different results (how to clear the variables before restarts?)

2005-11-08 Thread Boysenberry Payne
my $counter; print "Content-type: text/html\n\n"; print $char.="*","\n".++$counter using my to declare your variable should resolve your scoping issue Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 8, 2005, at 9:52 PM, Plymouth Rock wrote: There is the problem: first

Re: 2. ActivePerl vs mod_perl: unable to open a file

2005-11-08 Thread Perrin Harkins
Plymouth Rock wrote: At using ActivePerl5.8.7 there isn't the problem with file opening, but at using mod_perl2.0.2 it is: print "Content-type: text/html\n\n"; $path = "textdata.txt"; You are using a relative path. Use an absolute path, or figure out the path based on the location of the cu

Re: 1. ActivePerl vs mod_perl: different results (how to clear the variables before restarts?)

2005-11-08 Thread Perrin Harkins
Plymouth Rock wrote: There is the problem: first running time my script gives correct results on mod_perl2.0.2 (Win32, Apache2.0.54, IE6), but after any next restart (F5 in browser) the variables do not clear Globals keep their values because the perl interpreter stays in memory with mod_per

2. ActivePerl vs mod_perl: unable to open a file

2005-11-08 Thread Plymouth Rock
At using ActivePerl5.8.7 there isn't the problem with file opening, but at using mod_perl2.0.2 it is: print "Content-type: text/html\n\n"; $path = "textdata.txt"; open FH, $path; while() {print} close FH Why and how to solve the problem? Thanx.

1. ActivePerl vs mod_perl: different results (how to clear the variables before restarts?)

2005-11-08 Thread Plymouth Rock
There is the problem: first running time my script gives correct results on mod_perl2.0.2 (Win32, Apache2.0.54, IE6), but after any next restart (F5 in browser) the variables do not clear: print "Content-type: text/html\n\n"; print $char.="*","\n".++$counter unless I restart my Apache webserver

Re: MP2 custom config directives

2005-11-08 Thread Jeremy Nixon
Geoffrey Young <[EMAIL PROTECTED]> wrote: > your description sounds correct for default behavior. and I think it > matches what you quoted :) Hmm. I took the description in the docs to mean that the directives would override the "above" config on a per-directive basis. It certainly didn't occ

Re: MP2 custom config directives

2005-11-08 Thread Geoffrey Young
> At this point I'm not concerned with directory containers, I'm just > trying to get virtual hosts to work the way I want with directives that > apply server-wide. The docs say: "If these functions are not supplied > the following default behavior takes place: the child container inherits > its

[mp2] help: 'make install' failed

2005-11-08 Thread Gian Marco Fenu
Hi, I am tryin to install mod_perl-2.0.2 on a linux box running Perl 5.8.3 and Apache 2.0.48. I get the following 'make test' error: t/filter/both_str_req_proxy.# Failed test 1 in t/filter/both_str_req_proxy.t at line 16 t/filter/both_str_req_proxy.FAILED test 1 [Tue N

Roomity.com v 1.5 is a web 2.01

2005-11-08 Thread shenanigans
I was interested in getting feedback from current mail group users.We have mirrored your mail list in a new application that provides a more aggregated and safe environment which utilizes the power of broadband.Roomity.com v 1.5 is a web 2.01 community webapp. Our newest version adds broadcast vide

MP2 custom config directives

2005-11-08 Thread Jeremy Nixon
I've recently moved to Apache2, and I'm now at my wit's end with custom configuration directives. I have them defined and working, following the examples in the docs, but the merging behavior is proving difficult to understand. (Using mod_perl 2.0.2, apache 2.0.55, perl 5.8.7, FreeBSD 6.0RC1.) A

Re: [mp2] help: 'make install' failed]

2005-11-08 Thread Frank Wiles
On Tue, 08 Nov 2005 21:48:13 +0100 Gian Marco Fenu <[EMAIL PROTECTED]> wrote: > Hi, I am tryin to install mod_perl-2.0.2 on a linux box running Perl > > 5.8.3 and Apache 2.0.48. > I get the following 'make test' error: That's a pretty old Apache, have you tried the latest? Also are you build

[mp2] help: 'make install' failed]

2005-11-08 Thread Gian Marco Fenu
Hi, I am tryin to install mod_perl-2.0.2 on a linux box running Perl 5.8.3 and Apache 2.0.48. I get the following 'make test' error: t/filter/both_str_req_proxy.# Failed test 1 in t/filter/both_str_req_proxy.t at line 16 t/filter/both_str_req_proxy.FAILED test 1 [Tue N

Re: ETAG err_header_out

2005-11-08 Thread eps com estem
Curiously, with Apache2::Response that proportionates the $r->set_etag(); method, apparently the ETAG value is no more sended, however, the problem persists: http://localhost/camandules.info/ GET /camandules.info/ HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;

Re: ETAG err_header_out

2005-11-08 Thread eps com estem
None of these $r->err_headers_out->set('Etag' => "-1"); $r->err_headers_out->set('etag' => "-1"); $r->err_headers_out->set('no-etag' => "1"); $r->notes->set('no-etag' => 1); actually works. Phase where this module runs is PerlHeaderParserHandler, which is needed for its DIRECTORY scope. PerlPos

Re: mp1, mason, apache::dbi multiple database issue

2005-11-08 Thread Perrin Harkins
On Tue, 2005-11-08 at 12:10 -0600, Matthew Lineen wrote: > I'm using mp1, Mason, Apache::DBI, and MySQL InnoDB tables. Check your isolation level: http://perl.apache.org/docs/1.0/guide/databases.html#Transactions_Not_Committed_with_MySQL_InnoDB_Tables - Perrin

mp1, mason, apache::dbi multiple database issue

2005-11-08 Thread Matthew Lineen
Hello, I wasn't sure if I should post here, on the Mason list, or elsewhere; hopefully someone here can help. I'm using mp1, Mason, Apache::DBI, and MySQL InnoDB tables. When adding a second database connection to our code, a very simple getUserIdFromSession subroutine returns inconsistent v

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
Thx u so much Cure -Original Message- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:40 AM To: Paul Harrison Cc: 'Enno'; [EMAIL PROTECTED]; modperl@perl.apache.org Subject: Re: Apache-DBI Paul Harrison wrote: > p5-Apache-DBI-0.94_1 <-- I got it

[Fwd: Re: Apache-DBI]

2005-11-08 Thread Philip M. Gollucci
Meant to CC this back to the list in my reply. -- "Love is not the one you can picture yourself marrying, but the one you can't picture the rest of your life without." "It takes a minute to have a crush on someone, an hour

Re: Apache-DBI

2005-11-08 Thread Philip M. Gollucci
Paul Harrison wrote: p5-Apache-DBI-0.94_1 <-- I got it from the ports-tree FreeBSD Ah, they hand patched it with my original patch after mp2 RC5 came out to unbreak the port build. I believe I filed an gnats upgrade for this http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/83980 which is of

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
p5-Apache-DBI-0.94_1 <-- I got it from the ports-tree FreeBSD Cure -Original Message- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:33 AM To: Paul Harrison Cc: 'Enno'; [EMAIL PROTECTED]; modperl@perl.apache.org Subject: Re: Apache-DBI Paul Ha

Re: Apache-DBI

2005-11-08 Thread Philip M. Gollucci
Paul Harrison wrote: if (defined $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} == 2) { Exactly what version of Apache-DBI do you have (0.94_1) and where did you get it ? I would reccommend you use 0.9901 in my CPAN dir its the latest. I image a 0.9902 soonish and then a 1.0 befor

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
if (defined $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} == 2) { <-- that fixed the error. Thxs Cure -Original Message- From: Paul Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:22 AM To: 'Enno' Cc: [EMAIL PROTECTED]; modperl@perl.apache.org Sub

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
I will try that thxs. On my other box, I have mp2 and p5-Apache-DBI-0.94_1 works just fine. But then again, I don't preload the connections on server startup. Cure -Original Message- From: Enno [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:17 AM To: Paul Harrison Cc: [

RE: Apache-DBI

2005-11-08 Thread Enno
hmmm, dont have any experience with mp1, so I'm guess MOD_PERL_API_VERSION isnt set in it. To fix, change if ($ENV{MOD_PERL_API_VERSION} == 2) { into if (defined $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} == 2) { hope this helps. Enno On Tue, 8 Nov 2005, Paul Harrison wrote:

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
Here's the code form Apache::DBI Line 211 causing the warning: --> if ($ENV{MOD_PERL_API_VERSION} == 2) { sub connect_on_init { # provide a handler which creates all connections during server startup if ($ENV{MOD_PERL_API_VERSION} == 2) { if ([EMAIL PROTECTED]) {

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
I'm currently running mp1, so I'm lost here. Cure -Original Message- From: Enno [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 9:51 AM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: Apache-DBI you need Apache::DBI 0.96 or higher for mp2 compatibility. from th

Re: Apache-DBI

2005-11-08 Thread Enno
you need Apache::DBI 0.96 or higher for mp2 compatibility. from the pod: Apache::DBI version 0.96 and should work under mod_perl 2.0 RC5 and later. See the Changes file for more information. Beware that it has only been tested very lightly. Enno On Tue, 8 Nov 2005, Paul Harrison wrote: > p5-DBD

Re: Apache-DBI

2005-11-08 Thread Christopher H. Laco
Paul Harrison wrote: > p5-DBD-mysql50-3.0002 > > p5-DBI-1.48 > > p5-Apache-DBI-0.94_1 > > > > I upgraded the database server from the "4" version to "5", so I updated the > Perl database Drivers -> DBD,DBI, and Apache-DBI. > > > > Once I updated the software, I get the following text in t

Apache-DBI

2005-11-08 Thread Paul Harrison
p5-DBD-mysql50-3.0002 p5-DBI-1.48 p5-Apache-DBI-0.94_1   I upgraded the database server from the "4" version to "5", so I updated the Perl database Drivers -> DBD,DBI, and Apache-DBI.   Once I updated the software, I get the following text in the Apache error log -->   [Tue Nov  8 1

mod_perl and mod_auth conflicts?

2005-11-08 Thread Daniel Carter
I apologize if this is something well known, but I was unable to find anything online to describe what we are seeing. Versions we are running: apache 2.0.52 mod_perl 2.0.2 When we do any sort of AuthBasic with an AuthGroupFile it does not work. When we do it with "require user" it works just f

Help compiling mod_perl on HPUX64

2005-11-08 Thread Markus Trenkle
Hi all, I'm having troubles compiling mod_perl for HPUX 64bit. For some reason, the compiler option +DD64 leaks into the linker options, so I get ld: Unrecognized argument: +DD64 Fatal error. I already had this compiling DBD-Oracle, but there I could edit the Makefile by hand. In case of

Re: [mp2] Directive changes the command nam

2005-11-08 Thread pradeep kumar
I tried to read the whole of  argv and push it in modperl_config_srv_argv_push(). But what I can get only upto "/app/apache/bin/httpd -d /app/apache" and not the whole of "/app/apache/bin/httpd  -d /app/apache -k start". I tried to print argv[3] which just gave me null. How can I get the rest of th