Temporary Handler?

2006-09-06 Thread David Wheeler
Hi All, Is it possible to install a request phase handler (via push_handler() or some other method) during a request that will only execute in that request, and be removed as a handler after the request completes? Many TIA, David

Re: Releasing an independent Apache::SizeLimit to CPAN?

2006-06-20 Thread David Wheeler
On Jun 20, 2006, at 09:06, Geoffrey Young wrote: o whether Apache::SizeLimit should support both mp1 and mp2 Yes. o whether future releases of mp1 and mp2 will include Apache::SizeLimit Don't care. o whether the mod_perl project should continue to have oversight via svn (for examp

SDBM Conflict with mod_ssl

2006-06-07 Thread David Wheeler
Hi All, I'm running into a conflict between Perl's SDBM_File and mod_ssl's use of sdbm as I try to build Apache + mod_perl + mod_ssl on Red Hat Enterprise Linux ES release 4 (Nahant Update 3) on a 64-bit box: gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP - DMOD_SSL=208127 -DMOD_P

Re: Migrating from MySQL to PostGres -- Any mod_perl specific things I should be wary of?

2006-03-10 Thread David Wheeler
On Mar 10, 2006, at 12:26, Jonathan Vanasco wrote: I'm not referring to SQL traits or DBI differences, but any little tricks or odd things that might happen when using the pg dbi under apache The only one I can think of (and my information might be severely out- of-date) is that you can o

Re: OT? ModPerl , OSX, XML::Parser

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 12:06, Jonathan Vanasco wrote: I'm trying to get XML::Parser installed on my osx dev box. First of all, do you have XCode installed? You won't be able to install any XS modules unless you have a compiler, and gcc comes with XCode. Next, do you have libexpat installed?

Re: Where is Your Apache2 Installed?

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 10:43 , Geoffrey Young wrote: that is part of the interactive config foo that I don't really understand, particular like, or use. I don't blame you, since it's clearly broken. :-) I guess what I had in mind was the custom which() subroutine and some stuff that looks for

Re: Where is Your Apache2 Installed?

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 10:14 , David Wheeler wrote: Apache-Test contains some code for digging out httpd when it's not in your path - see TestConfig.pm for some stuff you might be able to steal. Thanks Geoff, I'll do that. Taking a quick look, I see this: my

Re: Where is Your Apache2 Installed?

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 09:08 , Tom Schindl wrote: and is it working and how? The first line reads in my case reads like this: -8<- package ModPerl::Config; use strict; use Apache2::Build (); [...] -8<- But that's not Apache2::Bui

Re: Where is Your Apache2 Installed?

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 09:03 , Geoffrey Young wrote: Apache-Test contains some code for digging out httpd when it's not in your path - see TestConfig.pm for some stuff you might be able to steal. Thanks Geoff, I'll do that. Best, David

Re: Where is Your Apache2 Installed?

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 08:38 , Tom Schindl wrote: Your line works like a charme ;-) -8<- [EMAIL PROTECTED] ~]$ /opt/myperl/bin/perl -MApache2::BuildConfig -le 'print Apache2::BuildConfig->new->MP_APXS, $/' /opt/myapache/bin/apxs [EMAIL PROTECTED] ~]$ ---

Re: Where is Your Apache2 Installed?

2006-02-07 Thread David Wheeler
On Feb 7, 2006, at 3:13 AM, Tom Schindl wrote: I always thought that could be retrieved from "Apache2::BuildConfig" e.g. to get where you apx is located you could use: print Apache2::BuildConfig->new()->MP_APXS . "\n"; Doesn't seem to work for me: geertz% perl -MApache2::BuildConfig -le 'pri

Re: Ocassionally POST data is missing

2006-02-06 Thread David Wheeler
On Feb 6, 2006, at 4:06 PM, Peter Klump wrote: I'm having a problem with my perl scripts after I ported them into a new server environment. My server environment: Apache2 2.0.55 Perl 5.8.3 CGI 3.15 mod_perl 2.0.2 What is happening is that _occasionaly_ (maybe 1 out of 20 times) the POST da

Where is Your Apache2 Installed?

2006-02-03 Thread David Wheeler
Hi All, I want to create App::Info::HTTPD::Apache2 to complement App::Info::HTTPD::Apache. http://search.cpan.org/dist/App-Info/ The way it works is that it looks for an httpd executable. But I need to know where Apache2 is typically installed. So, please reply to me off list, if you h

ANN: Bricolage 1.10

2006-01-23 Thread David Wheeler
It is with great pleasure that the Bricolage development team announces the release of Bricolage 1.10. The culmination of over 19 months of development, version 1.10 represents a significant advance for the celebrated open-source content management and publishing system. Here

Re: Found it !!! Why is my apache parent process growing...

