[Patch] Apache::DBI - correctly clean up handles and reset attributes

2003-07-22 Thread Patrick Mulvany
Hi, Over the past few months I have posted a couple of fixes in relation to how Apache::DBI handles are cleaned up. This however is the most complete fix in that it covers the following issues :- TimeOut = 0 : Should always ping even when multiple requests are made in

Re: what is $r->clear_rgy_endav?

2003-07-22 Thread Stas Bekman
wrote: Hi! What function $r->clear_rgy_endav($script_name) do in Apache::Registry before and $r->stash_rgy_endav($script_name) after eval-ing cgi script? resets the list of END blocks that possible have been inserted from the registry script.

Re: Apache 1.3.27 configure error with mod_perl 1.28, perl 5.8.0, gcc 3.3 on Solaris 2.8

2003-07-22 Thread Bill Weinman
At 04:45 PM 7/22/2003, Chris Fabri wrote: I'm not even getting as far as the make when I get the error.If I build mod_perl separately, and remove all references to these flags from the makefiles, and the run apache's config, I still get this error during configuration. Where do you find thos

Re: Apache 1.3.27 configure error with mod_perl 1.28, perl 5.8.0, gcc 3.3 on Solaris 2.8

2003-07-22 Thread Chris Fabri
At 04:35 PM 7/22/2003 -0500, Bill Weinman wrote: At 03:50 PM 7/22/2003, Chris Fabri wrote: helpers/dummy.c -lsocket -lnsl -lpthread -W1,-E -L/usr/local/lib/gcc-lib/sparc- ..^^^ I think your problem is with the stray comma in the command line there ...

Re: Apache 1.3.27 configure error with mod_perl 1.28, perl 5.8.0, gcc 3.3 on Solaris 2.8

2003-07-22 Thread Bill Weinman
At 03:50 PM 7/22/2003, Chris Fabri wrote: helpers/dummy.c -lsocket -lnsl -lpthread -W1,-E -L/usr/local/lib/gcc-lib/sparc- ..^^^ I think your problem is with the stray comma in the command line there ... I think if you check all your configurations an

Re: Apache::DBI and temporary tables

