new editions of older mod_perl books?

2012-03-10 Thread David Christensen
modperl: I own "Writing Apache Modules with Perl and C, The Apache API and mod_perl". I worked my way through the book several years ago when Apache 1.3 and mod_perl 1.0 were current; the book was excellent: http://shop.oreilly.com/product/9781565925670.do "Practical mod_perl" and "mod

Galbraith, P., 2009, "Developing Web Applications with Apache, MySQL, memcached, and Perl"

2011-06-04 Thread David Christensen
mod_perl users: I have an idea for a WWW CMS framework and am looking for a current book on production-grade Perl WWW development. I'm more interested in learning how things work from the ground up rather than learning any particular framework. I'm considering buying: - Galbraith, P., 2009

RE: *nix distro compatibility (was Re: survey)

2005-09-14 Thread David Christensen
Perrin Harkins wrote: > I don't think this changes your situation any. CGI is not really > fast enough to use, so you still need mod_perl or FastCGI. Because > the current crop of linux distros came out before mod_perl 2 but > couldn't use mod_perl 1 (since they are using apache 2), they have > p

RE: catalyst/Debian (was Re: *nix distro compatibility)

2005-09-14 Thread David Christensen
Carl Johnstone wrote: > There's stuff available for Debian, but as with mod_perl2 itself, > catalyst is a little young - there's nothing in stable. > There are some pacakages in testing, if you're happy to run that (and > recommend your customers run that should you release before Debian) - > the

RE: *nix distro compatibility (was Re: survey)

2005-09-13 Thread David Christensen
Perrin Harkins wrote:>? > If you want to sell it, and don't want to spend all your time > debugging vendor oddities, I suggest you target popular versions of > RHEL and Fedora Core and build your own RPMs for perl, mod_perl, > apache, and your application. > People with ISPs where they can't instal

RE: *nix distro compatibility (was Re: survey)

2005-09-13 Thread David Christensen
Jeff wrote: > Debian provide a tested, stable environment, usually with added > security factor. We rolled our own once to solve the libc6 2.7 memory > bugs that hit Perl, to be bitten by intermittent and obscure > interaction bugs (MySQL/Perl mid-query dropping db connections etc). > We persevered

FW: *nix distro compatibility (was Re: survey)

2005-09-11 Thread David Christensen
I wrote: >> Package: libapache2-mod-perl2 >> Versions: >> 1.999.21-1(/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_ >> main_binary-i386_Packages)(/var/lib/dpkg/status) Philip M. Gollucci wrote: > EW! > I'd recompile and update... using the unsupported API is going to drive y

RE: *nix distro compatibility (was Re: survey)

2005-09-11 Thread David Christensen
;t boot the CD and segfaults when I insert the boot floppy the second time. I downloaded 4.11 ISO's just now, and will try those next. Any other suggestions/ comments/ recommendations? David ########### # $Id: Hello.pm,v 1.8 2005/07/20 23

RE: *nix distro compatibility (was Re: survey)

2005-09-11 Thread David Christensen
Perrin Harkins wrote: > I hear you, but I think anyone who is building a serious web app is > better off compiling the important parts (apache, perl, mod_perl) > themselves. The options that the packagers choose are intended to > meet the needs of the largest cross-section of users, not to work >

Re: *nix distro compatibility (was Re: survey)

2005-09-10 Thread David Christensen
Carl Johnstone wrote: > Sounds like a good idea, and if we point people in the right > direction to get updated versions/backports for their distro that > might help with the rest. > As a Debian user I'd like to move to mod_perl2 proper, however I > don't want to have to compile it for myself. So I

FW: Version Control

2005-07-30 Thread David Christensen
I wrote: > I was going to say, "watch out for subversion's license" (free only > for free projects with public access; otherwise a paid commercial > license is required), ... My mistake. The above comment applies to BitKeeper: http://www.bitkeeper.com/Products.BK_Pro.FAQ.html David

RE: Version Control

2005-07-27 Thread David Christensen
David Hofmann wrote: > My company looking at setting up some kind of versioning control software. ... > I understand just enough to be dangerous with CVS. I was going to say, "watch out for subversion's license" (free only for free projects with public access; otherwise a paid commercial license

RE: Threaded perl messages

2005-07-16 Thread David Christensen
Neil Gunton wrote: > I am currently using Embperl 1.3.6, with Apache 1.3.33 and mod_perl > 1.29 on a new install of Debian Sarge. Previously this was running on > Debian Woody without issues, but there appears to be a new threaded > version of perl (5.8.4) which is causing messages to the error log

RE: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-07-16 Thread David Christensen
: RandomPicture.pm,v 1.7 2005/07/17 03:03:17 dpchrist Exp $ # # Redirect to random picture per [1] pp. 123-128 using internal # redirection and err_header_out(). # # Copyright 2005 by David Christensen <[EMAIL PROTECTED]> # # References: # # [1] Lincoln Stein & Doug MacEachern, 1999, "

RE: Required lines in httpd.comf

2005-07-10 Thread David Christensen
janbro wrote: > ... Now I'd like to get an output by calling the test.pl thru > localhost/perl/test.pl but all I get is the source code it http://perl.apache.org/maillist/modperl.html#Searchable_Archives http://aspn.activestate.com/ASPN/Mail/Message/modperl/2733087 HTH, David

RE: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-07-06 Thread David Christensen
Geoffrey Young wrote: > ... here's the code from http_request.c in 1.3: >request_rec *new; >... >new->headers_in = r->headers_in; >new->headers_out = ap_make_table(r->pool, 12); > ... this is an apache thing, not a mod_perl thing, Okay. > my $sub = $r->lookup_uri($lucky

RE: DBI problem

2005-07-06 Thread David Christensen
Niklas Saers wrote: > ... The perl script below works fine as a CGI from Apache. But when > running it through mod_perl, I get: > [error] Can't locate object method "connect" via package "DBI" > (perhaps you forgot to load "DBI"?) at /home/ab1/test5.pl line 5.\n > ... > use DBI(); > print "Content-

RE: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-07-05 Thread David Christensen
d headers and internal_redirect() appears to be ignoring them. Any suggestions? TIA, David -- ### # $Id: RandomPicture.pm,v 1.6 2005/07/06 00:56:53 dpchrist Exp $ # # Redirect to random picture per [1] pp. 123-128. #

RE: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-07-05 Thread David Christensen
Frank Maas wrote: > You conclude somehwere that IE is not honouring the Expires header, > but that need not be completely true. The only thing that header is > telling IE is that it may not _unconditionally_ reuse the same data > the next time it is needed. And most probably IE complies to it. > S

RE: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-07-01 Thread David Christensen
Thank you everyone for your thoughts and help. :-) Geoffrey Young wrote: > $r->no_cache(1) ... That's the kind of answer I was hoping for. RTFM "perldoc Apache" looks encouraging. Implement it (see CVS diff below). Nope -- IE still displays the same image every time. :-( Let's do some tro

RE: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-06-30 Thread David Christensen
Philip M. Gollucci wrote: > Just for kicks, can you try it in another browser like FireFox ? A logical suggestion, but: 1. IE with default security and privacy settings is my target browser. If IE has an issue with internal_redirect(), I need to deal with it at the mod_perl end. 2. I h

Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-06-30 Thread David Christensen
script PerlHandler Apache::RandomPicture PerlSetVar PictureDir /images RandomPicture.pm: ### # $Id: RandomPicture.pm,v 1.3 2005/06/30 03:52:18 dpchrist Exp $ # # Redirect to random picture per [1] pp. 123-128. # # C