Re: [RELEASE CANDIDATE] libapreq 1.33 (mp1)

2004-12-12 Thread David E . Wheeler
On Dec 12, 2004, at 1:04 PM, Stas Bekman wrote: Please test this package: http://apache.org/~stas/libapreq-1.33.tar.gz (Apache::Request for mod_perl 1.x) and report any problems here. All tests pass for me on Mac OS X, both with my custom install of Apache and with Apple's. Regards, David -- Repo

Re: Persisting data across authenticate <-> authorize ?

2004-12-12 Thread Perrin Harkins
On Mon, 2004-12-13 at 00:38 -0600, David Nicol wrote: > i may be mistaken, but i have been under the impression that berkeley and > others get corrupted if two processes write to the same open db at the > same time. BerkeleyDB can use page-level or database-level locking, coordinated through IPC.

Win32 RC ppm packages

2004-12-12 Thread Randy Kobes
For those interested on Win32 in trying out the mod_perl 2 release candidate, I've made up a ppm package (and will keep it current as changes arise) at http://theoryx5.uwinnipeg.ca/ppms/ The package itself is called "mod_perl-dev"; the "mod_perl" package available in this directory is the last m

Re: Persisting data across authenticate <-> authorize ?

2004-12-12 Thread David Nicol
On Mon, 13 Dec 2004 01:14:57 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2004-12-13 at 00:01 -0600, David Nicol wrote: > > this is essentially exactly the application that DirDB was written for. > > Instead > > of locking and corruption issues with a file based db such as berkeley

Re: if-modified-since

2004-12-12 Thread Perrin Harkins
On Sun, 2004-12-12 at 18:53 -0500, Matthew Berk wrote: > Does anyone have any code snippets demonstrating the generation of an > if-modified-since header from within a mod_perl script? http://perl.apache.org/docs/2.0/api/Apache/Response.html#C_meets_conditions_ ...and also... http://perl.apache

Re: Apache::AuthCookie and HTML::Mason

2004-12-12 Thread Michael J Schout
On Sat, 11 Dec 2004, Steve Smith wrote: So from the preamble to the newbie question! : How do I go about getting more information back to my login form from Apache using mod_perl in my custom AuthCookieHandler as to what the "bad_cookie" message actually means without trying to decipher much of th

Re: Persisting data across authenticate <-> authorize ?

2004-12-12 Thread Perrin Harkins
On Fri, 2004-12-10 at 15:43 -0700, Tim Pushor wrote: > >Put it in $r->pnotes() and it will be available in later phases. > > > > > > > Could I not just set a global variable in my authentication handler that > the authorization handler can then access? Yes, but it will persist between requests.

Re: Tar process not dying after user hits "stop"

2004-12-12 Thread David Nicol
> P.S. I included the content-length part just in case anyone knew of a > better way to calculate the size a tarball is going to be before it is > actually generated... if you have enough disk space, you could actually create the tarball into a directory that apache is serving as static, then when

Re: Tar process not dying after user hits "stop"

2004-12-12 Thread Steven Lembark
-- David Nicol <[EMAIL PROTECTED]> P.S. I included the content-length part just in case anyone knew of a better way to calculate the size a tarball is going to be before it is actually generated... if you have enough disk space, you could actually create the tarball into a directory that apache is

Apache::Resource needs to be released seperately to the CPAN

2004-12-12 Thread Randal L. Schwartz
Whomever is maintaining Apache::Resource needs to release a version to the CPAN greater than 1.72 that is *not* inside the mod_perl2 distro, because it's apparently also bundled inside the mod_perl2 distro, and this is a pain for those of us who do not wish to upgrade to mod_perl2 just yet. This

[ANNOUNCE] mod_perl 1.99_18 (2.0.0-RC1)

2004-12-12 Thread Philippe M. Chiasson
mod_perl 1.99_18 (2.0.0-RC1) is out: http://perl.apache.org/dist/mod_perl-2.0.0-RC1.tar.gz http://perl.apache.org/dist/mod_perl-2.0.0-RC1.tar.gz.asc (gpg sig) CPAN: file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.0-RC1.tar.gz size: 1401333 bytes md5: 6b3453396263cf0cdd3ae433eeadbedf Changes since

Re: How does Apache::RAW_ARGS work?