2006-01-03 Thread David Wheeler
On Jan 3, 2006, at 10:29 AM, Philip M. Gollucci wrote: -Dusemymalloc=y is the default for lang/perl5.8 Also, the previous example had this same setting. I'll try a manual compile with it off at some point. FWIW, I found that turning off Perl's malloc() prevented segfaults in mod_perl 1 on S

Re: Adding customs httpd.conf data in mod_perl 2.0

2005-12-30 Thread David Wheeler
Hi all, However, what I need to be able to do is let someone have a running mod_perl 2 setup and dynamically "pull in" the above information from an external file or add that information via Perl (in other words, I don't want to touch the default httpd.conf file). How the heck do I do that? Sin

ANN: Bricolage 1.8.5 Released

2005-03-18 Thread David Wheeler
The Bricolage development team is pleased to announce the release of Bricolage 1.8.5. This maintenance release addresses a number of issues in Bricolage 1.8.3 and adds a number of improvements (there was no announcement for the short-lived 1.8.4 release). The SOAP server in par

Re: ModPerl::MM

2004-12-29 Thread David Wheeler
On Dec 28, 2004, at 2:36 PM, Stas Bekman wrote: Probably vice versa. It looks that Apache::TestMM does more than it should be doing. It should be handling only test/clean parts. Ah, and I just copied what was there to create Apache::TestMB. so you will be asking, right? Oh, okay, but not today. To

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 2:17 PM, Stas Bekman wrote: David Wheeler wrote: why Apache::TestMB? It should be ModPerl::MB when it'll appear, right? Up to you. I used it as an example because I don't really understand how Apache::TestMM and ModPerl::MM interact. Apache::TestMM is only needed o

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 1:53 PM, Stas Bekman wrote: 'perl' => 6.006, perl 6? :) Oops. :-) why Apache::TestMB? It should be ModPerl::MB when it'll appear, right? Up to you. I used it as an example because I don't really understand how Apache::TestMM and ModPerl::MM interact. why the fall

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 1:26 PM, Stas Bekman wrote: it can't be any simpler: That wasn't the whole script, but I found it on search.cpan.org. Here's how to get it working with Module::Build right now: use strict; use warnings FATAL => 'all'; use Apache2; use Apache::TestMB; # prerequisites my %requir

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 12:58 PM, Stas Bekman wrote: And if we do it the other way around, so you could take Apache-Filter-HTTPHeadersFixup (the latest is on cpan) add a plain Build.PL (as if there was no mp2) and then we can add the needed strings and design ModPerl::MB on the way? Yes, that should

Re: ModPerl::MM (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 8:17 AM, Stas Bekman wrote: Why not? I'm not familiar with Module::Build, but doesn't it make possible to subclass itself? Of course ModPerl::MB is only needed if there are 3rd party mp2 modules that use M::B. Are there any? May be David could write a skeleton for a dummy mod

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-28 Thread David Wheeler
On Dec 27, 2004, at 9:58 PM, Stas Bekman wrote: I think all you need to do is to write an equivalent of WriteMakefile (and some other bits). The rest of the stuff in it, is a painful exercise of overriding ExtUtils::MakeMaker MY:: methods. You make it sound so appealing. I can't wait! But serious

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread David Wheeler
On Dec 27, 2004, at 9:09 PM, Stas Bekman wrote: You mean Apache::TestMB. Yeah, that ole thing. :-) I know someone who's name is David who can easily write a patch for this. David, it should really be: ModPerl::MB and Apache::TestMB should use it. Of course ModPerl::MB doesn't exist yet. That b

Re: Slashdot | Help Test mod_perl 2 Release Candidates

