Re: Access to Apache 2 POST data?

2011-12-09 Thread Philip M. Gollucci
On 12/09/11 19:45, Jordan Michaels wrote:
 I'm looking for a way to pass HTTP POST data from a POST request to a
 subrequest, however, I can't find any methods in the mod_perl API that
 deal with a HTTP POST request body.
 
 Apche 1 mod_perl had $r-content, but that doesn't appear to be present
 in Apache 2 mod_perl. Can anyone point me to the replacement? I'm sure
 I'm just missing it.
 
 If there's not a $r-content equivalent, maybe there's a bucket brigade
 workaround or something along those lines? I just need to be pointed in
 the right direction.
 
 Thank you in advance for your help!
 
Look at apreq.


-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Re: Compilation error for CentOS 5.5, perl-5.10, mp2-current

2011-02-21 Thread Philip M. Gollucci
On 2/21/2011 12:32 PM, Alexander Goller wrote:

 Apache2: -
 Apache2::Request   : -
 CGI: 3.49
 ExtUtils::MakeMaker: 6.56, 6.56
 LWP: 5.836
 mod_perl   : -
 mod_perl2  : -
Can you pull the specific version from mod_perl2.pm?

Can you try with the recent 2.0.5 and/or svn trunk if thats not what you
have.



-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: ApacheCon

2010-10-20 Thread Philip M. Gollucci
On 10/5/2010 12:56 PM, Fred Moyer wrote:
 Anyone going to Apachecon in Atlanta this year?
 
 http://na.apachecon.com/c/acna2010/
 
Yes, I'll be there Sun-Sun.


-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1

2010-09-15 Thread Philip M. Gollucci
 Philip I think you have 3 official +1s, a green light for release.
Except that you needed to vote on the as yet to be rolled -rc2.

Feel free to pick that up.  I officially do not have time.

-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1

2010-08-06 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/06/10 12:52, Cosimo Streppone wrote:
 On Wed, Aug 4, 2010 at 8:25 AM, Philip M. Gollucci
 pgollu...@p6m7g8.com wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz
 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5
 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256

 http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc
 
 Builds and tests fine both on Debian Lenny w/ Apache 2.2.9
 and perl 5.10 and Ubuntu 10.04.
 
 I seem to understand that our current SizeLimit config (below) will
 be completely bogus with the new version, right?

   # Will prevent murders of immature children that just needs to grow a bit
   $Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS = 30;
 
   $Apache2::SizeLimit::MAX_PROCESS_SIZE = 470_000;
   $Apache2::SizeLimit::MIN_SHARE_SIZE = 50_000;

See the section in Apache2/SizeLimit.pm
=head1 DEPRECATED APIS

quote
Direct use of these globals is deprecated, but will continue to work
for the foreseeable future.
/quote


But it should be trivial to write this instead:
 Apache2::SizeLimit-set_check_interval(30);

 Apache2::SizeLimit-set_max_process_size(470_000);   # Max size in KB
 Apache2::SizeLimit-set_min_shared_size(50_000); # Min share in KB

- -- 
- 
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMXFGJdbiP+9ubjBwRArl2AKCN2QxfXfWOkzf9hEA7L+XjhHr7qwCfcsA2
LA0l9nLBEgJKlJErlJMuaKE=
=4yd2
-END PGP SIGNATURE-


[RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1

2010-08-04 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz
http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5
http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256
http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc


item 0.92-rc1

Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit
from Apache::SizeLimit::Core.
Call _platform_check_size as a class method to prevent error when
USE_SMAPS=0, RT #33303
Reported by: jgoodri...@alum.dartmouth.edu
[Fred Moyer f...@redhotpenguin.com]

  *** HEADS UP - SHARED CODE BASE - HEADS UP  ***
  Apache-SizeLimit has been hybridized.
  It has been split into 3 packages.
1) Apache::SizeLimit  - User API for httpd 1.3.x / mod_perl 1.x
2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x

3) Apache::SizeLimit::Core - Interal Shared Functionality
 _NEVER_ use this module directly.
[Philip M. Gollucci pgollu...@p6m7g8.com]

Skip tests on OS X (darwin) due to broken getrusage(3)
[Fred Moyer f...@redhotpenguin.com,
 Philip M. Gollucci pgollu...@p6m7g8.com]

Added a SUPPORT section to the docs.
[Dave Rolsky auta...@urth.org]



- -- 
- 
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMWYZsdbiP+9ubjBwRAtE4AKCD/ttal+pkK3iI8oh9rC7FvSCnggCcC5qo
WHQKFEoMjwxi96qS1SxXMrA=
=JkqO
-END PGP SIGNATURE-


Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC1

2010-08-04 Thread Philip M. Gollucci

On 8/4/2010 9:19 PM, Adam Prime wrote:

builds and tests fine on linux w/ 5.8.8 mp2, i'll do solaris x86/sparc
at work tomorrow. This is actually a pretty significant change set, so
it would probably be a good idea to get as much feedback as possible.


Yep, I even vaguely remember writing it :)  I rather see run-time tests 
in dev/qa/prod then reports that the tests work.  They aren't very 
extensive.


THX!




Adam

Philip M. Gollucci wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz
http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.md5
http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.sha256

http://people.apache.org/~pgollucci/Apache-SizeLimit-0.92-rc1.tar.gz.asc


item 0.92-rc1

Export USE_SMAPS, VERSION, and REQUEST_COUNT to Apache::SizeLimit
from Apache::SizeLimit::Core.
Call _platform_check_size as a class method to prevent error when
USE_SMAPS=0, RT #33303
Reported by: jgoodri...@alum.dartmouth.edu
[Fred Moyer f...@redhotpenguin.com]

*** HEADS UP - SHARED CODE BASE - HEADS UP ***
Apache-SizeLimit has been hybridized.
It has been split into 3 packages.
1) Apache::SizeLimit - User API for httpd 1.3.x / mod_perl 1.x
2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x

3) Apache::SizeLimit::Core - Interal Shared Functionality
_NEVER_ use this module directly.
[Philip M. Gollucci pgollu...@p6m7g8.com]

Skip tests on OS X (darwin) due to broken getrusage(3)
[Fred Moyer f...@redhotpenguin.com,
Philip M. Gollucci pgollu...@p6m7g8.com]

Added a SUPPORT section to the docs.
[Dave Rolsky auta...@urth.org]



- -- -

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer, FreeBSD Foundation
Consultant, P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMWYZsdbiP+9ubjBwRAtE4AKCD/ttal+pkK3iI8oh9rC7FvSCnggCcC5qo
WHQKFEoMjwxi96qS1SxXMrA=
=JkqO
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org




--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] Apache-Reload 0.11 RC1

2010-08-02 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

+1 FreeBSD (ports) and $work applications.

http://people.freebsd.org/~pgollucci/FreeBSD/diffs/p5-Apache2-Reload-0.11.r1.log

Don't use this diff, I'll make a real update after the release:

http://people.freebsd.org/~pgollucci/FreeBSD/diffs/www_p5-Apache-Reload-0.11.r1.diff



On 08/02/10 18:20, Fred Moyer wrote:
 Please download this release candidate and report back on test results
 for your platform:
 
 http://people.apache.org/~phred/Apache2-Reload-0.11-rc1.tar.gz
 
 
 Summary of changeset for 0.11
 
 Ignore require-hooks which exist in %INC
 [Ryan Gies r...@livesite.net]
 
 Reloads by file, not module name
 [Ryan Gies r...@livesite.net]
 
 Add a no Apache::Reload directive which skips reloading for modules
 that have it included (useful for Moose compatibility).
 [Graham Barr, gb...@pobox.com]
 
 Add Empty NOTICE file
 http://rt.cpan.org/Ticket/Display.html?id=34786
 [Niko Tyni (Debian Perl Group) nt...@debian.org]
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
 For additional commands, e-mail: dev-h...@perl.apache.org


- -- 
- 
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMV2ePdbiP+9ubjBwRAuxYAJ9eLcOIsmGBOwitUDXTPB0ODiKqugCeLSRf
Z3Yiyb7g2pjTxYUx4HLXrdI=
=f3RD
-END PGP SIGNATURE-


Re: Release Distribution

2010-02-05 Thread Philip M. Gollucci
On 1/31/2010 3:47 PM, Gav... wrote:
 Hi Folks,
 
 I notice you have perl.apache.org/dist/ area in your website directories.
 
 The proper location for distribution is apache.org/dist/perl/
 
 That second location is what gets picked up by the mirrors for distribution.
 
 That second location is also out of sync, is older than your own /dist/
 area.
 
 Could you please start using the proper dist location for releases and
 remove
 your own /dist/ area from your website.
 
 Thanks
 
 Gav...
 
I'm not sure what we will do about this.  I recall there being a reason
why this is the case.

-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Sr. System Admin, Ridecharge Inc.
Consultant,   P6M7G8 Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Mod-Perl techincal support - looking for consultant

2009-12-30 Thread Philip M. Gollucci

I apologize if this is not the right forum for this - but we need
to find an hourly consultant with mod_perl and apache expertise,
and hopefully some FreeBSD experience as well.


What exactly are you looking for I should be able to help.

--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] Apache2::Reload missing in FreeBSD ports

2009-09-04 Thread Philip M. Gollucci
Michiel Beijen wrote:
 Foo JH wrote:
 2. I can't install p5-Apache-Reload over ports, as it will complain it
 expects Apache 1.3.
 
 This would be actually more of a FreeBSD Ports related issue.
 
 I guess you should complain at the port maintainer for the dependencies.
 Apache-Reload is a bundle and should work with Apache2 as well as with
 Apache 1.x.
 See [http://www.freshports.org/www/p5-Apache-Reload/] for the port
 maintainer.
 
 You could, of course, just install Apache::Reload via cpan to solve your
 issues, or tell your package manager to ignore dependencies and install
 anyway.
 
 Regards,
 
 Michiel


WITH_MODPERL2=yes is std option used by many ports.

Also, you didn't read the output from www/mod_perl2 that tells you to
install it (www/p5-Apache-Relaod); though it doesn't mention the above var.

WITH_MODPERL2=yes will actually be dying sometime in 2010 and everything
will be derived from the APACHE_PORT /etc/make.conf var which will soon
default to www/apache22 instead of www/apache13.



-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Re: ports/134749: www/mod_perl bus error after 1.31 update]

2009-06-05 Thread Philip M. Gollucci
fixed

hth
---BeginMessage---
The following reply was made to PR ports/134749; it has been noted by GNATS.

From: Philip M. Gollucci pgollu...@p6m7g8.com
To: bug-follo...@freebsd.org, Troy t...@twisted.net, 
 Tim Zingelman zingel...@fnal.gov
Cc:  
Subject: Re: ports/134749: www/mod_perl bus error after 1.31 update
Date: Fri, 5 Jun 2009 01:59:26 -0400

 --080902040507050309010103
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 7bit
 
 I've committed the fix upstream.  FBSD port next.
 
 --080902040507050309010103
 Content-Type: message/rfc822; name=svn commit: r781917 - in
  /perl/modperl/branches/1.x: Changes src/modules/perl/mod_perl.c.eml
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
filename*0=svn commit: r781917 - in /perl/modperl/branches/1.x: 
Changes;
filename*1= src/modules/perl/mod_perl.c.eml
 
 Return-Path: modperl-cvs-return-6354-pgollucci=p6m7g8@perl.apache.org
 Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by piccollo.p6m7g8.net (8.14.3/8.14.3) with SMTP id n555vlEY078897
for pgollu...@p6m7g8.com; Fri, 5 Jun 2009 01:57:48 -0400 (EDT)
(envelope-from 
modperl-cvs-return-6354-pgollucci=p6m7g8@perl.apache.org)
 Received: (qmail 38574 invoked by uid 500); 5 Jun 2009 05:57:42 -
 Mailing-List: contact modperl-cvs-h...@perl.apache.org; run by ezmlm
 Precedence: bulk
 list-help: mailto:modperl-cvs-h...@perl.apache.org
 list-unsubscribe: mailto:modperl-cvs-unsubscr...@perl.apache.org
 List-Post: mailto:modperl-...@perl.apache.org
 Reply-To: d...@perl.apache.org
 List-Id: modperl-cvs.perl.apache.org
 Delivered-To: mailing list modperl-...@perl.apache.org
 Received: (qmail 38565 invoked by uid 99); 5 Jun 2009 05:57:42 -
 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
 by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 05:57:42 +
 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
 X-Spam-Check-By: apache.org
 Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
 by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 05:57:39 +
 Received: by eris.apache.org (Postfix, from userid 65534)
id 2C8A82388849; Fri,  5 Jun 2009 05:57:18 + (UTC)
 Content-Type: text/plain; charset=utf-8
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Subject: svn commit: r781917 - in /perl/modperl/branches/1.x: Changes
  src/modules/perl/mod_perl.c
 Date: Fri, 05 Jun 2009 05:57:18 -
 To: modperl-...@perl.apache.org
 From: pgollu...@apache.org
 X-Mailer: svnmailer-1.0.8
 Message-Id: 20090605055718.2c8a82388...@eris.apache.org
 X-Virus-Checked: Checked by ClamAV on apache.org
 X-Virus-Scanned: ClamAV 0.94.2/9425/Thu Jun  4 23:55:18 2009 on 