2004-12-12 Thread Philippe M. Chiasson
Torsten Foertsch wrote: Hi, I am trying to get a container directive working. The code looks this my @directives=( ... { name => ' __PACKAGE__ . '::ClickPathUAExceptions', req_override => Apache::RSRC_CONF, args_how => Apache::RAW_ARGS, errmsg => ' name1: rege

if-modified-since

2004-12-12 Thread Matthew Berk
Does anyone have any code snippets demonstrating the generation of an if-modified-since header from within a mod_perl script? Using apache2/mod_perl on redhat. We process templates using text::template, and generate our own content-type header, but from what I can tell, apache doesn't prepend t

Re: I've tested RC1 against some platforms.... :)

2004-12-12 Thread Stas Bekman
Stas Bekman wrote: sdfgsd sergserg wrote: Hi :) I've just downloaded MP2 RC1 and I decided to make some tests. Wow, that's great. I'd be really great if you could resubmit each platform report in a separate email (so we can address each one in its own thread) and for each please include the requ

Re: I've tested RC1 against some platforms.... :)

2004-12-12 Thread Stas Bekman
sdfgsd sergserg wrote: Hi :) I've just downloaded MP2 RC1 and I decided to make some tests. Wow, that's great. I'd be really great if you could resubmit each platform report in a separate email (so we can address each one in its own thread) and for each please include the requested here informati

Re: Tar process not dying after user hits "stop"

2004-12-12 Thread Stas Bekman
Mike Cardwell wrote: Hi people, I'm using: Apache/1.3.33 mod_perl/1.29 On a Debian Sarge system. The code I'm having problems with is quite long, so I've written a cut down version. In my virtual host block I have something along the lines of: SetHandler perl-script PerlHandler My::H

I've tested RC1 against some platforms.... :)

2004-12-12 Thread sdfgsd sergserg
Hi :) I've just downloaded MP2 RC1 and I decided to make some tests. First, I tested it against my win32 (win 2000 advanced server), apache 2.0.52 and ActivePerl 5.8.4 some were skipped due to missing modules (module deflate and module proxy) When hookrun.t is reached at 1/10 a window opens with

Tar process not dying after user hits "stop"

2004-12-12 Thread Mike Cardwell
Hi people, I'm using: Apache/1.3.33 mod_perl/1.29 On a Debian Sarge system. The code I'm having problems with is quite long, so I've written a cut down version. In my virtual host block I have something along the lines of: SetHandler perl-script PerlHandler My::Handler Basically, y

How does Apache::RAW_ARGS work?

2004-12-12 Thread Torsten Foertsch
Hi, I am trying to get a container directive working. The code looks this my @directives=( ... { name => ' __PACKAGE__ . '::ClickPathUAExceptions', req_override => Apache::RSRC_CONF, args_how => Apache::RAW_ARGS, errmsg => ' name1: regexp1 name2: regexp2 ...

[RELEASE CANDIDATE] libapreq 1.33 (mp1)

2004-12-12 Thread Stas Bekman
Please test this package: http://apache.org/~stas/libapreq-1.33.tar.gz (Apache::Request for mod_perl 1.x) and report any problems here. Changes since 1.3: MacOSX docs tweaks [David Wheeler ] fix Makefile.PL to properly skip the test suite if A-T requirements weren't satisfied [Stas] require Apache:

Re: PerlLoadModule vs. Apache::Test

2004-12-12 Thread Torsten Foertsch
On Sunday 12 December 2004 19:32, Geoffrey Young wrote: > > What can I do to change that order? Is there a reason for that particular > > order? > > use extra.last.conf.in instead. Thanks, that helped. And yes, I have found that: Files whose name matches the following pattern: /\.last\.(conf|p

Re: PerlLoadModule vs. Apache::Test

2004-12-12 Thread Geoffrey Young
Torsten Foertsch wrote: > Hi, > > Apache::Test generates the following httpd.conf: > > ... > Include "/home/r2/work/Apache-ClickPath/t/conf/my.conf" > > ... > > > PerlSwitches -Mlib=/home/r2/work/Apache-ClickPath/t > > ... > > If my.conf.in or extra.conf.in contain a PerlLoadModule dir

PerlLoadModule vs. Apache::Test

2004-12-12 Thread Torsten Foertsch
Hi, Apache::Test generates the following httpd.conf: ... Include "/home/r2/work/Apache-ClickPath/t/conf/my.conf" ... PerlSwitches -Mlib=/home/r2/work/Apache-ClickPath/t ... If my.conf.in or extra.conf.in contain a PerlLoadModule directive I get "mod_perl is already running, too late for

Re: [RELEASE CANDIDATE] mod_perl-2.0.0 RC1

2004-12-12 Thread Torsten Foertsch
On Saturday 11 December 2004 21:29, Philippe M. Chiasson wrote: > a long awaited release candidate for mod_perl 2.0.0 is now available for > testing. > > please grab the candidate from: > > http://www.apache.org/~gozer/mp2/mod_perl-2.0.0/mod_perl-2.0.0-RC1.tar.gz > > ÂMD5: Âd069e5d442ae7d75cd4a366f

mod_perl = Holiday Cheer

2004-12-12 Thread Larry Leszczynski
A web site called "The Inquirer" reports a mod_perl success story: 17,000 Christmas lights controlled by Perl routine http://www.theinquirer.net/?article=20168 The article mentions: "... Using a custom mod_perl module, all the modules to display the page get loaded at once, and Alek