2003-07-22 Thread Frank Wiles
On Tue, 22 Jul 2003 14:15:41 -0700 Michael A Nachbaur <[EMAIL PROTECTED]> wrote: > Hello all, > > I know from a DBI perspective, when using PostgreSQL, if I create a > temporary database table it will automatically go *poof* and be > deleted when the database connection is closed (or when the > t

Re: Apache::DBI and temporary tables

2003-07-22 Thread Perrin Harkins
On Tue, 2003-07-22 at 17:15, Michael A Nachbaur wrote: > If I do a $dbh->disconnect, I know it will be ignored by Apache::DBI, but is > it smart enough to pass something back to the database server telling it that > it can purge temporary data? No. If you come up with a way to do that, you can

Apache::DBI and temporary tables

2003-07-22 Thread Michael A Nachbaur
Hello all, I know from a DBI perspective, when using PostgreSQL, if I create a temporary database table it will automatically go *poof* and be deleted when the database connection is closed (or when the transaction is finished...I can't remember which). Anyway, what will happen if code that ta

Re: Apache 1.3.27 configure error with mod_perl 1.28, perl 5.8.0, gcc 3.3 on Solaris 2.8

2003-07-22 Thread Chris Fabri
At 03:50 PM 7/22/2003 -0500, Chris Fabri wrote: I'm unable to get Apache sucessfully configured with these releases.I get the following error: Error Output for sanity check cd ..; gcc -DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI -B/usr/ccs/bin -D_LARGEFILE_SOURCE -D_FILE_OFFSE

Apache 1.3.27 configure error with mod_perl 1.28, perl 5.8.0, gcc 3.3 on Solaris 2.8

2003-07-22 Thread Chris Fabri
I'm unable to get Apache sucessfully configured with these releases.I get the following error: Error Output for sanity check cd ..; gcc -DSOLARIS2=280 -DMOD_PERL -DUSE_PERL_SSI -B/usr/ccs/bin -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_DL_NEEDED -B/usr/ccs/bin -D_LARG

Re: AuthenNTLM - Help

2003-07-22 Thread Shannon Eric Peevey
Francisco de Assis Tristão wrote: Shannon, i got it configured with apache-1.3.27/mod_ssl/2.8.12 OpenSSL/0.9.6g mod_perl/1.25", all by hand, but it only works fine when i use just http - when i access the pages with https, apache doesn't ask for the user... Have you any idea about what is wrong?

[mp2] beta of Apache-AuthenNTLM uploaded

2003-07-22 Thread Shannon Eric Peevey
The uploaded file Apache-AuthenNTLM-2.01.tar.gz has entered CPAN as file: $CPAN/authors/id/S/SP/SPEEVES/Apache-AuthenNTLM-2.01.tar.gz size: 50644 bytes md5: f175a98ea668e81df9cc8d6db629facf The purpose of this module is to perform a user authentication via Mircosoft's NTLM protocol. (Thi

Re: Which way is right for precompiling code in Apache perlhandler:

2003-07-22 Thread Perrin Harkins
They are equivalent. You can use either one. - Perrin

Re: [Fwd: Call for Participation for ApacheCon US 2003]

2003-07-22 Thread Issac Goldstand
Actually, it is. I found it by going to the ApacheCon 2003 page, click the CFP link and then logging in. The page Stas sent doens't appear to work directly... Issac - Original Message - From: "Bill Weinman" <[EMAIL PROTECTED]> To: "mod_perl Mailing List" <[EMAIL PROTECTED]> Sent: Tue

Which way is right for precompiling code in Apache perl handler:

2003-07-22 Thread ???? ????????
1: doing like in Registry: my $eval = join( '', 'package ', $package, ';use Apache qw(exit);', 'sub handler {', $sub, "\n}", # last line comment without newline? ); compile($eval); sub compile { my $eval = shift; Apache->untaint($eval);

Re: modperl2 Apache::HTTP_FORBIDDEN... [long post]

2003-07-22 Thread Shannon Eric Peevey
Stas Bekman wrote: Shannon Eric Peevey wrote: use constant MP2 => ($mod_perl::VERSION >= 1.99); # test for the version of mod_perl, and use the appropriate libraries BEGIN { if (MP2) { require Apache::Const; require Apache::Access; require Ap

Re: mod_perl/freebsd

2003-07-22 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE- ~ On 22-Jul-2003, Andrew Hurst wrote message "Re: mod_perl/freebsd" ~ > Its a regular perl script, just open it up in your favorite text edito

Re: modperl2 Apache::HTTP_FORBIDDEN and Apache::HTTP_INTERNAL_SERVER_ERRORimplemented?

2003-07-22 Thread Shannon Eric Peevey
Though I seem to be chasing it down to a possible problem with the method handler: sub handler ($$) But even with a change to: sub handler : method This is an interesting one. How to make the two coexist in the same code base. Ideally you want to do this: sub handler1 ($$) {} sub handler2

Re: [Fwd: Call for Participation for ApacheCon US 2003]

2003-07-22 Thread Bill Weinman
At 04:14 AM 7/22/2003, Stas Bekman wrote: If you would like to be a speaker at the ApacheCon US 2003 event, please go to the ApacheCon Web site, log in, and choose the 'Submit a CFP' option from the list there: I went through the process of creating an account only to find that the "Submit a CFP"

what is $r->clear_rgy_endav?

2003-07-22 Thread ???? ????????
Hi! What function $r->clear_rgy_endav($script_name) do in Apache::Registry before and $r->stash_rgy_endav($script_name) after eval-ing cgi script? -vlad

Re: mod_perl/freebsd

2003-07-22 Thread Andrew Hurst
At 12:17 PM 7/22/2003 -0400, Andy Harrison wrote: -BEGIN PGP SIGNED MESSAGE- ~ On 22-Jul-2003, Andrew Hurst wrote message "Re: mod_perl/freebsd" ~ > Usage: >/usr/loca

Re: caching questions

2003-07-22 Thread Perrin Harkins
On Tue, 2003-07-22 at 02:13, Tom Schindl wrote: > Sorry to step in here, but could I use any of the caching modules you > mentionned in mod_perl2? I can't vouch for the thread safety of these modules, but all of them should work in prefork mode. - Perrin

Re: mod_perl/freebsd

2003-07-22 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE- ~ On 22-Jul-2003, Andrew Hurst wrote message "Re: mod_perl/freebsd" ~ > Usage: >/usr/local/bin/use.perl port -> /usr/bin/perl is the

RE: mod_perl installation problem... (A little more info)

2003-07-22 Thread Jim Morrison [Mailing-Lists]
Further to the below.. Just found my error_log which might be of some use.. The bit that glares at me is: [Tue Jul 22 16:38:47 2003] [error] Can't locate object method "new" via package "Apache::Request" at /usr/src/mod_perl-1.28/t/net/perl/api.pl line 11, line 1. Which is annoying because I ca

Re: mod_perl installation problem...

2003-07-22 Thread Randy Kobes
On Tue, 22 Jul 2003, Jim Morrison [Mailing-Lists] wrote: > Hello, > > I've just come a cropper trying to reinstall mod_perl, and I'm a little > desparate! Any help would be greatly appreciated. > > (I've 'a' mod_perl/apache running fine, but I can't get Apache::Cookie > running along with) > > I'm

mod_perl installation problem...

2003-07-22 Thread Jim Morrison [Mailing-Lists]
Hello, I've just come a cropper trying to reinstall mod_perl, and I'm a little desparate! Any help would be greatly appreciated. (I've 'a' mod_perl/apache running fine, but I can't get Apache::Cookie running along with) I'm trying to install: apache_1.3.28 + mod_perl-1.28 My config

Re: Apache::UploadMeter

2003-07-22 Thread Sven
Thanks - I´ll try it and send response. I´ve read all readme-files and the build-in manual but I did´nt find something about that I have to use instance()... - Original Message - From: "Issac Goldstand" <[EMAIL PROTECTED]> To: "Sven" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesda

Re: mod_perl/freebsd

2003-07-22 Thread Andrew Hurst
At 10:09 AM 7/22/2003 -0400, Andy Harrison wrote: -BEGIN PGP SIGNED MESSAGE- I'd like to install mod_perl from ports on freebsd, but it complains: Error: you don't have the right version of perl in /usr/bin. This is correct, I want to install it against the version of perl in /usr/local/

mod_perl/freebsd

2003-07-22 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE- I'd like to install mod_perl from ports on freebsd, but it complains: Error: you don't have the right version of perl in /usr/bin. This is correct, I want to install it against the version of perl in /usr/local/bin *not* against the version in /usr/bin. Anyone

Re: templating system opinions

2003-07-22 Thread John Saylor
hi ( 03.07.21 17:04 -0500 ) Nigel Hamilton: > At Turbo10 we went for a strict 'no functional elements' in the > template approach. this seems like you're placing a technical limit on your solution. why wouldn't you use the technologies that will solve your problem the best instead of constraining

Re: Apache::UploadMeter

2003-07-22 Thread Issac Goldstand
Sven wrote... [snip] - use Apache (); use Apache::Request (); $apr = Apache::Request->new($r); foreach $parm($apr->param){ print "->".$parm." : ".$apr->param($parm)."\n"; } print "-\n"; - First of all

Re: MP2 Redirection

2003-07-22 Thread Stas Bekman
Jamie Krasnoo wrote: [...] $r->headers_out(Location => '/some/place.html'); return Apache::DECLINED; why DECLINED? just return Apache::OK. My mistake, its been a while and I'm just getting back into it. So its like I'm learning everything all over again. You can use OK? The example in the Eagle boo

RE: templating system opinions (axkit?)

2003-07-22 Thread csebe
Hi Jesse, > -Original Message- > From: Jesse Erlbaum [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 8:50 PM > To: 'Patrick Galbraith' > Cc: [EMAIL PROTECTED] > Subject: RE: templating system opinions (axkit?) > > > Hi Patrick -- > > > I like the idea of XSLT/XML, though I find mys

Apache::UploadMeter

2003-07-22 Thread Sven
Hi there,   I want to use the Apache-UploadMeter. I set my configuration to:   -use Apache::UploadMeter;$Apache::UploadMeter::UploadForm='/formtag.htm';$Apache::UploadMeter::UploadScript='/perl/upload.pl';$Apache::UploadMeter::UploadMeter='/meter';$

Re: MP2 Redirection

2003-07-22 Thread Jamie Krasnoo
On Tue, 2003-07-22 at 03:10, Jamie Krasnoo wrote: > On Tue, 2003-07-22 at 02:50, Stas Bekman wrote: > > Jamie Krasnoo wrote: > > > What would be the best way to redirect in MP2? How would I set the > > > Location in the header? > > > > not any different from mp1 (assuming that you have been workin

Re: Content compression FAQ

2003-07-22 Thread Igor Sysoev
On Mon, 21 Jul 2003, Slava Bizyayev wrote: > I will patch FAQ with this shortly. Well but what does HTTP/1.1 support mean ? As far as I know the compressing has not any HTTP/1.1 specific features. > > mod_deflate compresses content using 8K buffer. When the buffer > > is filled mod_deflate pas

Re: MP2 Redirection

2003-07-22 Thread Jamie Krasnoo
On Tue, 2003-07-22 at 02:50, Stas Bekman wrote: > Jamie Krasnoo wrote: > > What would be the best way to redirect in MP2? How would I set the > > Location in the header? > > not any different from mp1 (assuming that you have been working with mp1 > before, but the mp1 documentation and literature

Re: caching questions

2003-07-22 Thread Stas Bekman
Peter Haworth wrote: On 22 Jul 2003 08:13:43 +0200, Tom Schindl wrote: Am Mon, 2003-07-21 um 21.45 schrieb Perrin Harkins: On Sun, 2003-07-20 at 15:47, Patrick Galbraith wrote: I know there's IPC, and also memcached. I've used IPC::Shareable before, but don't know if that's the route I'd wanna g

Re: small doc typo...

2003-07-22 Thread Stas Bekman
Shannon Eric Peevey wrote: Hi! Just perusing: http://perl.apache.org/docs/2.0/devel/core/apache_integration.html#The_Link_Between_mod_perl_and_httpd and found a small typo. "STANDARD20_MODULE_STUFF is a standard macro defined in httpd-2.0/include/http_config.h. Currently its main use *if* for

Re: MP2 Redirection

2003-07-22 Thread Stas Bekman
Jamie Krasnoo wrote: What would be the best way to redirect in MP2? How would I set the Location in the header? not any different from mp1 (assuming that you have been working with mp1 before, but the mp1 documentation and literature can be used as a reference for most mp2 things). something lik

RE: Need help, Global Hash corruption under mod_perl in perl5.8.0!?!

2003-07-22 Thread ???? ????????
> I think you should consider using a system that is actually > supported. > Embperl, Apache::ASP, Text::Template, and Mason all have > similar syntax > to ePerl. There are lots of other things on CPAN that might be even > closer in syntax, but are not as widely used and well supported. > > >

Re: caching questions

2003-07-22 Thread Peter Haworth
On 22 Jul 2003 08:13:43 +0200, Tom Schindl wrote: > Am Mon, 2003-07-21 um 21.45 schrieb Perrin Harkins: > > On Sun, 2003-07-20 at 15:47, Patrick Galbraith wrote: > > > I know there's IPC, and also memcached. I've used IPC::Shareable > > > before, but don't know if that's the route I'd wanna go. > >

[Fwd: Call for Participation for ApacheCon US 2003]

2003-07-22 Thread Stas Bekman
FYI: -BEGIN PGP SIGNED MESSAGE- Call for Participation: ApacheCon US 2003 = November 16-19, 2002, Las Vegas, Nevada, US [Please feel free to forward this notice far and wide!] SUBMISSION DEADLINE: Monday, 25 August May 2003, 23:59 EDT Come share y