piccollo.p6m7g8.net
 X-Virus-Status: Clean
 X-Spam-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00,
RCVD_IN_DNSWL_MED,SPF_PASS autolearn=ham version=3.2.5
 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on piccollo.p6m7g8.net
 
 Author: pgollucci
 Date: Fri Jun  5 05:57:17 2009
 New Revision: 781917
 
 URL: http://svn.apache.org/viewvc?rev=781917view=rev
 Log:
 Address FreeBSD PR: ports/134749
 
 This is actually a bug in gcc 4.2.1?x where
 the array is optimized incorrectly causing
 sefaults during startup.
 
 Apparently the bug does not exist in FreeBSD 8
 but is an issue in 7.x.
 
 Reported by:Troy t...@twisted.net
 Submitted by:   Tim Zingelman zingel...@fnal.gov
 Reviewed by:myself
 
 
 Modified:
 perl/modperl/branches/1.x/Changes
 perl/modperl/branches/1.x/src/modules/perl/mod_perl.c
 
 Modified: perl/modperl/branches/1.x/Changes
 URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Changes?rev=781917r1=781916r2=781917view=diff
 ==
 --- perl/modperl/branches/1.x/Changes (original)
 +++ perl/modperl/branches/1.x/Changes Fri Jun  5 05:57:17 2009
 @@ -10,6 +10,10 @@
  
  =item 1.32-dev
  
 +Work around a gcc optimization specific bug which
 +cuased seg faults on FreeBSD 7.x during mod_perl startup.
 +[Tim Zingelman zingel...@fnal.gov]
 +
  =item 1.31 May 11, 2009
  
  Fix static APACI build on Mac OS X. [Gozer]
 
 Modified: perl/modperl/branches/1.x/src/modules/perl/mod_perl.c
 URL: 
http://svn.apache.org/viewvc/perl/modperl/branches/1.x/src/modules/perl/mod_perl.c?rev=781917r1=781916r2=781917view=diff
 ==
 --- perl/modperl/branches/1.x/src/modules/perl/mod_perl.c (original)
 +++ perl/modperl/branches/1.x/src/modules/perl/mod_perl.c Fri Jun  5 05:57:17 