2004-12-27 Thread David Wheeler
On Dec 27, 2004, at 7:36 AM, Geoffrey Young wrote: the only kink here would be third-party CPAN modules for only mp2 - those are _required_ to use ModPerl::MM::WriteMakefile (which knows to install into Apache2/ if that's where mp2 was installed) instead of ExtUtils::MakeMaker::WriteMakefile. wh

ANNOUNCE: Bricolage 1.8.3

2004-11-09 Thread David Wheeler
The Bricolage development team is pleased to announce the release of Bricolage 1.8.3. This maintenance release addresses quite a large number of issues in Bricolage 1.8.2. The most important changes were to enhance Unicode support in Bricolage. Bricolage now internally handles

ANNOUNCE: Bricolage 1.8.2 Released

2004-09-13 Thread David Wheeler
The Bricolage development team is pleased to announce the release of Bricolage 1.8.2. This maintenance release addresses quite a large number of issues in Bricolage 1.8.1. The most important changes were to enhance Unicode support in Bricolage. Bricolage now internally handles

Re: [RELEASE CANDIDATE] Apache-Test 1.13

2004-08-19 Thread David Wheeler
On Aug 19, 2004, at 12:17 PM, Stas Bekman wrote: You can download the release candidate from here: http://www.apache.org/~stas/Apache-Test-1.13-dev.tar.gz All tests pass for me, and it appears to work nicely with my module that uses Apache::TestMB. Regards, David smime.p7s Description: S/MIME c

eWeek Reviews Bricolage

2004-08-10 Thread David Wheeler
eWeek has reviewed Bricolage, the mod_perl-powered, PostgreSQL-backed open-source content management system. The article was published last week. An excerpt: Bricolage is quite possibly the most capable enterprise-class open-source application available. The Web content management application

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 2:23 PM, Stas Bekman wrote: I don't know how M::B does the version checking, but EU::MM does file parsing, searching for the $VERSION line, so the version number must be hardcoded there, unless you do something like: $VERSION = do { require Apache2; require mod_perl.pm; $mod_

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 2:03 PM, Randy Kobes wrote: But won't the CPAN indices (which are used by both CPAN.pm and CPANPLUS.pm) still just recognize one version of mod_perl.pm? Either the current one associated with mp1, or, when mp2 is out of development, that associated with mp2 (assuming mod_perl.pm

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 1:45 PM, David Wheeler wrote: use 5.00503; use Apache::TestMB; Apache::TestMB->new( module_name=> 'Apache::Test::Skeleton', license=> 'perl', requires => { 'mod_perl' => ">= 1.0, < 1.99"

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 1:38 PM, Stas Bekman wrote: It won't work since the version number lives in the package mod_perl. and most likely you'd want to require a minimal version at some point. Ah, but this is one of the beauties of Module::Build, my friends. Behold! use 5.00503; use Apache::TestMB; A

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 1:09 PM, Stas Bekman wrote: There is no Apache.pm in mp2. You probably wanted to say: > requires => { 'mod_perl' => 0, Right. In fact, it should probably be requires => { 'mod_perl' => '1.0', in the MP1 example, and requires => { 'mod_perl' =>

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 11:41 AM, Stas Bekman wrote: Isn't that Apache::TestMB? D'oh! Yes! Sorry! use 5.00503; use Apache::TestMB; Apache::TestMB->new( module_name => 'Apache::Test::Skeleton', )->create_build_script; And in fact, to make it more generally useful, I think I'd actually make it: use

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 7, 2004, at 7:01 AM, Geoffrey Young wrote: the bug reporting skeleton has become so useful for me (and others) that I have created two new skeletons: I would add a Build.PL with these contents: use 5.00503; use Apache::Test::MB; Apache::Test::MB->new( module_name => 'Apache::Test::Skele

Re: [RELEASE CANDIDATE] Apache-Test-1.06

2004-05-19 Thread David Wheeler
On May 19, 2004, at 9:02 PM, Geoffrey Young wrote: a release candidate for Apache-Test 1.11 is now available. http://perl.apache.org/~geoff/Apache-Test-1.11-dev.tar.gz please take the time to excercise the candidate through all your existing applications that use Apache-Test and report back succ

ANNOUNCE: Bricolage 1.8.0 Arrives!

2004-05-04 Thread David Wheeler
It is with great pleasure that the Bricolage development team announces the release of Bricolage 1.8.0. The culmination of over 15 months in development, with contributions from over 20 independent developers, and new features sponsored by numerous organizations world-wide, ver

Re: [RELEASE CANDIDATE] Apache-Test-1.10

2004-04-15 Thread David Wheeler
On Apr 15, 2004, at 12:26 PM, Stas Bekman wrote: Unless someone reports problems, I'm going to release a new version of Apache-Test tomorrow. Please test this release candidate: http://perl.apache.org/~stas/Apache-Test-1.10-dev.tar.gz All tests pass for me, and my module that uses it still passe

ANNOUNCE: Bricolage 1.6.8

2003-11-29 Thread David Wheeler
olage has been hailed as "Most Impressive" in 2002 by eWeek. Learn more about Bricolage and download it from the Bricolage home page, http://www.bricolage.cc/. Enjoy! David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED]

ANNOUNCE: Bricolage 1.7.0-Devel

2003-10-22 Thread David Wheeler
a full-fledged templating system with complete HTML::Mason, HTML::Template, and Template Toolkit support for flexibility, and many other features. It operates in an Apache/mod_perl environment and uses the PostgreSQL RDBMS for its repository. A comprehensive, actively-developed open source CMS, Bricolag

ANNOUNCE: Bricolage 1.6.6

2003-10-03 Thread David Wheeler
and download it from the Bricolage home page, http://bricolage.cc/. Enjoy! David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://www.kineticode.com/ Yahoo!: dew7e