2009
 @@ -596,6 +596,7 @@
  void perl_startup (server_rec *s, pool *p)
  {
  char *argv[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL };
 +char **temp_argv=argv;
  char **entries, *dstr;
  int status, i, argc=1;
  dPSRV(s);
 @@ -679,7 +680,7 @@
  MP_TRACE_g(fprintf(stderr

Re: [Fwd: Re: ports/134749: www/mod_perl bus error after 1.31 update]

2009-06-05 Thread Philip M. Gollucci

David E. Wheeler wrote:

On Jun 4, 2009, at 11:26 PM, Philip M. Gollucci wrote:


fixed


Hrm. I wonder if it will fix [this 
error](http://www.mail-archive.com/d...@perl.apache.org/msg12057.html) as 
well?




It might, but I don't think its related

I can test it here
Darwin clarus.apache.org. 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc


whenever I get a moment unless you beat me to it, but really I wish 1.3 would 
die.



Best,

David



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [Fwd: Re: ports/134749: www/mod_perl bus error after 1.31 update]

2009-06-05 Thread Philip M. Gollucci

David E. Wheeler wrote:

On Jun 5, 2009, at 11:08 AM, Philip M. Gollucci wrote:


It might, but I don't think its related

I can test it here
Darwin clarus.apache.org. 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 
10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh 
powerpc


whenever I get a moment unless you beat me to it, but really I wish 
1.3 would die.


Oh, the bus error I reported last year was in 2.0.4…


Well I can still try to replicate that on clarus, I didn't have access to that 
before



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: cvs commit: ports/security/vuxml vuln.xml]

2009-05-15 Thread Philip M. Gollucci
- Document the recent XSS CVE
- Update www/mod_perl 1.31
- Pull XSS CVE into www/mod_perl2 until 2.05 is released
- Update www/libapreq2 to 2.12

Have fun all!

-- 

Philip M. Gollucci (phi...@ridecharge.com)
did: 703.579.6947, o: 703.549.2050x206
Senior System Admin - RideCharge Inc.
http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---
pgollucci2009-05-16 01:32:37 UTC

  FreeBSD ports repository

  Modified files:
security/vuxml   vuln.xml 
  Log:
  - Document mod_perl -- cross site scripting in Apache::Status
  
  Revision  ChangesPath
  1.1937+34 -1 ports/security/vuxml/vuln.xml

http://cvsweb.FreeBSD.org/ports/security/vuxml/vuln.xml.diff?r1=1.1936r2=1.1937f=h
| --- ports/security/vuxml/vuln.xml 2009/05/16 00:44:25 1.1936
| +++ ports/security/vuxml/vuln.xml 2009/05/16 01:32:36 1.1937
| @@ -28,12 +28,45 @@ WHETHER IN CONTRACT, STRICT LIABILITY, O
|  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,
|  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|  
| -  $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/security/vuxml/vuln.xml,v 
1.1936 2009/05/16 00:44:25 miwi Exp $
| +  $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/security/vuxml/vuln.xml,v 
1.1937 2009/05/16 01:32:36 pgollucci Exp $
|  
|  Note:  Please add new entries to the beginning of this file.
|  
|  --
|  vuxml xmlns=http://www.vuxml.org/apps/vuxml-1;
| +  vuln vid=4a638895-41b7-11de-b1cc-00219b0fc4d8
| +topicmod_perl -- cross site scripting in Apache::Status/topic
| +affects
| +  package
| + namemod_perl/name
| + rangelt1.31/lt/range
| +  /package
| +  package
| + namemod_perl2/name
| + rangelt2.05/lt/range
| +  /package
| +/affects
| +description
| +  body xmlns=http://www.w3.org/1999/xhtml;
| + pUS Cert reports:/p
| +blockquote
| +  cite=http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0796;
| +   pCross-site scripting (XSS) vulnerability in Status.pm in
| +Apache::Status and Apache2::Status in mod_perl1 and mod_perl2 for
| +the Apache HTTP Server, when /perl-status is accessible, allows
| +remote attackers to inject arbitrary web script or HTML via the 
URI./p
| + /blockquote
| +  /body
| +/description
| +references
| +  urlhttp://secunia.com/advisories/34597/url
| +/references
| +dates
| +  discovery2009-02-28/discovery
| +  entry2009-05-16/entry
| +/dates
| +  /vuln
| +
|vuln vid=a6605f4b-4067-11de-b444-001372fd0af2
|  topicdrupal -- cross-site scripting/topic
|  affects
---End Message---
---BeginMessage---
pgollucci2009-05-16 01:33:52 UTC

  FreeBSD ports repository

  Modified files:
www/mod_perl Makefile distinfo 
  Log:
  - Update to 1.31
  
  Security:
http://www.vuxml.org/freebsd/4a638895-41b7-11de-b1cc-00219b0fc4d8
  
  Revision  ChangesPath
  1.41  +7 -9  ports/www/mod_perl/Makefile
  1.13  +3 -3  ports/www/mod_perl/distinfo

http://cvsweb.FreeBSD.org/ports/www/mod_perl/Makefile.diff?r1=1.40r2=1.41f=h
| --- ports/www/mod_perl/Makefile   2009/04/13 03:50:15 1.40
| +++ ports/www/mod_perl/Makefile   2009/05/16 01:33:52 1.41
| @@ -2,11 +2,11 @@
|  # Date created:  November 5th 1999
|  # Whom:  Sheldon Hearn 
sheld...@freebsd.org
|  #
| -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/www/mod_perl/Makefile,v 
1.40 2009/04/13 03:50:15 pgollucci Exp $
| +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/www/mod_perl/Makefile,v 
1.41 2009/05/16 01:33:52 pgollucci Exp $
|  #
|  
|  PORTNAME=mod_perl
| -PORTVERSION= 1.30
| +PORTVERSION= 1.31
|  CATEGORIES=  www perl5
|  MASTER_SITES=CPAN
|  MASTER_SITE_SUBDIR=  ModPerl/GOZER
| @@ -41,21 +41,19 @@ MAN3= Apache.3 Apache::Constants.3  Apa
|   Apache::PerlSections.3 Apache::fork.3 cgi_to_mod_perl.3 \
|   mod_perl_cvs.3 mod_perl_method_handlers.3 mod_perl_traps.3 \
|   mod_perl_tuning.3
| +
|  .if defined(APACHE_PORT)
| -.   if ${APACHE_PORT:Mipv6} != 
| +.  if ${APACHE_PORT:Mipv6} != 
|  WITH_APACHE_IPV6=YES
| -.   endif
| -.endif
| -
| -.if defined(WITH_APACHE_IPV6)
|  CFLAGS+= -DAPACHE6
| +.  endif
|  .endif
|  
|  post-install:
| - ${MKDIR} ${PREFIX}/include/apache/modules/perl
| + ${MKDIR} ${LOCALBASE}/${APACHEINCLUDEDIR}/modules/perl
|   ${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
| - ${PREFIX}/include/apache/modules/perl
| - ${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${PREFIX}/libexec/apache
| + ${LOCALBASE}/${APACHEINCLUDEDIR}/modules/perl
| + ${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so

Re: how did I get here?

2009-04-13 Thread Philip M. Gollucci
On Solaris and Mac OS you could actually use a dtrace-enabled Perl. You 
only get sub entry / exit but you can infer a call graph from that.
dtrace is on FreeBSD too, but kernel only atm.  Work is in on-going for 
userland.  It might make it in 8.0 or 8.x



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Re: Apache 1.3.41 / mod_perl 1.30 / Perl 5.8.9]

2009-03-12 Thread Philip M. Gollucci


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---
Hallo,
finally I have found the problem. With the following patch:

*** mod_perl.c.orig Thu Mar 12 13:55:40 2009
--- mod_perl.c  Thu Mar 12 13:56:03 2009
***
*** 683,692 
MP_TRACE_g(fprintf(stderr, '%s' , argv[i]));
  MP_TRACE_g(fprintf(stderr, ...));

! #ifdef USE_THREADS
! # ifdef PERL_SYS_INIT
! PERL_SYS_INIT(argc,argv);
! # endif
  #endif

  #ifndef perl_init_i18nl10n
--- 683,690 
MP_TRACE_g(fprintf(stderr, '%s' , argv[i]));
  MP_TRACE_g(fprintf(stderr, ...));

! #ifdef PERL_SYS_INIT
! PERL_SYS_INIT(argc,(char***)argv);
  #endif

  #ifndef perl_init_i18nl10n


mod_perl-1.30 is working with Perl 5.8.9 on AIX.
This patch was taken from the mod_perl 1 / HEAD (svn, 1.31-devel, ...).

Could you add a not in the SVN version of the readme ?

Bye
  Rainer


Rainer Tammer wrote:
 Hello,

 Philip M. Gollucci wrote:
   
 Rainer Tammer wrote:
 
 Hallo,
 I have attached a truss trace form the server startup (Perl 5.8.8 +
 Apache 1.3.41 + mod_perl 1.30).
 And I also have attached a truss trace from a working verion (Perl
 5.8.2 + Apache 1.3.20 + mod_perl 1.29).
   
 Sorry,
 the second line was wrong. The truss was from the working version: Perl
 5.8.2 + Apache 1.3.41 + mod_perl 1.30.
   
 The truss's are wildly different.

 
 unfortunately yes.

   
 The only I way I know to trouble shoot this is binary search /
 iteratively.

 first eliminate mod_perl 1.29 vs 1.30 as the culprit since that will
 make the rest shorter.

 For some reason seeing as how its AIX I'd think it perl over apache.

 So try 5.8.4 if it still fails, try 5.8.3.
 If it doesn't fail, 5.8.6 etc...

 
 I have found the source of the error text:

 libc.cat
 9   A file descriptor does not refer to an open file.

 So this error is from the libc...
 If I can find the source for the parse: then I might be able to find
 out more.

 It looks like this is the error text for EBADF (errno.h, #define EBADF 9
 /* Bad file descriptor */ ).

 The only location where I can find EBADF is in http_main.c

 static void child_main(int child_num_arg)
 {

 ...
 if (srv  0  errno != EINTR) {
 /* Single Unix documents select as returning errnos
  * EBADF, EINTR, and EINVAL... and in none of those
  * cases does it make sense to continue.  In fact
  * on Linux 2.0.x we seem to end up with EFAULT
  * occasionally, and we'd loop forever due to it.
  */
 ap_log_error(APLOG_MARK, APLOG_ERR, server_conf,
 select: (listen));
 clean_child_exit(1);
 }

 But the error text in the Apache error log would be different...

 If I only could find the source for parse: ...
   
 Sorry I can't be of more help.

 
 Bye
   Rainer
   
 

   

-- 
===
Schuler Pressen GmbH  Co. KG
Dipl.-Ing. (FH) Rainer Tammer
Abt.: ISS
Tel.: +49(7161)66-747
FAX: +49(7161)66-844
eMail: rainer.tam...@schulergroup.com
URL: www.schulergroup.com
Pflichtangaben: http://pflichtangaben.schulergroup.com
===


---End Message---


Re: Need help to configue mod_perl

2009-02-01 Thread Philip M. Gollucci

sandhya pawar wrote:

I have installed perl5.8  Apache 2.2 . Also Mod_perl2.2

I have to configure mod_perl.
When I used to add following line in httpd.conf,
LoadModule perl_module modules/mod_perl.so

Apache used to get stop.

How can I check that mod_perl properly installed.  what are the steps 
to configure it.?

Thats a really broad question.

http://perl.apache.org/docs/2.0/user/config/config.html

If you having issues, you should provide any error output you get, your 
httpd.conf (a larger portion),
and any messages in your error_log.

--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Travel Assistance] Applications for ApacheCon EU 2009 - Now Open

2009-01-23 Thread Philip M. Gollucci


Subject:
[Travel Assistance] Applications for ApacheCon EU 2009 - Now Open
From:
Tony Stevenson pct...@apache.org
Date:
Fri, 23 Jan 2009 13:28:19 +
To:
travel-assista...@apache.org



The Travel Assistance Committee is now accepting applications for those
wanting to attend ApacheCon EU 2009 between the 23rd and 27th March 2009
in Amsterdam.

The Travel Assistance Committee is looking for people who would like to
be able to attend ApacheCon EU 2009 who need some financial support in
order to get there. There are very few places available and the criteria
is high, that aside applications are open to all open source developers
who feel that their attendance would benefit themselves, their
project(s), the ASF or open source in general.

Financial assistance is available for travel, accommodation and entrance
fees either in full or in part, depending on circumstances. It is
intended that all our ApacheCon events are covered, so it may be prudent
for those in the United States or Asia to wait until an event closer to
them comes up - you are all welcome to apply for ApacheCon EU of course,
but there must be compelling reasons for you to attend an event further
away that your home location for your application to be considered above
those closer to the event location.

More information can be found on the main Apache website at
http://www.apache.org/travel/index.html - where you will also find a
link to the online application form.

Time is very tight for this event, so applications are open now and will
end on the 4th February 2009 - to give enough time for travel
arrangements to be made.

Good luck to all those that apply.


Regards,
The Travel Assistance Committee
--

--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Multiple mod_perl 2.0 installations on one Linux machine

2009-01-19 Thread Philip M. Gollucci

Michael Ludwig wrote:

The mod_perl DSO itself is installed to $ServerRoot/modules. Doing
an ldd on the module doesn't reveal any dependencies on libraries
under $ServerRoot/lib, but I guess that nevertheless, this mod_perl
does very well depend on the particular Apache version it is
configured and built to work with. True?

Very true.



I can only see dependencies on /lib/ld-linux.so.2, libc.so.6, and
linux-gate.so.1. But this certainly doesn't mean that there is no
dependency on the particular version of mod_perl that is installed?
Or does it?
it most definitely dpends on libperl.so, httpd, apr, apr-util, and 
mod_perl.so




Doing the same find/ldd loop for /usr/local/lib/perl/5.8.8/auto/APR,
I can see more dependencies, including dependencies on the
particular Apache installation:

libapreq2.so and mod_apreq2.so + all the above ones.



/usr/local/apache22w/lib/libapr-1.so.0 (0xb7eb8000)
/usr/local/apache22w/lib/libaprutil-1.so.0
/usr/local/apache22w/lib/libexpat.so.0

And even - horrors - this one (which looks like an error in the
configure/build logic):




/usr/local/src/libapreq2-2.08/library/.libs/libapreq2.so.3
we [joes] just fixed this though it doesn't affect everyone.  Its will 
be in the next release which will be soonish



Now, what happens if I am going to install a new Apache
2.2/prefork with mod_perl in addition to the already existing
Apache 2.2/worker with mod_perl? The new mod_perl modules are
going to clobber the existing one, probably rendering the old
mod_perl useless by supplanting their own versions linked to the
prefork MPM libraries, and I imagine the worker MPM won't be happy
when being asked to interact with these. True?

Correct, you get to play magical paths.

Consider yourself a developer now and the following tree:

/sfw
  /perl
5.8.1
5.8.8
  none-stdio-mymalloc
  ithread-perlio-perlmalloc
  /cpans
5.8.8-none-perlio-perlmalloc
  /apr
1.3.3
  threaded
  none
  /apu
1.3.4
  apr-1.3.3-threaded
threaded
none
  apr-1.3.3-none
  /httpd
2.2.11
  prefork
apr-1.3.3-none=apu-1.3.4-none
  worker
  event
  /mod_perl
 2.0.3
 2.0.4
 r732904

5.8.8-none-perlio-mymalloc=httpd-2.2.11-apr-1.3.3-none-apu-1.3.4-none

  /libapreq2
2.0.7
2.0.8

2.0.4=5.8.8-none-perlio-mymalloc=httpd-2.2.11-apr-1.3.3-none-apu-1.3.4


After doing this with a bug of ./configure, Makefile.PL and Configure 
flags you have 2 options


1) use the path to the .so in the install directories
2) install the .so into modules/
   BUT rename it to something like
mod_perl-5.8.8-none-perlio-mymalloc=httpd-2.2.11-apr-1.3.3-none-apu-1.3.4-none.so

Then load the correct one.

The good part is that Apache-Test lets you pass flags to name the 
mod_perl.so you want. When testing stuff or running the perl test suite.


This also applies to libapreq2.so, but not quite yet with the 
Apache-Test cli naming.


Doing the above will allow you to install ALMOST the full permutations 
of what we support. To get the full amount, you have to through GCC into 
the mix for older httpd's.


Be warned, you'll need a good sized disk for this.  Of course, if there 
are combinations you know you'll never care about, then you leave them 
out and your directory names get shorter.


my @perl_io_types = qw(perlio stdio);
my @perl_thread_types = qw(none ithreads);
my @perl_malloc_types = qw(mymalloc perlmalloc);

## only some were actually bundled
## 0.x for 2.0.xx 1.2.x and 1.3.x for 2.2.xx)
## threadedness of apr/apu should match
my @apr_vers = qw(lots);
my @apu_vers = qw(lots);

my @apr_thread_types = qw(threaded none);
my @apu_thread_types = qw(threaded none)
  ## XXX: dbd, gdbm, mysql, pgsql, oracle, freetds, ldap, etc...

## prefork is apr/apu without threads
## prefork_threaded is them with threads
my @httpd2_vers = qw(2.0.48...2.0.63, 2.2.0..2.2.11);
my @httpd2_mpms = qw(prefork prefork_threaded worker event);

my @mod_perl_vers = qw(2.0.4);
  MP_MAINTAINER MP_DEBUG MP_APXS
my @libapreq2_vers = qw(2.0.8)

--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Multiple mod_perl 2.0 installations on one Linux machine

2009-01-19 Thread Philip M. Gollucci

William A. Rowe, Jr. wrote:

Built with a threaded MPM and any module should also work on prefork etc.

But not visa-versa!!!


100% correct, the linkage is wrong the other way.


--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: [us...@httpd] Problems Compiling mod_perl and apache]

2009-01-18 Thread Philip M. Gollucci


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---


   I'm trying to compile mod_perl 1.30 and Apache 1.3.41 on a vanilla 
FC10 system and getting the following errors (and subsequent failure).  
Looking for suggestions and fixes.  Thanks!



gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/gdbm -DMOD_PERL 
-DUSE_PERL_SSI -D_REENTRANT  -DDEBUGGING -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -DUSE_HSREGEX -DEAPI -D_REENTRANT 
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm `./apaci`   -rdynamic \
 -o httpd buildmark.o modules.o 
modules/standard/libstandard.a modules/perl/libperl.a main/libmain.a 
./os/unix/libos.a ap/libap.a regex/libregex.a   -lm -lcrypt -lgdbm 
-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE  
-L/usr/local/lib  -L/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE 
-lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc  -lexpat -ldl

modules/perl/libperl.a(perl_config.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(perl_util.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(perlio.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(Apache.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(Constants.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here
modules/perl/libperl.a(ModuleConfig.o): In function 
`ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(Log.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(URI.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(Util.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute'
modules/perl/libperl.a(mod_perl.o):/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
first defined here

modules/perl/libperl.a(Connection.o): In function `ap_os_is_path_absolute':
/usr/local/src/apache/apache_1.3.41/src/modules/perl/../../os/unix/os-inline.c:45: 
multiple definition of `ap_os_is_path_absolute

Re: PerlAddVar: documentation bug (regression?)

2009-01-14 Thread Philip M. Gollucci

Adam Prime wrote:
The PDF's are regenerated once a day.  They should update at some point 
over the next 12 hours I think.


Adam

# every monday rebuild all, including pdf
30 03  * * 1 
/home/perlwww/apache.org/modperl-docs/bin/site_build_force_pdf_index
# update all (only changes/no pdf) every 6 hours
15 6,12,18 * * * /home/perlwww/apache.org/modperl-docs/bin/site_build_index
# update all (only changes and pdfs) once a day
15 0 * * * /home/perlwww/apache.org/modperl-docs/bin/site_build_pdf_index


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: apache DBI Global $r object is not available

2009-01-13 Thread Philip M. Gollucci

R P wrote:
I thought I read another bug report that said it was fixed.  1.06 
worked, but now every request gets:


/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/APR/Request/Apache2/Apache2.so: 
Undefined symbol apreq_handle_apache2


This is unrelated, you need to add

  LoadModule apreq_module  modules/mod_apreq2.so

See the libapreq2 docs.

--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: apache DBI Global $r object is not available

2009-01-12 Thread Philip M. Gollucci

Tech list wrote:

I've used the SVN version, but still have this issue with Apache 2.2
on FreeBSD 7.1.  Is there a fix?

Surely there is, can you provide some more context.



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[PATCH] www/p5-libapreq: update to 1.34

2009-01-09 Thread Philip M. Gollucci
Submitter-Id:  current-users
Originator:Philip M. Gollucci
Organization:  Riderway Inc.
Confidential:  no 
Synopsis:  [PATCH] www/p5-libapreq: update to 1.34
Severity:  non-critical
Priority:  low
Category:  ports 
Class: update
Release:   FreeBSD 7.1-PRERELEASE i386
Environment:
System: FreeBSD freefall.freebsd.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #36: 
Mon Dec 29 15:15:30 UTC 2008
Description:
- Update to 1.34

Port maintainer (s...@freebsd.org) is cc'd.

Skv, another one I'm interested in maintainer for, but I'd forsee any more 
updates on the 1.3x line

Generated with FreeBSD Port Tools 0.77
How-To-Repeat:
Fix:

--- p5-libapreq-1.34.patch begins here ---
Index: Makefile
===
RCS file: /home/pcvs/ports/www/p5-libapreq/Makefile,v
retrieving revision 1.24
diff -u -u -r1.24 Makefile
--- Makefile17 Apr 2008 14:30:25 -  1.24
+++ Makefile9 Jan 2009 14:35:47 -
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=  libapreq
-PORTVERSION=   1.33
+PORTVERSION=   1.34
 CATEGORIES=www perl5 devel
 MASTER_SITES=  CPAN
 MASTER_SITE_SUBDIR=Apache
@@ -16,7 +16,7 @@
 COMMENT=   Generic Apache Request Library
 
 .if defined(WITH_MODPERL2)
-IGNORE=This port does not support mod_perl2
+IGNORE=this port does not support mod_perl2
 .else
 RUN_DEPENDS?=  ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
 BUILD_DEPENDS= ${RUN_DEPENDS} \
@@ -28,10 +28,6 @@
 MAN3=  Apache::Cookie.3 Apache::Request.3 Apache::libapreq.3 \
libapreq.3
 
-post-patch:
-   @${PERL} -pi~ -e '$$_= if ($$.37  $$.63) || /PREREQ_PM/' \
-   ${WRKSRC}/Makefile.PL
-
 post-install:
 .ifndef(NOPORTDOCS)
@${ECHO_MSG} ===   Installing examples for ${PKGNAME}
Index: distinfo
===
RCS file: /home/pcvs/ports/www/p5-libapreq/distinfo,v
retrieving revision 1.10
diff -u -u -r1.10 distinfo
--- distinfo24 Jan 2006 03:13:59 -  1.10
+++ distinfo9 Jan 2009 14:35:47 -
@@ -1,3 +1,3 @@
-MD5 (libapreq-1.33.tar.gz) = f5d2c36ae545aac6fd26cb03307df52b
-SHA256 (libapreq-1.33.tar.gz) = 
81233db6972e0525cdd2db6f076a15fff7dcdd2f116a342db236ce72786ef524
-SIZE (libapreq-1.33.tar.gz) = 328933
+MD5 (libapreq-1.34.tar.gz) = 2bee94cf9f36fb156b794bd469fcc550
+SHA256 (libapreq-1.34.tar.gz) = 
b77fb7d883a06b4f17138ae1611d22e108dce7dc4763fc28e5cbebf25b29f64a
+SIZE (libapreq-1.34.tar.gz) = 314952
--- p5-libapreq-1.34.patch ends here ---



Re: APR, libapreq2, mod_perl2, APR::*, Apache2::*

2009-01-08 Thread Philip M. Gollucci

Adam Prime wrote:
Personally, i think libapreq should be part of core httpd (or at least a 
'normal' module, and libapreq2's perl bindings should be part of stock 
mod_perl.
Oh, but we started work for this in 2.4 of httpd for libapreq.so and 
mod_apreq.so for http core.


after httpd 2.6/3.0 we might be able to swing the perl bindings peices.

See:
Subject: Food for thought / looking for something to do

thead on d...@perl.a.o from ~11/10/08



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: APR, libapreq2, mod_perl2, APR::*, Apache2::*

2009-01-08 Thread Philip M. Gollucci

Adam Prime wrote:

Philip M. Gollucci wrote:
Oh, but we started work for this in 2.4 of httpd for libapreq.so and 
mod_apreq.so for http core.


cool


after httpd 2.6/3.0 we might be able to swing the perl bindings peices.


So where does that leave the perl binding between 2.4 and 3.0?  Or will 
we all be running mod_parrot/mod_perl6 by then (which looks like it's 
made great progress since YAPC)


Adam

Its quite complex and I'm not sure API/ABI and all that
and combinations of module A.

Given apr, apr-util, httpd (2.0.x,2.2.x, mpms) perl (5.6.x, 5.8.x, 5.10.x)
mod_perl 2.0.4 and libapreq2.08 we support well over 2k combinations.
I'm not sure I want to fork libapreq2 and have even more.

We really need more people then me following d...@httpd.a.o


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Settings $r-connection-remote_ip doesn't change $r-connection-remote_addr

2009-01-06 Thread Philip M. Gollucci

Mark Moseley wrote:

For any of you folks on the modperl-dev list, let me know if this
would be more appropriate to post there (i.e. not sure if that's a
developer-only list).
Anything not a user issue is welcome on the dev list. API changes are 
certainly welcome.  As of course are Patches :)



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Quotes in uploaded filenames are not parsed correctly.]

2009-01-03 Thread Philip M. Gollucci

Lets take this to apreq-dev land.


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---
When you handle a multipart/form-data post with libapreq quotes in
filenames are mishandled.  For example, a post that includes:

Content-Disposition: form-data; name=foo; filename=breakhere.jpg

Will result in a filename of just 'break'.

To reproduce, set up a test following the snippets below, and upload a
file named 'breakhere.jpg' to the resulting form.

I'm using Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 mod_ssl/2.2.9
OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0

In your error log you will see just 'break'.

---httpd.conf---
Perl
use lib qw(/home/mcrawfor/);
/Perl
PerlModule QuoteParse
Location /test/
SetHandler perl-script
PerlResponseHandler QuoteParse
/Location

---QuoteParse.pm---
package QuoteParse;

use strict;
use warnings;

use Apache2::RequestRec ();
use Apache2::Request ();

use Apache2::Const -compile = qw(OK);

sub handler {
my $r = shift;
my $req = Apache2::Request-new($r);

warn $req-param('foo');

$r-content_type('text/html');
print form method='post' enctype='multipart/form-data'input
type='file' name='foo'input type='submit'/form;

return Apache2::Const::OK;
}

1;
---End Message---
---BeginMessage---

Miles Crawford wrote:

When you handle a multipart/form-data post with libapreq quotes in
filenames are mishandled.  For example, a post that includes:

Content-Disposition: form-data; name=foo; filename=breakhere.jpg


Isn't that a malformed header?  I would think that the internal '' 
should be escaped for it to be properly represent that filename. 
Assuming that's the case, the rest of the behavior that you describe is 
what I'd expect.


Adam
---End Message---
---BeginMessage---
I agree it looks bogus, but safari and firefox send the header in that
format.  Not sure about IE since Windows does not allow files with a 
in the name.

I looked over the Content-Disposition header RFC but it does not seem
to address escaping directly.

Either way, it seems that this format is a browser fact of life

-miles

On Fri, Jan 2, 2009 at 4:44 PM, Adam Prime adam.pr...@utoronto.ca wrote:
 Miles Crawford wrote:

 When you handle a multipart/form-data post with libapreq quotes in
 filenames are mishandled.  For example, a post that includes:

 Content-Disposition: form-data; name=foo; filename=breakhere.jpg

 Isn't that a malformed header?  I would think that the internal '' should
 be escaped for it to be properly represent that filename. Assuming that's
 the case, the rest of the behavior that you describe is what I'd expect.

 Adam

---End Message---


Re: Apache::DBI / connect_on_init not setting dbi_connect_method but later connect() calls do

2009-01-02 Thread Philip M. Gollucci

Apache::DBI-connect_on_init(
'dbi:Pg:dbname=mydb;host=myhost;port=5432',
'nobody','');



Can this be avoided somehow so that only 1 connection is initiated and
reused? Is my DBI(1.53) or Apache::DBI(1.04) too old? Is it a bad idea to
set dbi_connect_method explicitly in startup.pl?


1.07 is 'borked', use 1.06, 1.04 I forget, but I know bugs that matter 
were fixed between the 2.


in startup.pl, make sure you load them in this order:

use Apache2::Status ();
use Apache::DBI ();
#$Apache::DBI::DEBUG = 2;
use DBI ();



--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Apache::DBI / connect_on_init not setting dbi_connect_method but later connect() calls do

2009-01-02 Thread Philip M. Gollucci

Apache::DBI-connect_on_init(
'dbi:Pg:dbname=mydb;host=myhost;port=5432',
'nobody','');



Can this be avoided somehow so that only 1 connection is initiated and
reused? Is my DBI(1.53) or Apache::DBI(1.04) too old? Is it a bad idea to
set dbi_connect_method explicitly in startup.pl?


1.07 is 'borked', use 1.06, 1.04 I forget, but I know bugs that matter 
were fixed between the 2.


in startup.pl, make sure you load them in this order:

use Apache2::Status ();
use Apache::DBI ();
#$Apache::DBI::DEBUG = 2;
use DBI ();


Apache::DBI-connect_on_init(

--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11

2008-12-27 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Craig MacKenna wrote:

On Dec 24 00:57, Philip M. Gollucci pgollu...@p6m7g8.com wrote:
Subject: Re: [mp2] undefined symbol in make test with threaded Apache 
2.2.11
If you post your ./Configure for perl, ./configure for httpd, and perl 
Makefile.PL for mod_perl, I'll run it locally on my freebsd boxes.

http://people.apache.org/~pgollucci/mp2bug.txt

FWIW, I do this nearly weekly, so I'm not really expecting it to fail, 
but hey first time for everything.


Works like a charm though a few tests fail b/c its the event mpm as expected.
I stand by what I said before

  1) clean up your perl lib tree
  2) verify /usr/bin/perl is correctly symlinked to /usr/local/bin/perl

so let it be written so let it be done :)



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Apache::Reload - ModPerl::Util::unload_package under perl 5.10 use base directive malfunction

2008-12-27 Thread Philip M. Gollucci

David Ihnen wrote:

1. Problem Description:

While developing with CGI::Application and utilizing Apache::Reload, we 
encountered an issue where our modules were not being succesfully 
reinitialized on reload.  It was traced down to @ISA not containing the 
proper values after a 'use base' directive, but only on automatic 
reload, and freshly on perl 5.10, not our previous version of perl 5.8.8!
Are you able to try 5.8.9, its at least a smaller change set to look at if 
5.8.9 breaks too.





--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11

2008-12-24 Thread Philip M. Gollucci

Craig MacKenna wrote:

On Dec 24 00:57, Philip M. Gollucci pgollu...@p6m7g8.com wrote:

Subject: Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11

cr...@animalhead.com wrote:

Neither mod_perl 2.0.4 nor the current build modperl-2.0_20081223052020
If you're going to do that 'current build', I'd use revision numbers of SVN 
instead of the data.

s/data/date/


The page on the mod_perl site about what to do before submitting a problem 
report suggested trying the current build from the location I used, as a data point 
for the overall report.  So I complied with those instructions.  If some other source is 
better, perhaps the web page in question wants editing.
The source is fine, an svn revision numbers just means more to mean personally 
then a date [especially since I don't know your timezone :)]



PL_markstack_ptr
This isn't perl 5.8.8 vs perl 5.8.9 related, if you diff the trees, only 1 
line is changed

-   *PL_markstack_ptr = (p) - PL_stack_base;\
+   *PL_markstack_ptr = (I32)((p) - PL_stack_base);\


PL_markstack_ptr is in the error message that occurred.  Perhaps it's no 
longer exported, or global'ed, or whatever the right term is nowadays?
No, I was just pointing out that this can't be the cause be nothing relating 
to it changed EXCEPT the above. So you can rule perl out.



There is great value to me in having a single perl that is used for all applications, rather than a my 
perl and their perl and the perl used by that other gang over there.  For 
example, commonality of use of Berkeley DBs by perl programs from various sources discourages having multiple 
Perl binaries in use.  (Older perl's are still around for reference but nothing uses them on our site.)

well I was going to for a total of exactly 2. :)

If you post your ./Configure for perl, ./configure for httpd, and perl 
Makefile.PL for mod_perl, I'll run it locally on my freebsd boxes.


FWIW, I do this nearly weekly, so I'm not really expecting it to fail, but hey 
first time for everything.



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Error While installing Data::Dumper module

2008-12-24 Thread Philip M. Gollucci

cc: unrecognized option `-KPIC'

That should be -fPIC


cc: language ildoff not recognized
cc: Dumper.c: linker input file unused because linking not done
Running Mkbootstrap for Data::Dumper ()
chmod 644 Dumper.bs
rm -f blib/arch/auto/Data/Dumper/Dumper.so
cc  -G Dumper.o  -o blib/arch/auto/Data/Dumper/Dumper.so\
\
cc: Dumper.o: No such file or directory
cc: no input files
*** Error code 1
make: Fatal error: Command failed for target 
`blib/arch/auto/Data/Dumper/Dumper.so'
I think you will have better luck on beginn...@perl.org as this is not a 
mod_perl related issue.  Also you perl (5.8.4) is almost a decade old, you 
should upgrade :)



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11

2008-12-23 Thread Philip M. Gollucci

cr...@animalhead.com wrote:
Oooh your os?  Was that your machine doing something bad as you were 
typing?

/me is a FreeBSD person (see the .sig below)



I won't be doing development for most of a week, but if you have any
other questions, I'll be monitoring email.  Is there anything else
I should get through so that you will take a deeper look at this?
If so please advise.

I might suggest you try 5.8.8 perl as I'm 99.99% certain its not apache 
anything.


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Bug#509457: [BUG] mod_perl2 test failures (when building Debian package)

2008-12-23 Thread Philip M. Gollucci

Adam Prime wrote:
mod_perl 1 is affected by this as well.  This is actually the same bug i 
ran reported in this thread:


Attached is a patch against the 1.x svn branch which resolves the 
problem there as well using the same technique the Niko used for 
TestRequest.pm

Committed 729185

http://svn.apache.org/viewvc?rev=729185view=rev
--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11

2008-12-23 Thread Philip M. Gollucci

cr...@animalhead.com wrote:

Neither mod_perl 2.0.4 nor the current build modperl-2.0_20081223052020
If you're going to do that 'current build', I'd use revision numbers of SVN 
instead of the data.



PL_markstack_ptr
This isn't perl 5.8.8 vs perl 5.8.9 related, if you diff the trees, only 1 
line is changed

-   *PL_markstack_ptr = (p) - PL_stack_base;\
+   *PL_markstack_ptr = (I32)((p) - PL_stack_base);\


  MP_APXS= /usr/local/apache2/bin/apxs
*** /usr/local/apache2/bin/httpd -V

You did not install www/apache22 port, but rather compiled by hand ?


*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 9) configuration:

So this isn't in the ports tree yet, so you also compiled perl by hand


  @INC:
/usr/local/lib/perl5/site_perl/5.8.9
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/vendor_perl/5.8.9
/usr/local/lib/perl5/vendor_perl/5.8.7
Looks like your perl tree has some history, I'd try with a clean tree .. my 
money is here.



*** Packages of interest status:
mod_perl   : 1.29
mod_perl2  : 2.03, 2.05

Speaking of clean trees, that can't be good.
you have multiple versions of mod_perl2 installed which almost certainly means
that you'll get a mix match between .pm and .so files.  I'd clean that up


FWIW, you really shouldn't install your own perl into /usr/local/bin/perl on 
FreeBSD you should put yours somewhere else.





1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Bug#509457: [BUG] mod_perl2 test failures (when building Debian package)

2008-12-22 Thread Philip M. Gollucci

Niko Tyni wrote:

On Mon, Dec 22, 2008 at 10:47:18AM -0600, Gunnar Wolf wrote:
The attached patch works around the problem by providing a credentials()
wrapper too. It's probably not quite correct, but the tests pass with
this on both libwww-perl 5.813 and 5.822.


Committed revision 728811.
http://svn.apache.org/viewvc?rev=728811view=rev

Thanks!

--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] undefined symbol in make test with threaded Apache 2.2.11

2008-12-22 Thread Philip M. Gollucci

PL_markstack_ptr
Thats a perl function its irrelevant of httpd versions.  Are you use you are 
using the /usr/local/bin/perl below ?



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
  Platform:
osname=freebsd, osvers=6.3-release, 

Oooh my os, now you're in trouble.


-Dusethreads -Dusemultiplicity -Duseithreads -Duse64bitint'
usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define


perl 5.8.9 is not in the ports tree yet, how did you install perl, its also 
not a GA release, its a Release Candidate (RC)


If you get through all that, I'll take a deeper look.  Also, does this not 
happen with 2.2.10 though that should be irrelevant.


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-12 Thread Philip M. Gollucci

Foo JH wrote:

Path:/usr/ports/www/libapreq2
Path:/usr/ports/www/p5-libapreq
Path:/usr/ports/www/p5-libapreq-static
Path:/usr/ports/www/p5-libapreq2
You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes


Thanks. Does the fact that libapreq can be installed w/o modperl mean
that other languages (eg. PHP) can use it as well?

Sorry if this sounds off-topic.
If someone took the time to right the language bindings yes, 
unfortunately no one has yet.


On the upside, we've begun work integrate the C portion of apreq into 
httpd core.




--

Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[ANNOUNCE]: Apache-DBI now hosted in the ASF subverison repository

2008-12-10 Thread Philip M. Gollucci

Hi All,

I've migrated Apache-DBI from the Perl Foundation's svn repository to 
the Apache Software Foundation svn repository.


From: https://svn.perl.org/modules/Apache-DBI
To: https://svn.apache.org/repos/asf/perl/Apache-DBI

(of course non-committers can use http instead of https).

That said the lists you should look at now are:
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]

Those of you that have Filed CPAN RTs, if you would be so kind as to 
verify that your patches still apply and post them as diff's inline to 
this list, I'll start dropping them in as early as today.


I'll worry about the one that breaks 1.08 intirely with caching 
connections incorrectly.


Lets AIM to get 1.09 out the door Monday-Tuesday.



--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Philip M. Gollucci

Adam Prime wrote:

Foo JH wrote:

Hi all,

I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
ok, I'm having difficulties locating the Apache2::Cookie module.

I understand Apache2::Cookie is part of the libapreq2 package. I
installed that via ports, and the installation did not report errors.
The module mod_apreq2.so loaded quite happily. But when I tried to 'use
Apache2::Cookie' Apache22 throws out the error in http-error.log:

Can't locate Apache2/Cookie.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local)

I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.

Path:   /usr/ports/www/libapreq2
Path:   /usr/ports/www/p5-libapreq
Path:   /usr/ports/www/p5-libapreq-static
Path:   /usr/ports/www/p5-libapreq2
You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

I did a 'find / -name *ookie* -print' but I can't find Cookie.pm.

Path:/usr/ports/www/libapreq2
Path:/usr/ports/www/p5-libapreq
Path:/usr/ports/www/p5-libapreq-static
Path:/usr/ports/www/p5-libapreq2
You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes

sigh,
p5-libapreq2
or
libapreq2 WITH_MODPERL2=yes


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] Win32 Apache2.2.9 + AP5.10.0 + MP2.04 = OK

2008-12-02 Thread Philip M. Gollucci

Foo JH wrote:

A point to note: Apache2::Reload is not available as part of the ppd
installs. However I was able to simply copy out the relevant folders in
the source to Perl/site/lib/, and it works w/o further intervention.
Yeah, we goofed the 2.0.4 release and mistakenly omitted it, its fixed 
or will be for 2.0.5.


Thanks for the feedback.


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] libapreq 1.34-RC4

2008-11-21 Thread Philip M. Gollucci

Steve Hay wrote:

Issac Goldstand wrote:

The apreq developers are planning a maintenance release of
libapreq1.  This version primarily addresses an issue noted
with FireFox 2.0 truncating file uploads in SSL mode.

Additionally, the memory allocation algorithm for multipart
requests has been improved.

Please give the tarball at

http://people.apache.org/~issac/libapreq-1.34-RC4.tar.gz

a try and report comments/problems/etc. to the apreq-dev list
at [EMAIL PROTECTED]

not to speak for issac, but looks like we're gonna need -RC5 for 1.x.

Issac, I should be able to get a test on FreeBSD today before you roll 
-RC5.  I have lots of faith -RC5 will be the last one.



--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2] build (make) error and 2 questions

2008-11-12 Thread Philip M. Gollucci

Fred Moyer wrote:

On Wed, Nov 12, 2008 at 9:30 PM,  [EMAIL PROTECTED] wrote:

-8-- Start Bug Report 8--
1. Problem Description:

1.1 attempting to static-build mod_perl 2.0.4 and apache 2.2.10, is the
following
   warning right at the end of the Makefile.PL output worrisome?


Not worrisome, mod_perl just did not build.  Can you build as a shared
object rather than compiling it into Apache statically?

perl Makefile.PL MP_APXS=/path/to/my/httpd2/bin/apxs


Static hasn't worked for a long time in 2.x though it is on the infinite 
list; however, the performance reasons for doing it statically are not 
really an issue in 2.x

--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Re: [RELEASE CANDIDATE] libapreq2 2.10 RC1]

2008-11-12 Thread Philip M. Gollucci


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---
On Thu, 2008-11-13 at 17:29 +1100, Bojan Smojver wrote:
 It has been over two years since the latest apreq2 release, so it is
 time to get some new code out the door. Numerous bugs were fixed (see
 the full list in the CHANGES file) since the last official release
 (2.08), so please give us feedback on this release candidate.
 
 You can get the tarball, its signature and MD5 checksum from here:
 
 http://people.apache.org/~bojan/libapreq2-2.10-RC1.tar.gz
 http://people.apache.org/~bojan/libapreq2-2.10-RC1.tar.gz.asc
 http://people.apache.org/~bojan/libapreq2-2.10-RC1.tar.gz.md5
 
 Please report any problems back to the list:
 
 [EMAIL PROTECTED]

Could people subscribed to mod_perl and httpd lists please forward this
e-mail there. Thanks!

-- 
Bojan
---End Message---


Re: [ot] Re: mod_perl survey results

2008-11-11 Thread Philip M. Gollucci

Douglas Hunter wrote:
I've been playing with the experimental event MPM for a front end 
caching reverse proxy, and have been very happy with the results so far.

ditto.  Witness it in use here:

http://ridecharge.com

PXY: httpd 2.2.9 w/ event mpm
Cache: X
APP: mongrel

mongrel's replacement passenger took the mod_perl type approach.
which I haven't played with yet, but will be soon.

For people that think mod_perl is heavy, mongrels are just as heavy.

mongrel processors = 5
mongrels = 12

size / mongrel process = 225 MB

Thats ~4GB / app box already and less  2 years dev.

I'd mention that Ticketmaster's httpd/mod_perl backend app severs had 
sizes of ~160MB and have over 400,000 lines of perl code, and 1700 packages.


We have not even close to that much in the mongrels.





--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: comment regarding documentation

2008-11-10 Thread Philip M. Gollucci

Ian Goodacre wrote:
I would be helpful if the Introducing mod_perl Handlers page at 
http://perl.apache.org/docs/2.0/user/handlers/intro.html included a 
section describing the arguments  to the handler functions and if the 
description of the handlers (PerlResponseHandler in particular) included 
a link to the existing descriptions where they are not in the sections.


I have found the information. It is there but it could be easier to find 
with just one or two more links.

Patches welcome :)


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Philip M. Gollucci

Adam Prime wrote:
Personally, i think that when this occurs, a new version of mod_perl 
should be pushed out that corrects the problem (even if it doesn't 
correct anything else), but I'm not on the dev team ;)
I think that is th general idea.  As someone on httpd I wasn't aware of 
any land breaking changes in 2.2.10 vs 2.2.9.




--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Problem Setting Up ptkdb For mod_perl

2008-11-06 Thread Philip M. Gollucci

yccheok wrote:

Now, I try to test on the web site. I want to start my apache in single
process mode. Hence, I edit the following files

/usr/local/apache_modperl/bin/apachectl
/etc/init.d/apache

to content (I just add -X flag)

case $1 in
start)
log_begin_msg Starting $NAME 1.3 web server...
if $ENV $SSD --start --pidfile $PIDFILE --make-pidfile $PIDFILE --exec
$DAEMON --oknodo --verbose -- -X -f $CONF; then
Rather then -X just set all the MPM values to 1 and MaxRequestsPerChild 
to 0.


Its roughly equivalent. Also, you might look at -DONE_PROCESS where 
unlike -X it should still do a dettach().




--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Bug: APR::Finfo-protection is not (stat $filename)[2]

2008-10-29 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Joachim Zobel wrote:

Hi.

If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
documentaion claiming this as the same value should be fixed.
If you can submit a patch or point to this documentation, I'll be glad 
to update that for you.




http://svn.apache.org/viewvc?rev=708947view=rev

Done.  Feel free to object or add to it.


--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Bug: APR::Finfo-protection is not (stat $filename)[2]

2008-10-27 Thread Philip M. Gollucci

Joachim Zobel wrote:

Hi.

If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
documentaion claiming this as the same value should be fixed.
If you can submit a patch or point to this documentation, I'll be glad 
to update that for you.



--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


AC US 2008

2008-10-22 Thread Philip M. Gollucci

Hi All,

wondering who is going to present at the Apache US 2008 conference in 
New Orleans.


I'll be there 11/2 - 11/9

--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: live and dev versions of a module on the same server

2008-10-03 Thread Philip M. Gollucci

[EMAIL PROTECTED] wrote:

Quoting John Drago [EMAIL PROTECTED]:


There are a few options:

1---
Run your VirtualHost with PerlOptions +Parent.
This gives each VirtualHost its own Perl interpreter.


This is mod_perl 2 specific, and until right now i personally was 
completely unaware of it.  Has anyone actually used it?  Does it work 
under all the MPM's?


I've played with it and it works, but not in production or anything.  I 
think Torsten uses/used it.




Re: mod_perl2 with mod_dbd and Apache2

2008-08-27 Thread Philip M. Gollucci

Perrin Harkins wrote:

In my opinion, yes.  You'd have to write your own DBI, or a DBD driver
that talks to mod_dbd.  It would not be easy.
Yeah were definitely missing the that APR::* XS glue for this, but its 
something I'm incredibly interested in. I just lack the time atm


I think some other things would have to be solved first too.

For instance we really only wrap apr v0.9 and they're up to 1.3.3.
This should be loads of 'fun' to fix.


[snipped Perrin's comments which are valid]



--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: Unable to get PerlAuthenHandler to work in mp2

2008-08-21 Thread Philip M. Gollucci

Clinton Gormley wrote:

Try adding warn $msg statements (instead of printing to a file).

Perl's warn function prints to STDERR, which is usually appended to the web 
server's errors log.  To read the errors as they are printed, do the following (provided 
you have shell access on your server, and it's running on some kind of Unix/Linux system):

tail -f /var/log/httpd/error_log


Apache's log entries are escaped, so it makes it difficult to read
multi-line output (eg) Data::Dumper output.

You can make them more readable with:

tail -f /var/log/httpd/error_log | perl -pe 's/\\n/\n/g'


 WARNING NOT FOR PRODUCTION *
 WARNING NOT FOR PRODUCTION *
 WARNING NOT FOR PRODUCTION *
 WARNING NOT FOR PRODUCTION *
 WARNING NOT FOR PRODUCTION *

compile httpd with
-DAP_UNSAFE_ERROR_LOG_UNESCAPED'


--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: mod_perl 2.0 fails on make

2008-08-16 Thread Philip M. Gollucci

Fred Moyer wrote:
Try with the 2.0.4 stable version of mod_perl.  Also I would suggest 
building mod_perl as a shared object (dynamically, not statically), so 
would say remove the MP_USE_STATIC=1.  I've seen people get it to work 
but almost everyone I know builds mod_perl as a loadable module instead 
of into the httpd binary.

Ditto, static has been foobar for a long while now in 2.x


--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: Can't compile Apache2.2.9 + ModPerl2.0.4

2008-07-30 Thread Philip M. Gollucci

Oleg Burlaca wrote:
P.S. I don't see any logical explanation why adding MP_MAINTAINER 
removed the segfault, but I hope that I did something wrong at the 
beginning.
Well it backs up the NULL memory access. The debugging moved things 
around and some pointer which is invalid now happens to be pointing to 
something that just so happens to not be NUL so it doesn't segfault.


I'm out of town all weekend in Las Vegas

I'll take a gander at the stack trace when I get back see if anything 
jumps out at me.


-
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: Can't compile Apache2.2.9 + ModPerl2.0.4

2008-07-27 Thread Philip M. Gollucci

Oleg Burlaca wrote:
After struggling for two days, I've managed to install Apache2.2.9 + 
ModPerl2.0.4.

Three crucial things were needed:
   1. build mod_perl as a DSO and not static

Thats the default

   2. build apache --with-included-apr

Correct, by default it uses apxs if its found in $PATH.


   3. build libapreq2  --with-apr-config --with-apu-config
I assume you passed paths to those right, otherwise you've just found 
your problem. Which is conflicting library versions.  I'll bet you a beer.


i.e. --with-apr-config=/path/to/apr/bin/apr-1-config



I've started apache and tried to access a dynamic webpage (content via 
PerlHandler) but got a SegFault.
I then recompiled mod_perl with MP_DEBUG=1 and used 
http://perl.apache.org/docs/2.0/devel/debug/c.html as a reference.
Something isn't quite right.  There should information in the () about 
arguments passed.  In this case looking for something was NULL but 
shouldn't be.

You might try MP_MAINTAINER=1 and MP_DEBUG=1

#14 0xb7d78911 in modperl_callback () from 
/usr/local/httpd_perl/modules/mod_perl.so
#15 0xb7d79279 in modperl_callback_run_handlers () from 
/usr/local/httpd_perl/modules/mod_perl.so
#16 0xb7d797f5 in modperl_callback_per_srv () from 
/usr/local/httpd_perl/modules/mod_perl.so
#17 0xb7d983f1 in modperl_post_read_request_handler () from 
/usr/local/httpd_perl/modules/mod_perl.so


Notice httpd has debugging enabled successfully.


#18 0x0806995b in ap_run_post_read_request (r=0x8adfdc0) at protocol.c:1669
#19 0x0806bc24 in ap_read_request (conn=0x8ad27a8) at protocol.c:1011
#20 0x0808d785 in ap_process_http_connection (c=0x8ad27a8) at 
http_core.c:183
#21 0x0807d909 in ap_run_process_connection (c=0x8ad27a8) at 
connection.c:43
#22 0x080a1915 in child_main (child_num_arg=value optimized out) at 
prefork.c:650

#23 0x080a1bd7 in make_child (s=0x8a6e4d8, slot=2) at prefork.c:746
#24 0x080a1c94 in startup_children (number_to_start=3) at prefork.c:764
#25 0x080a2719 in ap_mpm_run (_pconf=0x80c80a8, plog=0x81061a0, 
s=0x8a6e4d8) at prefork.c:985

#26 0x08064485 in main (argc=135028896, argv=0x8ad05c8) at main.c:730


The perlhandler is simple enough, I found that if I comment the 
following code from my handler and restart apache, it will run ok.

my @param_names = $r-param;
  foreach (@param_names) {
  $form-{$_} = $r-param($_);
}
in the code above $r = Apache2::Request-new(shift);
Above comments about conflicting libraries backs this up based on whats 
failing



--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: Current working directory always /

2008-05-21 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

william wrote:
| /var/www/modperl/Dir/Test.pm
| package Dir::Test;
|
| use Cwd;
| use Storable;
|
| sub mygetcwd()
| {
|   open(FILE, 'textfile') || die $!; #No such file or directory at
| /var/www/modperl//Dir/Test.pm line 8.\n
|   print FILE;
|   print cwd; #The result is /var/www/modperl
| }
|
| 1;
You should almost always use full paths to files, think of threads.


- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFINDFwdbiP+9ubjBwRArraAJ4gIWKyxD17Yiqjn71FRF4jOGicPACdFd6F
kZWFcNaE/JkhSjcldojVrQY=
=XfnH
-END PGP SIGNATURE-


Re: Initialize object permanently

2008-05-20 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

André Warnier wrote:
| The first thing that happens, is that there are multiple Apache children
| processes started and running at the same time, and that you never know
| which one is going to execute your script.  And each one of these
| children processes, will have its own independent copy (or instance) of
| your common variable (or object).  So the variable will not really be
| common.
FWIW, things created before the PerlChildInit (before the httpd children are
spawned) in the parent httpd process are shared via COW (copy-on-write).

Now if you are talking about worker, event or other threaded mpm's instead of
prefork, this is different.



- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIM2/UdbiP+9ubjBwRAuvXAJ4t8kxvkl1FcmX/ckdf6GHjA3n+BgCfYCeG
J3lfKvZptduBfnZYQg0tKog=
=vr3A
-END PGP SIGNATURE-


httpd lib depencies

2008-05-16 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is this close ?

The only way I found to figure this out is to unpack each http distribution
and look in 'CHANGES'

This is of use to mod_perl, so I've CC'ed them here, please drop them in
replies unless its useful.


my $matrix = {
~  2.0.47 = { apr = '0.9.4',  apu = '0.9.4',  pcre = '3.0' },
~  2.0.48 = { apr = '0.9.5',  apu = '0.9.5',  pcre = '3.0' },
~  2.0.49 = { apr = '0.9.5',  apu = '0.9.5',  pcre = '3.0' },
~  2.0.50 = { apr = '0.9.5',  apu = '0.9.5',  pcre = '3.0' },
~  2.0.51 = { apr = '0.9.5',  apu = '0.9.5',  pcre = '3.0' },
~  2.0.52 = { apr = '0.9.5',  apu = '0.9.5',  pcre = '3.0' },
~  2.0.53 = { apr = '0.9.6',  apu = '0.9.6',  pcre = '3.0' },
~  2.0.54 = { apr = '0.9.6',  apu = '0.9.6',  pcre = '3.0' },
~  2.0.55 = { apr = '0.9.7',  apu = '0.9.7',  pcre = '3.0' },
~  2.0.58 = { apr = '0.9.12', apu = '0.9.12', pcre = '3.0' },
~  2.0.59 = { apr = '0.9.12', apu = '0.9.12', pcre = '3.0' },
~  2.0.61 = { apr = '0.9.16', apu = '0.9.15', pcre = '3.0' },
~  2.0.63 = { apr = '0.9.17', apu = '0.9.15', pcre = '3.0' },

~  2.2.0  = { apr = '1.2.2',  apu = '1.2.2',  pcre = '5.0' },
~  2.2.2  = { apr = '1.2.7',  apu = '1.2.7',  pcre = '5.0' },
~  2.2.4  = { apr = '1.2.8',  apu = '1.2.8',  pcre = '5.0' },
~  2.2.6  = { apr = '1.2.11', apu = '1.2.10', pcre = '5.0' },
~  2.2.8  = { apr = '1.2.12', apu = '1.2.12', pcre = '5.0' },
~ };
- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKMvpdbiP+9ubjBwRAiYsAJ9fhQhZhaPwFtMLdoL1wMfuMpNOIQCeIjm6
x/ldLMbdGNd91Jz3sioNDeM=
=yDmx
-END PGP SIGNATURE-


[Fwd: CPAN Upload: P/PG/PGOLLUCCI/Apache-DBI-1.07.tar.gz]

2008-05-15 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFILIHzdbiP+9ubjBwRAmEpAJ4sOuQC/rC/j3nvNdkNrKa8X1632wCbBHSv
qnQFU0SyOPMEthdNJfizbWU=
=z5h7
-END PGP SIGNATURE-
---BeginMessage---
The URL


http://people.apache.org/~pgollucci/perl/cpan/Apache/DBI/Apache-DBI-1.07.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.07.tar.gz
  size: 34438 bytes
   md5: a8161e5c1083afa0ecb6ac94491481e0

No action is required on your part
Request entered by: PGOLLUCCI (Philip M. Gollucci)
Request entered on: Thu, 15 May 2008 18:32:13 GMT
Request completed:  Thu, 15 May 2008 18:32:23 GMT

Thanks,
-- 
paused, v996
---End Message---


[Fwd: Files of PGOLLUCCI scheduled for deletion]

2008-05-15 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

So in keeping with having only 2 revision of what not on cpan, I've scheduled
the deletion of the following.

You can always retrieve them from backpan.


- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFILIIldbiP+9ubjBwRAvzgAJ47/rBRP7iH8a4bgiUYT6TplR3j/QCeIbfd
fHM//Wc6TPFmualjg6neF+w=
=X22w
-END PGP SIGNATURE-
---BeginMessage---
According to a request entered by Philip M. Gollucci the following files
and the symlinks pointing to them have been scheduled for deletion. They
will expire after 72 hours and then be deleted by a cronjob. Until then
you can undelete them via
https://pause.perl.org/pause/authenquery?ACTION=delete_files or
http://pause.perl.org/pause/authenquery?ACTION=delete_files

$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.04.meta
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.04.readme
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.04.tar.gz
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.05.meta
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.05.readme
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.05.tar.gz
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Peek-1.07.tar.gz
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Peek-1.07.readme
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Test-1.27.meta
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Test-1.27.readme
$CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Test-1.27.tar.gz
$CPAN/authors/id/P/PG/PGOLLUCCI/mod_perl-2.0.2.meta
$CPAN/authors/id/P/PG/PGOLLUCCI/mod_perl-2.0.2.readme
$CPAN/authors/id/P/PG/PGOLLUCCI/mod_perl-2.0.2.tar.gz

Note: to encourage deletions, all of past CPAN glory is collected on
http://history.perl.org/backpan/

The Pause
---End Message---


TODO for 2.0.5

2008-05-15 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

1) MANIFEST verification checking for A-SL, A-Reload and anything else it needs 
to
2) Fix so Release manager can use a windows system (svn 1.4. changed .svn 
format)
3) PRS
4) Smolder
5) A-Reload is pulled in as an external

Anything else ?

I seem to have the most time atm the moment, so I'll jump it for RM and
attempt to spear head this.

NB: I'm away from internet the next 2 weekends.



- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFILILTdbiP+9ubjBwRAuIqAJ4mOzTsZ5Xz8tKlDqMa4Gb2+Xrv6wCgg40T
v97/nJ2GHvLZh6YE5pR/81A=
=SopC
-END PGP SIGNATURE-


[RELEASE CANDIDATE]: Apache2::DebugFilter 0.03

2008-05-15 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All,

If this looks good, I'll upload it to CPAN Tue-Wed next week.

There are no open PRs for this module after this release.

http://people.apache.org/~pgollucci/perl/cpan/Apache2/DebugFilter/Apache2-DebugFilter-0.03.tar.gz
http://people.apache.org/~pgollucci/perl/cpan/Apache2/DebugFilter/Apache2-DebugFilter-0.03.tar.gz.md5
http://people.apache.org/~pgollucci/perl/cpan/Apache2/DebugFilter/Apache2-DebugFilter-0.03.tar.gz.sha256

Changes since 0.02

0.03 Thu May 15 16:35:29 EST 2008
~- http://rt.cpan.org/Public/Bug/Display.html?id=34630
~Submitted by: IMACAT [EMAIL PROTECTED]


- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFILKA6dbiP+9ubjBwRAsK7AKCT2cWXMHBT/5m0a6hFTtvlsCRPUwCgiP7o
owj9pKdlA+cmsDzhDde4Ecs=
=MRgc
-END PGP SIGNATURE-


[Fwd: This Week on perl5-porters - 28 April-3 May 2008]

2008-05-13 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[snippet]

5.6.x in the wild

~  A recent change to the GNU coreutils package has broken the
~  Configure script for 5.6.x (or rather, it's been fixed for more recent
~  perls for ages, but hasn't been, and is unlikely to be backported to
~  5.6.x).

~  Jesse Vincent asked for a show of hands to see how many porters are
~  still using 5.6, to gauge the importance of creating a fix for
~  software that was released eight years ago.

~  Gabor Szabo won a surprisingly crowded race, by having the courage to
~  admit that he has a client still running perl 4.x in a couple of
~  places.

~an unscientific survey
~http://xrl.us/bkb8m

~GNU coreutils 6.9 breaks FConfigure (#53446)
~http://xrl.us/bkca2

- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKdqPdbiP+9ubjBwRAkb4AKCReF7yFHiUL4Grkbszr/irJQr/GgCgiLoT
rDSt1OM1iSrB6JKNzJ9t7PM=
=66hV
-END PGP SIGNATURE-


[RELEASE CANDIDATE]: Apache::DBI 1.07

2008-05-09 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All,

Sorry for my long absence. I'm getting back into things slowly.
If this looks good, I'll upload it to CPAN Tue-Wed next week.

http://people.apache.org/~pgollucci/perl/cpan/Apache/DBI/Apache-DBI-1.07.tar.gz
http://people.apache.org/~pgollucci/perl/cpan/Apache/DBI/Apache-DBI-1.07.tar.gz.md5
http://people.apache.org/~pgollucci/perl/cpan/Apache/DBI/Apache-DBI-1.07.tar.gz.sha256

This addresses all but 1 PR in rt.cpan.org:

Changes since 1.06
1.07 05/09/2008
~  - http://rt.cpan.org/Public/Bug/Display.html?id=31003
~Submitted by: [EMAIL PROTECTED]
~Tweaked by: Philip M. Gollucci [EMAIL PROTECTED]

~  - http://rt.cpan.org/Public/Bug/Display.html?id=29209
~PerlCleanupHandler doesn't get called with MP2
~Submitted by: nick.aevum.de [EMAIL PROTECTED]

~  - http://rt.cpan.org/Public/Bug/Display.html?id=28824
~Documentation Additions
~Submitted by: [Perrin Hawkins [EMAIL PROTECTED]]

- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIJNYodbiP+9ubjBwRAmwEAKCMkxQ9gTgT+KTZkJaPwZYHK2DQaQCggzGz
pxJ0WUjYYsQ15MuSAvvNVOs=
=8fsN
-END PGP SIGNATURE-


Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-08 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Simon Bertrang wrote:
| +typedef void * apr_thread_rwlock_t;
and
+if ($path =~ m/(Thread|Global)(Mutex|RWLock)/) {
~From  gozer

Committed and verified as working.
http://svn.apache.org/viewvc?rev=654655view=rev

WOOT!


- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFII5IUdbiP+9ubjBwRAoUaAJ9jTUIISasa2secwA1sat/TPVCMzwCfSdi7
h2wLYfLETPU579sV8Gk9qYg=
=g2fr
-END PGP SIGNATURE-


[FreeBSD]: port - www/mod_perl2 updated to 2.0.4

2008-05-08 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123535

Not committed yet, but will be soon.

- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFII6SSdbiP+9ubjBwRApAOAJwLz/IlRq+fQoKcs4iASo8FPyZdwgCfazhZ
5d7hMktuI16+DjIgqlCAt0E=
=X62d
-END PGP SIGNATURE-


[FreeBSD]: port - www/p5-Apache-Reload updated to 0.10

2008-05-08 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123536

Not yet committed...

- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFII6TpdbiP+9ubjBwRAvnfAJ9l5nFxfgpzRB6FWoLr08/h5ihTzwCeP3Sa
qQjC+WPbTWdyHodENZolkfE=
=/xBr
-END PGP SIGNATURE-


[FreeBSD]: port - www/p5-Apache-DB updated to 0.14

2008-05-08 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123539

Not comitted yet, but will be soon.

- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFII6UbdbiP+9ubjBwRAk/CAJ9L4ycTXI8NEVFIcZLYaOisB+lLUQCfT89W
8994X+DOUPcXAv6lb9QCKDA=
=WtCx
-END PGP SIGNATURE-


Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-03 Thread Philip M. Gollucci

Simon Bertrang wrote:

src/modules/perl/modperl_apache_compat.h
 typedef unsigned long apr_os_thread_t;
 typedef void * apr_thread_mutex_t;
+typedef void * apr_thread_rwlock_t;
 #endif
Would not it better to just include the appropriate thread file headers 
from APR?  Also, as you can that typedef is wrong :)


typedef struct apr_thread_rwlock_t apr_thread_rwlock_t;

As an added benefit, you don't have to come remember to add to this
when exposing threaded features.

~/dev/repos/asf/apr/apr/tags/0.9.17/include
ls -1 apr_thread_*
apr_thread_cond.h
apr_thread_mutex.h
apr_thread_proc.h
apr_thread_rwlock.h



Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-01 Thread Philip M. Gollucci

Simon Bertrang wrote:

On Thu, May 01, 2008 at 09:42:52AM -0700, Fred Moyer wrote:

Simon Bertrang wrote:

Hi,
i'm trying to update mp2 but it fails to finish compilation.
Specifically, it fails at Base64:
...
cp Base64.pm ../../../blib/lib/APR/Base64.pm
/usr/bin/perl /usr/libdata/perl5/ExtUtils/xsubpp  -typemap 
/usr/libdata/perl5/ExtUtils/typemap -typemap 
/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs/typemap  Base64.xs  
Base64.xsc  mv Base64.xsc Base64.c
cc -c  -I/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/src/modules/perl 
-I/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs -I/usr/local/include/apr-1/ 
-I/usr/local/include/apr-1/ -I/usr/local/include/db4 -I/usr/local/include -I/usr/local/include/apache2  
-fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -I/usr/local/include -DMOD_PERL -DMP_COMPAT_1X 
-D_POSIX_THREADS -O2 -DVERSION=\0.009000\  -DXS_VERSION=\0.009000\ -DPIC -fPIC 
-I/usr/libdata/perl5/amd64-openbsd/5.8.8/CORE  -DMP_HAVE_APR_LIBS Base64.c
In file included from Base64.xs:24:
/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67:
 error: syntax error before '*' token
/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67:
 warning: data definition has no type or storage class
*** Error code 1

Stop in 
/usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.0.4/mod_perl-2.0.4/WrapXS/APR/Base64
 (line 92 of /usr/share/mk/sys.mk).
...

I did a lot of testing with mod_perl-2.0.3 yesterday, so i can at least
assure that a working environment hasn't changed in the meantime.
Unfortunately i haven't found a fix for this yet, hence this mail.

Has someone of you an idea where i need to look to get it solved?
Pgollucci found a similar issue with FreeBSD, Gozer posted a patch that may 
fix it.  Suggest trying out the patch:


http://www.gossamer-threads.com/lists/modperl/dev/97018?search_string=Base64.xsc;#97018



Looked promising but unfortunately didn't help; same as before.
And i'm obviously also using the non-threaded version of apr.

But thanks for the pointer anyway.
I haven't gotten to looking at this again yet, but I may give it a spin 
tonight/tomorrow.



--

Philip M. Gollucci ([EMAIL PROTECTED]) 703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.shtml
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Apache::DBI limit on connection pool

2008-04-25 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Perrin Harkins wrote:
| On Fri, Apr 25, 2008 at 9:43 AM, Slinky [EMAIL PROTECTED] wrote:
|  I'm making use of the two to maintain a pool of connections to Oracle.
|
| Well, you're not really. :)
| Apache::DBI doesn't do what most people would consider pooling since
| sharing connections between processes is not possible.  It just makes
| your connections persistent so that you don't have to reconnect each
| time.
|
|  Want I'd like to know is, is there a way to limit the size of the pool?
|
| Either set the number of processes low, as Doug suggested, or don't
| use Apache::DBI on your dev server.
|
| - Perrin
FWIW: For what its worth, Stas and someone where workign on DBI::Pool,
but gave up.

See Also, httpd's mod_dbd and mod_dbd_mysql which would be cool to get
some perl bindings for.


- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIEiwqdbiP+9ubjBwRAsqnAJwL2QFblgbm2W+Y7eFn0fKOkcFQKQCfcDX8
0lApeJcnndOcIcom4kKny3I=
=bAE5
-END PGP SIGNATURE-


Re: What happened with Apache2::Reload in mod_perl-2.0.4?

2008-04-21 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philippe M. Chiasson wrote:
| And as the latest Release Manager, I must say that having to release 3
| extra CPAN modules along with each mp2 releases is going to be a PITA.
|
| http://svn.apache.org/[...]/Apache-Test/tags/1.31
Lots of svn:externals at play here, all perl/modperl/tags/* should have
externals that point to other perl/[project]/tags/* otherwise the tags
are useless after the fact.

Ideally, we should _shutter_ branch for releases and update the
externals there so that the generated tar.gz contains the correct code
for us to vote on.

I believe I documented it this way for httpd/apreq

See also, Apache-DBI, Apache-Reload, and Apache-SizeLimits
I believe all 4 have RELEASE notes for this we can copy from.

| The only negative is that if a change is made to say Apache-Test to fix a
| problem mod_perl needs/wants, it complicates things a little. I make the
| fix in A-T, making sure it fixes mod_perl's problem. If sure of that,
| I proceed to release A-T. Once released, I can now test mod_perl against
| this new A-T by locally changing the tag the svn:external is pointing to,
| and if it solves to problem and doesn't create new ones, checkin the new
| external definition.
Something like that.  Anyway you cut it, the other 3 have to be
'released' first if they have updates you need.

| Anyhting terribly obvious I am missing here ?
/me duck and hide




- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDRJ2dbiP+9ubjBwRApkAAKCQfNKPWLX7gkl22Lk+DpUKXXi5twCeM5me
nKhZiYeES6UXYzSw0Z/IEaI=
=rppi
-END PGP SIGNATURE-


Re: What happened with Apache2::Reload in mod_perl-2.0.4?

2008-04-18 Thread Philip M. Gollucci

Geoffrey Young wrote:
so I guess this means a mp2 release should (going forward) include _and_ 
imply a new release of


  o mp2
  o Apache-Test
  o Apache-Reload
  o Apache-SizeLimit


--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: svn commit: r617965 - /perl/modperl/trunk/ModPerl-Registry/t/conf/extra.conf.in

2008-02-03 Thread Philip M. Gollucci

On Sun, 3 Feb 2008, [EMAIL PROTECTED] wrote:


Author: gozer
Date: Sun Feb  3 01:10:04 2008
New Revision: 617965

URL: http://svn.apache.org/viewvc?rev=617965view=rev
Log:
Apache::Reload isn't part of the core anymore, so don't expect
it to be available.
I thought this took a similiar root to Apache-SizeLimit and is pulled in 
via and SVN external.


Am I mistaken?




Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] libapreq2 2.09-RC2

2007-08-08 Thread Philip M. Gollucci

Are we going to have 2.09 release? It's been quite some time since RC2
actually, i'd like to see an RC3-- there was an issue I kept complaining 
about  that Joe was going to solve thanks to some testing by 
[EMAIL PROTECTED] -- reference the posting on 2007.05.25

The RC3 was what I meant.

what are you doing there, if you don't mind me asking... i noticed that they 
were hiring ruby people a while back.  i feared we lost you.
The only and only System Admin (FreeBSD + ruby/rails) and worthless 
'windows business' network.


The fun comes soon when we move into Equinix.


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: [RELEASE CANDIDATE] libapreq2 2.09-RC2

2007-08-06 Thread Philip M. Gollucci

On Tue, 7 Aug 2007, Bojan Smojver wrote:


Are we going to have 2.09 release? It's been quite some time since RC2
went out...

That was the plan whenever I made the branch way long ago.
After moving, loosing a datacenter, and being swamped at work, I haven't 
read a single mailing list since April.


Supposedly, this is going to lighten up after August when my startup goes 
lives (Aug 10).


My first order of business though is to vote on the apreq 1 RC so it can 
go unless I missed it.


If I am taking too long and you feel up to it, please feel free to give it 
a whirl.


I'll try to answers questions too if so.


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: [Fwd: Call for Papers Opens for ApacheCon US 2007]

2007-04-23 Thread Philip M. Gollucci

Geoffrey Young wrote:

Issac Goldstand wrote:

ISn't that kind of short notice?  Even for a proposal and certainly for
the paper...


it is what it is, and I suspect that the deadline is meant to be just
before the conference committee meets for ApacheCon EU the following week.

as for the distinction between proposal and paper you imply, there
really isn't one - this should really be call for proposals as all
that's required is a short description of your suggested conference
session or tutorial (as opposed to a full academic paper or somesuch).


From planners@,
The correct date is Monday, April 30th, not 23rd. Thanks.


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: libapreq2-2.08 installation troubles - missing mod_perl source files

2007-04-20 Thread Philip M. Gollucci

Did you actually make install in the mod_perl source tree ?


My configure line is:
./configure --enable-perl-glue
--with-apache2-apxs=/usr/local/apache2/bin/apxs
--with-perl=/usr/local/bin/perl

I use this typically
./configure \
--prefix=$SOFTWARE/apreq/2.08/5.8.8-2.2.4-prefork-2.0.3 \
--with-perl=$SOFTWARE/perl/5.8.8/bin/perl \
--with-apache2-apxs=$SOFTWARE/httpd/2.2.4/prefork/bin/apxs \
--enable-perl-glue \
--enable-maintainer-mode

Also, fixed in svn for 2.09 is an bug for autoconf 2.60
Other versions work fine.

I believe you are hitting the autoconf bug based on the below combined
with forgetting to do a make install in the mod_perl tree.

Changes:
 Build [Philip M. Gollucci]
  code around |#_!!_#| autoconf 2.60 bug.
http://svn.apache.org/viewvc?view=revrevision=439245



cc -c  -I/usr/local/src/libapreq2-2.08/glue/perl/xs
-I/usr/local/src/libapreq2-2.08/include
-I/usr/local/src/libapreq2-2.08/glue/perl/xsbuilder
-I/usr/local/apache2/include  -I/usr/local/apache2/include  -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe
-I/usr/local/include
-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DMOD_PERL
-DMP_COMPAT_1X -DLINUX=2 -D_LARGEFILE64_SOURCE -O2   -DVERSION=\2.08\
-DXS_VERSION=\2.08\ -fpic
-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE   Apache2.c
In file included from Apache2.xs:39:
/usr/local/src/libapreq2-2.08/glue/perl/xsbuilder/apreq_xs_postperl.h:21:34:
error: modperl_perl_unembed.h: No such file or directory
/usr/local/src/libapreq2-2.08/glue/perl/xsbuilder/apreq_xs_postperl.h:24:33:
error: modperl_common_util.h: No such file or directory
In file included from Apache2.xs:45:
/usr/local/src/libapreq2-2.08/glue/perl/xsbuilder/APR/Request/Apache2/APR__R
equest__Apache2.h:1:22: error: mod_perl.h: No such file or directory
Apache2.c: In function 'XS_APR__Request__Apache2_handle':
Apache2.c:66: warning: initialization makes pointer from integer without a



--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Problem with MODPERL_API_VERSION

2007-04-18 Thread Philip M. Gollucci

Frank Wiles wrote:
   BEGIN { 
use constant MP2 = eval { 
exists $ENV{MOD_PERL_API_VERSION} and

$ENV{MOD_PERL_API_VERSION} = 2
}; 
   }
In the future, =2 might matter, but for now its either undef or exactly 
== 2 which holds for 1.99023 and higher.


src/modules/perl/modperl_env.c
static modperl_env_ent_t MP_env_const_vars[] = {
MP_ENV_ENT(MOD_PERL, MP_VERSION_STRING),
MP_ENV_ENT(MOD_PERL_API_VERSION, MP_API_VERSION),
{ NULL }
};

from  lib/ModPerl/Code.pm
 my $api_v = $self-{build}-{API_VERSION};
 print $h_fh qq(#define MP_API_VERSION $api_v\n);

from Makefile.PL:
 $build-{API_VERSION} = $mod_perl2::API_VERSION;

from lib/mod_perl2.pm
# easy to parse request time  API version - use
# $mod_perl2::VERSION for more granularity
our $API_VERSION = 2;


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: CPAN Upload: P/PG/PGOLLUCCI/Apache-Peek-1.07.tar.gz]

2007-04-17 Thread Philip M. Gollucci

The uploaded file

Apache-Peek-1.07.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Peek-1.07.tar.gz
  size: 49951 bytes
   md5: a259e9065eed9f0fcbfcf55cb5affc07

CHANGES:

=head 1.07 Tue Apr 17 15:00:55 PDT 2007

- Fix invalid prereq check of mod_perl.pm vs mod_perl2.pm
  [Dintelmann, Peter [EMAIL PROTECTED]]


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Call for Papers Opens for ApacheCon US 2007]

2007-04-16 Thread Philip M. Gollucci


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---
PMCs, please send this announcement to your various users@ and devs@  
mailing lists, as appropriate for your particular community.  
Remember, your project can only be represented at ApacheCon if your  
community submits talks proposals:






Call for Papers Opens for ApacheCon US 2007

The Call for Papers is now open for ApacheCon US, to be held November  
12-16 at the Peachtree Westin, Atlanta. The conference will consist  
of two day of tutorials (November 12-13) and three days of regular  
conference sessions (November 14-16).


Please log in to the website at http://apachecon.com/html/login.html  
to submit your proposal. Further details about fees and are  
avaialable on the CFP form.


Topics appropriate for submission to this conference are manifold,  
and may include but are not restricted to:


* ASF projects
* ASF-Incubated projects
* Scripting languages and dynamic content such as Java, Perl, Python,  
Ruby, XSL, and PHP
* New technologies and broader initiatives such as Web Services and  
Web 2.0
* Security and e-commerce, performance tuning, load balancing, and  
high availability

* Business and community issues surrounding the ASF and Open Source

The paper submission deadline is Monday, 28 April 2007, Midnight GMT.

Thanks, and we hope to hear from you, and to see you in Atlanta.
--
The ApacheCon Planners
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---End Message---


Re: Apache::DBI questions

2007-03-29 Thread Philip M. Gollucci

Kelvin Wu wrote:
1. Do I still need to use 'use Apache::DBI;' in my script (or in 
startup.pl) if I already set 'PerlModule Apache::DBI' in httpd.conf?

you should _never_ use Apache::DBI in your script itself.
1)
httpd.conf
Perl
  use Aapche::DBI ();
/Perl

2) httpd.conf
PerlModule Apache::DBI

3) startup.pl
  use Apache::DBI ();

Are all equivalent

2. Will Apache::DBI work (caches and manages connections etc) if I dont 
change my CGI script DB calls but simply adding one line use Apache::DBI?

Yes.

3. How to limit DB connections from script? Or number of 
connections simply equals to number of HTTPd?

in prefork mpm, you'll need at least 1 $dbh perl httpd child process
Theres nothing stopping your from opening more though (aka 2 different 
dbs 1 each)



4. By setting $Apache::DBI::DEBUG = 2; Where output goes to?

STDERR aka error_log

5. How many DB connections will be established by using 
Apache::DBI-connect_on_init()?

This doesn't change the number of connects, this just sets it so that
when httpd children are spawned we add a PerlInitChildHandler() that
create/connects the $dbh for this child.  Without this, the _first_
request per child will have to actually connect to the db and _then_
it will be managed by Apache::DBI.

6. If I use Apache::DBI-connect_on_init() in startup.pl, will it take 
care of DBI-connect() in my script? eg, DBI-connect() wont actually 
create a new connection.
connect_on_init() has no effect on the script.  DBI knows about 
Apache::DBI and if Apache::DBI is loaded (correctly) will forward all

calls to DBI::connect() - Apache::DBI::connect()

7. If I do NOT use Apache::DBI-connect_on_init() in startup.pl, will 
Apache::DBI still manage DBI-connect() in my script? eg, wont actually 
create a new connection if there is a free connection created by 
ex-DBI-connect() call.

Ditto #6.

8. Will $dbh-disconnect() simply be ignored by using Apache::DBI or, it 
will kill DB connection?
Apache::DBI overrides DBI::disconnect.  You should not change your 
current $dbh-disconnect() calls.


# overload disconnect
{
  package Apache::DBI::db;
  no strict;
  @ISA=qw(DBI::db);
  use strict;
  sub disconnect {
  my $prefix = $$ Apache::DBI;
  Apache::DBI::debug(2, $prefix disconnect (overloaded));
  1;
  }
  ;
}

Notice all it does it write to the log.

--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Fw: Re: mod_perl closes apache's stdin and/or stdout

2007-03-29 Thread Philip M. Gollucci

Cough: http://p6m7g8.net
No issues here.

--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Fw: Re: mod_perl closes apache's stdin and/or stdout

2007-03-29 Thread Philip M. Gollucci

Stephane Chazelas wrote:

On Thu, Mar 29, 2007 at 01:59:44PM -0700, Philip M. Gollucci wrote:

Cough: http://p6m7g8.net
No issues here.

[...]

Yes, I know what viewvc is -- its actually running there too.

I'm about to be on vacation (away from computers) and have some stuff to 
do first.  I'll be back on April 12 or so and will research this then if 
its not already resolved.



--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.91 RC4

2007-03-27 Thread Philip M. Gollucci

Sorry, try again :(

The only change here included is:
 Fix Can't call method child_terminate on an undefined value
 By add_cleanup_handler() pass $r to _exit_if_to_big() via shift
 [David Wheeler [EMAIL PROTECTED]]

The rest are still in trunk-unstable.

Thats just the changes file though so need need for a new RC for that.
Feed back on the tar.gz soonish.

Philippe M. Chiasson wrote:

This release should be the final RC, the same as what would ship
in the latest mod_perl 1.30 RC2.

http://people.apache.org/~gozer/mp1/Apache-SizeLimit-0.91-rc4.tar.gz

Changes since 0.9 :

  *** HEADS UP - SHARED CODE BASE - HEADS UP  ***
  Apache-SizeLimit has been hybridized.
  It has been split into 3 packages.
1) Apache::SizeLimit  - User API for httpd 1.3.x / mod_perl 1.x
2) Apache2::SizeLimit - User API for httpd 2.x / mod_perl 2.x

3) Apache::SizeLimit::Core - Interal Shared Functionality
 _NEVER_ use this module directly.
[Philip M. Gollucci [EMAIL PROTECTED]]

Skip tests on OS X (darwin) due to broken getrusage(3)
[Fred Moyer [EMAIL PROTECTED],
 Philip M. Gollucci [EMAIL PROTECTED]]

Fix Can't call method child_terminate on an undefined value
By add_cleanup_handler() pass $r to _exit_if_to_big() via shift
[David Wheeler [EMAIL PROTECTED]]

Added a SUPPORT section to the docs.
[Dave Rolsky [EMAIL PROTECTED]]


Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/   m/gozer\@(apache|cpan|ectoplasm)\.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.91 RC4

2007-03-27 Thread Philip M. Gollucci

Geoffrey Young wrote:

Philippe M. Chiasson wrote:

This release should be the final RC, the same as what would ship
in the latest mod_perl 1.30 RC2.

http://people.apache.org/~gozer/mp1/Apache-SizeLimit-0.91-rc4.tar.gz

This tarball + the docs changes gozer/geoff commited looks good.

FreeBSD 6.2-STABLE i386
gcc 3.4.6

5.6.2   PASS
5.8.1   PASS
5.8.2   PASS
5.8.3   PASS
5.8.4   PASS
5.8.5   PASS
5.8.6   PASS
5.8.7   PASS
5.8.8   PASS

+1

--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Re: ports/110789: Update: www/p5-Apache-DBI 1.05 - 1.06 (security fix)]

2007-03-25 Thread Philip M. Gollucci

Enjoy.
--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
---BeginMessage---
Thank you very much for your problem report.
It has the internal identification `ports/110789'.
The individual assigned to look at your
report is: freebsd-ports-bugs. 

You can access the state of your problem report at any time
via this link:

http://www.freebsd.org/cgi/query-pr.cgi?pr=110789

Category:   ports
Responsible:freebsd-ports-bugs
Synopsis:   Update: www/p5-Apache-DBI 1.05 - 1.06 (security fix)
Arrival-Date:   Sun Mar 25 07:10:03 GMT 2007
---End Message---


Re: [RELEASE CANDIDATE] mod_perl-1.30 RC1

2007-03-25 Thread Philip M. Gollucci

  o follow the Apache-Test lead and release a separate Apache-SizeLimit
distribution to CPAN for each mp1 and/or mp2 release

In the end this was going to be the case as I forsee it.


  o yank the svn link and replace with static files representing the
current state of things on CPAN
I think for 1.30 we probably should unless we can also release this by 
say Tuesday.  Then I can pull it back in for 1.31.


I think about today and make a final decision tonight PDT but likely 
I'll look into rolling it back for now.



I feel like you've done most of the work on A-SL, so you're in the best
position to judge which path we should take, based on the state of
current svn code.  meaning, if you deem it stable then I think we're
fine, but if it's in the middle of some grand migration experiment you
haven't had time to finish then we probably ought to back it out.
The import and hybridization work would make that true.  I'm kind of 
sure its done, but I like my security releases to be just that security 
fixes only.




--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r521890 - in /perl/modperl/branches/1.x: Changes MANIFEST Makefile.PL RELEASE lib/mod_perl.pm

2007-03-25 Thread Philip M. Gollucci

perl/modperl/branches/1.x/RELEASE
+ % make tag
Since Apache-SizeLimit is an external, we need to add instructions to 
update svn:external properties in the tag director after being made to 
point at something other then 'trunk' or this tag will be invalid after 
the first commit to A-SL post release.


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] mod_perl-1.30 RC1

2007-03-24 Thread Philip M. Gollucci

Philippe M. Chiasson wrote:

The mod_perl 1.30 release candidate #1 has arrived. It can be
downloaded here:

http://www.apache.org/~gozer/mp1/mod_perl-1.30-rc1.tar.gz

MD5 : 639e045d782a66746a70b7948dfa
SHA1: 942eaffe4570a9060b3a0ed7de52ac902d054cbb



Pull in the new Apache-SizeLimit from
http://svn.apache.org/repos/asf/perl/Apache-SizeLimit/trunk
and obsolete the previous lib/Apache/SizeLimit.pm.
[Philip M. Gollucci]

So this is currently an UnReleased version of Apache-SizeLimit.
Is everyone okay with its current state and that its unreleased ?





--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: MP 2.0.3 Apache 2.2.3 - auth tests fail

2007-03-23 Thread Philip M. Gollucci
,
  'Apache2::ServerUtil::get_server_built()');

-ok t_cmp(Apache2::ServerUtil::get_server_version,
+ok t_cmp(Apache2::ServerUtil::get_server_description,
  $version,
+ 'Apache2::ServerUtil::get_server_description()');
+
+my $server_version = Apache2::ServerUtil::get_server_version;
+ok t_cmp($version,
+ qr/^$server_version/,
  'Apache2::ServerUtil::get_server_version()');

+my $server_banner = Apache2::ServerUtil::get_server_banner;
+ok t_cmp($version,
+ qr/^$server_banner/,
+ 'Apache2::ServerUtil::get_server_banner()');
+
 Apache2::Const::OK;
 }




Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5




--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[RELEASE CANDIDATE] Apache-SizeLimit 0.91 RC2

2007-03-23 Thread Philip M. Gollucci

A release candidate for Apache-SizeLimit 0.91-RC2 is now available.

http://people.apache.org/~pgollucci/asl/Apache-SizeLimit-0.91-rc2.tar.gz

Please download, test, and report back.

I believe this will be the last Release Candidate for .91.

*** Pending a successful release, This package will be integrated into
*** both mod_perl 1.x and mod_perl 2.x CORE distributions.

Changes since 0.91-RC1:

 - Minor fixes to the test suite to skip them on darwin


Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: CPAN Upload: P/PG/PGOLLUCCI/Apache-DBI-1.06.tar.gz]

2007-03-23 Thread Philip M. Gollucci

The uploaded file

Apache-DBI-1.06.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.06.tar.gz
  size: 33833 bytes
   md5: ba05c9b7a437e8d974c81d948d162825

No action is required on your part
Request entered by: PGOLLUCCI (Philip M. Gollucci)
Request entered on: Fri, 23 Mar 2007 09:05:45 GMT
Request completed:  Fri, 23 Mar 2007 09:06:35 GMT

Thanks,

Changes Since 1.05:

  - MP2/AuthDBI: Fixed Apache::AuthDBI::debug() to
actually work.
Submitted by: [Kevin Appel [EMAIL PROTECTED]]

  - Bump minium required perl version to 5.6.1 to match DBI
(Changes in DBI 1.49 (svn rev 2287),   29th November 2005)
Philip M. Gollucci [EMAIL PROTECTED]



Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


  1   2   3   4   5   6   7   8   >