Re: OffTopic (slightly) - Module Feedback Wanted - Authen::Ticketless

2007-11-14 Thread David Nicol
have you read up on how CHAP (Challenge Handshake Authentication Protocol) worked for dialup authentication? IIRC it was designed to allow secure-enough authentication over a sniffable channel (modem traffic) at the cost of forcing plaintext password storage on the server side. http://en.wikiped

[mp2] mod_perl segfaults in XS_Apache2__RequestRec_send_cgi_header

2007-11-15 Thread David Eisner
p/lib); 1; Here's my handler (a work in progress): # # mod_perl handler to check whether user # has accepted the Calce Legal Agreement. # # Author: David Eisner # Date: November 2007 package Calce::CheckCLA; use strict; use warnings; use Apache2:

[mp 2.0.4-dev] mod_perl segfaults httpd with simple CGI redirect

2007-11-21 Thread David Eisner
-8<-- Start Bug Report 8<-- 1. Problem Description: [System: Solaris 9, apache-2.0.61, Perl 5.8.8, mod_perl 2.0.3, and also mod_perl 2.0.4-dev (from svn checkout yesterday). httpd segfaults when I access this CGI, on the second or subsequent access (but not

Re: [mp 2.0.4-dev] mod_perl segfaults httpd with simple CGI redirect

2007-11-21 Thread David Eisner
rhaps error messages in the error_log, but not an invalid memory access. In any case, I won't (intentionally) do that again. Thanks. -David -- David Eisner http://cradle.brokenglass.com

Re: Connection Pooling

2007-11-24 Thread David Scott
My information is not up to date -- I looked into this a year or so ago. With the prefork MPM, connection pooling is a problem because of the way the Apache process model works. With a threaded MPM, the situation is different. I think the preferred approach (and I don't know how well it work

Hook Ordering

2007-11-27 Thread David Eisner
his? I checked the documentation and it seems incomplete, indicating that Hook Ordering is "not working." [1] Is that the end of the story? Thanks. -David [1] http://perl.apache.org/docs/2.0/user/handlers/intro.html#Hook_Ordering__Position_ -- David Eisner http://cradle.brokenglass.com

Re: Hook Ordering

2007-11-27 Thread David Eisner
On Nov 27, 2007 10:01 AM, Geoffrey Young <[EMAIL PROTECTED]> wrote: > David Eisner wrote: > > desired behavior is that the user first gets the Basic AuthType > > username/password dialog, and if they successfully login, then they > > get taken to the agreement page.

Re: REST

2007-11-27 Thread David Nicol
> Beginner wrote: > > http://www.myfactory.com/parts/1234 > > > > The resource after /parts could in theory be any number but you would > > not want to have a for each part that existed. Rather > > you'd want the handler responsible for /parts to check your db and > > return either content or 400

Re: Flex

2007-12-02 Thread David Scott
AJAX is anything but time-consuming once you get the hang of it. I much prefer it to traditional server-side dynamic page construction, which really is time-consuming. If you haven't seen ExtJS yet, you're missing something: http://www.extjs.com. d Perrin Harkins wrote: On Dec 1, 2007 3:

Re: Flex

2007-12-02 Thread David Scott
I use Aptana (www.aptana.com) for web development (JS/CSS/HTML). Firebug is good for debugging DOM issues on Firefox but unfortunately doesn't do you much good on IE. The cross-browser stuff you just do. d Perrin Harkins wrote: On Dec 2, 2007 6:10 PM, David Scott <[EMAIL PROTECTED

Re: Un-baking a baked cookie

2008-01-05 Thread David Dick
Perrin Harkins wrote: (As an aside, would somebody mind briefly explaining the difference between the Set-Cookie and Set-Cookie2 headers? I had never heard of Set-Cookie2, but a quick Google makes it sound like an RFC that never caught on. Agreed, with the extremely notable exception of HT

Paul Graham presents a golf hole

2008-02-11 Thread David Nicol
http://www.paulgraham.com/arcchallenge.html -- Anyone for four dimensional chess programming?

Re: Amazon

2008-02-22 Thread David Scott
Doesn't sound right to me that they would jettison the existing deployment unless it was really dysfunctional, which doesn't seem to be the case...I'm curious what the real story is. d Jonathan Vanasco wrote: I've heard from a few reputable sources that Amazon is looking to drop mod_perl, and

Re: Amazon

2008-02-26 Thread David Scott
I've seen that too. Some engineering managers have an absolute phobia when it comes to Perl. But some of these same managers turn right around and extol the virtues of Ruby. Go figure. As far as I can tell, beyond a lot of syntactic sugar the two are virtually indistinguishable - except tha

Re: Amazon

2008-02-26 Thread David Scott
k any smart person with good common sense would understand OO in no time... From: David Scott [mailto:[EMAIL PROTECTED] Sent: Tue 2/26/2008 9:06 AM To: modperl@perl.apache.org Subject: Re: Amazon I've seen that too. Some engineering managers have an absol

Re: reinitializing Perl's notion of $$ in mod_perl

2008-04-15 Thread David Nicol
On Tue, Apr 15, 2008 at 8:28 AM, Mark Blackman <[EMAIL PROTECTED]> wrote: > modperl_perl_init_ids() which itself eventually does a > > sv_setiv(GvSV(gv_fetchpv("$", TRUE, SVt_PV)), ids->pid); > > where ids->pid should contain the result of a recent getpid. > > *However* I note that in the main

Re: Best practices for returning 404/file-not-found pages inside and outside of mod_perl

2008-04-15 Thread David Nicol
On Tue, Apr 15, 2008 at 2:19 PM, Mark Stosberg <[EMAIL PROTECTED]> wrote: > > return a true 404 Since MP already replaces the C function, it shouldn't be too tricky to abstract 404 and other error codes with by letting exit take arguments -- then you could do what you want with C< 404)>> for ins

Re: parameters taintness

2008-04-21 Thread David Nicol
On Mon, Apr 21, 2008 at 1:02 PM, Eli Shemer <[EMAIL PROTECTED]> wrote: > Using telnet/netcase is nice but it will be a nightmare to write a > debugger > script that will simulate all of the operations up to that point. (login, > submission of data to the page) http://search.cpan.org/author/PETD

Re: [OT] connection limitation

2008-05-28 Thread David Nicol
On Wed, May 28, 2008 at 12:51 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, May 28, 2008 at 12:54 PM, Sean Davis <[EMAIL PROTECTED]> wrote: >> I am looking for a >> meaningful way of limiting the number of connections (not really >> bandwidth, since we host VERY large static files) from a

Re: mod_perl2 newbie DBI question

2008-06-12 Thread David Kaufman
Hi Brian, "Brian Gaber" <[EMAIL PROTECTED]> wrote... my $region = param('region'); # ... my $sth = $dbh->prepare( "SELECT * FROM region_props WHERE region = '$region'" ); Works fine a few times and then: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual t

Re: secure media files without http_referer

2008-07-02 Thread David Nicol
even simpler is to rename the file every few minutes, and redirect them to the current name. On Wed, Jul 2, 2008 at 2:26 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, Jul 2, 2008 at 3:18 PM, tmpusr889 <[EMAIL PROTECTED]> wrote: >> A cookie would certainly work, but I was trying to find

Re: How to debug bizarre memory corruption in mod_perl

2008-07-09 Thread David Kaufman
"Stephen Clouse" <[EMAIL PROTECTED]> wrote: > Under [mod_perl 2 and perl 5.10 on Fedora 9] I am getting some of the > most bizarre and insidious perl core errors I've ever seen in my 15 > years of using perl. > > Attempt to free unreferenced scalar: SV 0xbd266be4, Perl interpreter: > 0xba01c410 at

Re: How to debug bizarre memory corruption in mod_perl

2008-07-10 Thread David Kaufman
Hi Stephen, "Stephen Clouse" <[EMAIL PROTECTED]> wrote ... > ...I did manage to figure out the issue today. You may or may not be > surprised to find it was this: > > my $foo = "bar" if $baz; Yikes! My bad :-) It must've been a different scary memory error that I encountered with List::Util.

Re: How to debug bizarre memory corruption in mod_perl

2008-07-11 Thread David Kaufman
Hi Mark, "Mark Hedges" <[EMAIL PROTECTED]> wrote: > > David Kaufman wrote: > >> my $foo = 'bar' if $baz; >> >> I wish it would still DWIM, and by that I mean the compiler should >> detect >> my declaration + assignment + conditio

Re: a require problem

2008-08-29 Thread David Nicol
On Fri, Aug 29, 2008 at 11:46 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Fri, Aug 29, 2008 at 10:53 AM, Berg, Eric <[EMAIL PROTECTED]> wrote: >> eval( $file ) ... did not successfully execute the code in $file. that isn't supposed to. eval( `cat $file`) should though. Or use Tie::S

Re: Any success with storing photos in a database?

2008-09-29 Thread David Nicol
On Mon, Sep 29, 2008 at 3:16 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Oh, and I've thought of another advantage, in an Apache/web context : to > send the content of a file to a browser, you can take advantage of the > sendfile() call, which is very efficient. Now if your file is a blob in a

Re: Any success with storing photos in a database?

2008-09-30 Thread David Nicol
On Tue, Sep 30, 2008 at 11:40 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > I don't use it, but it can do auth and serve images. as can Apache itself, with appropriate access control. The two steps (this should not be news to anyone here) are checking the auth then something like "exec cat $fil

Re: Generic print concatenation question

2008-10-22 Thread David Nicol
On Wed, Oct 22, 2008 at 5:28 AM, André Warnier <[EMAIL PROTECTED]> wrote: > another one I haven't tried how about an Inline::C function that wraps printf and takes $var2 as an argument, and another that takes $var1 as an argument which overwrites the static buffer allocated for the format string?

Re: Apache::archive in modperl2?

2008-11-20 Thread David Moreno
On Tue, 2008-11-18 at 12:12 -0500, db wrote: > I plan to move Apache 1.3 to 2.0, and modperl 1 to modperl 2. One of > the perl module currently used is Apache::archive. Is there a new > name for the module in modperl2? Or it can still being used in > modperl2? http://search.cpan.org/~damog/Apac

Re: which reverse proxy for modperl?

2008-12-17 Thread David Nicol
ldirectord will load-balance any number of back-ends; state has to be maintained on all of them the same though

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

2008-12-26 Thread David Ihnen
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . *** Packages of interest status: Apache2: - Apache2::Request : - CGI : 3.29 ExtUtils::Ma

Re: preserving request body across redirects

2008-12-29 Thread David Ihnen
Mark Hedges wrote: On Mon, 29 Dec 2008, David Ihnen wrote: Say the application's session times out, but the user posts something by clicking submit. They are redirected to the OpenID server but it says they are still logged in and returns a positive response. But you can't

Apache::Reload/ModPerl::Util/base.pm incompatibility prospective patch

2008-12-29 Thread David Ihnen
Philip M. Gollucci wrote: 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

Re: preserving request body across redirects

2008-12-29 Thread David Ihnen
Mark Hedges wrote: On Mon, 29 Dec 2008, David Ihnen wrote: Though that is, of course, specific to the application being programmed, utilizing client-side javascript active stuff rather than particular web server programming to transparently handle it on the server side using basic html2.0

Re: preserving request body across redirects

2008-12-30 Thread David Ihnen
Mark Hedges wrote: Thanks I really do appreciate your comments. On Mon, 29 Dec 2008, David Ihnen wrote: Yes, I am aware of how OpenID works. And it works in-band unless the application explicitly sidelines it - there is no inherent side-band communication that the client and server will

Re: preserving request body across redirects

2008-12-30 Thread David Ihnen
Mark Hedges wrote: On Tue, 30 Dec 2008, David Ihnen wrote: in the meantime server 556 dublin suffered a network connector air gap issue. A trouble ticket has been created. These things happen. client -> GET -> load balancer -> server 22 london -> looks up saved requestbody

Re: HTTP Response Headers fixup

2008-12-31 Thread David Ihnen
tp://perl.apache.org/docs/2.0/user/handlers/filters.html#C_PerlOutputFilterHandler_ You can also use output filter handler stage... just look for the header in the brigade and insert your own header instead. Though that sounds more complicated than the ready-made header fixup handler. :) David

Re: preserving request body across redirects

2008-12-31 Thread David Ihnen
subject. :) On Tue, 30 Dec 2008, David Ihnen wrote: Yes. But timtowdti on how that information is distributed. In my opinion any *framework* must not depend on the *application* having established a persistent backstore of shared session data, so that it can persist put/posts. You'r

Re: a2c controller method names

2009-01-02 Thread David Ihnen
nstead of having to do the hash dereference. Of course, you can program that sort of thing in AUTOLOAD too. ;) David

Re: a2c controller method names

2009-01-02 Thread David Ihnen
my particular object. I guess I'm saying consider the interface flexibility as you design the framework - there may be interest in doing something in the realm of setup before calling the method. David

Re: Apache2::Reload - Very fickle, or is it just me?

2009-01-14 Thread David Ihnen
thread may die, which may explain why several reloads don't work - but eventually you've killed each of the threads that were running, and the new ones initialize fresh and normal. David Patrick Rutkowski wrote: I'm currently using Apache2::Reload on a development machine, but I

Re: unsubscribe

2009-01-22 Thread David Nicol
the idea was floated on the anti-spam research group mailing list recently (dec 08) of the possibility of MUA software to offer an "unsubscribe" button when displaying a message with mailing list headers, possibly in place of the existing "This is spam!" button if any. I filed a feature request w

Re: Class method or Object method?

2009-01-29 Thread David Nicol
in general, doing gymnastics to support IS-A syntax when you have a HAS-A semantic is ill-advised. On Thu, Jan 29, 2009 at 11:54 AM, kropotkin wrote: > > Hi > > In general is it better to use a class method or object method? E.g I have a > class A which provides certain functionality. I just want

Re: Class method or Object method?

2009-01-29 Thread David Ihnen
an use the Nothing/Null pattern - return an object that, to its interface, looks like a cart (same methods) but putting something into it is a noop and getting its list of contents is always an empty set... thus avoiding constantly checking to see if the object is not available in your code. I'm babbling aren't I. David

Re: dealing with empty field names in query

2009-02-13 Thread David Nicol
On Fri, Feb 13, 2009 at 3:03 PM, Jonathan Vanasco wrote: > A simple typo could render your application broken. Or a hostile competitor.

Want module compatibility?

2009-03-05 Thread David Ihnen
rting to asking here. Want is a C/XS style module that extends wantarray by introspecting the context in which the current routine was called. Works nifty in base perl and its module tests, but in mod_perl it segfaults every time. Any thoughts on the matter from the mod_perl community? Hopefully, David

Re: set new environment variable

2009-03-13 Thread David Moreno
On 17:27 Fri 13 Mar 2009, Idel Fuschini wrote: >Hi, >I want to set new environment variable with Apache. How can I do it ? >For example I want to add the variable DEVICE=hello and I want to read >with PHP program.. > >Idel Are you using mod_perl to handle it? If so, please

Re: decline and fall of modperl?

2009-03-23 Thread David Ihnen
Louis-David Mitterrand wrote: Hi and sorry for the provocative title of my post :) What better way to get a response? What you have is better than what you don't, so sticking with a tech you already have is often the most pragmatic path. I agree with the others, in that if the co

PerlTransHandler Redirect (2.0)

2009-03-25 Thread David Stewart
gs in mod_rewrite). What's the best way to do this from the handler? -David Stewart

Re: decline and fall of modperl?

2009-03-25 Thread David Ihnen
in this job. But not everybody sees programming as all that, which is probably just another argument for a guild... But finally those poor PHP programmers find more jobs than a perl programmer. Poor programmers will always be more employed than skilled programmers - not only are they in greater abundance, they simply cannot demand the value that skilled programmers can. David

Re: PerlTransHandler Redirect (2.0)

2009-03-25 Thread David Stewart
Thanks Adam, I was pretty sure about returning the constant, but I didn't see where the location should go. Looks like err_headers_out works, thanks. -David Stewart On Mar 25, 2009, at 12:36 PM, Adam Prime wrote: David Stewart wrote: How do you replicate the redirect functionali

Re: decline and fall of modperl?

2009-03-25 Thread David Ihnen
Octavian Râşniţă wrote: *From:* David Ihnen <mailto:dav...@norchemlab.com> > I tried to convince some programmers that Perl is better than PHP, but without any success. > How could they know, if they have never used it? I was far less convinced that PHP was

Re: decline and fall of modperl?

2009-03-26 Thread David Ihnen
Foo JH wrote: David Ihnen wrote: I think you've got it right there. We've got to get perl taught in schools. That means perl experts need to be in teaching. And I have a suspicion that perl doesn't appeal to the pure computer scientist very well - these are the people wh

Is Cookbook good perl?

2009-03-26 Thread David Ihnen
on my desk working my way through it!) and revise Perl Cookbook - providing a 'fresh book for beginners on perl' that is up to date. Maybe its planned for Perl 6, I dunno. But I would deposit the opinion that Cookbook is not the best book to learn from, for the best practices of perl. David

Re: decline and fall of modperl?

2009-03-26 Thread David Ihnen
't open...) Playing nicely with other applications is merely a matter of interface definition and integration testing. Well defined specifications and a perl module service can interact with any other. Being able to work with your application because it doesn't take 40 minutes to compile a SQL typo fix is not priceless, but its worth a heck of alot. David

Re: decline and fall of modperl?

2009-03-27 Thread David Stewart
On Mar 27, 2009, at 5:08 PM, Joe Schaefer wrote: - Original Message From: Octavian Râsnita To: modperl Sent: Friday, March 27, 2009 5:26:43 PM Subject: Re: decline and fall of modperl? From: "Joe Schaefer" The original message that started this thread was: """ One of our custome

Re: decline and fall of modperl?

2009-03-27 Thread David Stewart
On Mar 27, 2009, at 6:17 PM, Joe Schaefer wrote: That's called advocacy, and as I said before, there's a mailing list set up for that for people who actually want to *do* some of that instead of issue general gripes on a thread called "decline and fall of mod_perl". I don't mean to sugg

Re: finding "context" in mod_perl handler

2009-04-21 Thread David Ihnen
handler? David

Configuring Apache for mod_perl

2009-08-17 Thread David Holder
Hi Everyone, Can someone please tell me what configuration settings are required to get mod_perl working with apache2 on a Fedora Core installation please? I've added LoadModule perl_module modules/mod_perl.so to my httpd.conf but afterwards it won't run, following is logged: [Mon Aug 17 23

RE: mod_perl installation on SUN Solaris 10 x86

2009-09-14 Thread David McCabe
. :) While all good modern OSes support spaces in directory/file names, I still avoid them like the plague, and use the _ character instead, for this very reason. :) David McCabe McGIll University Senior Systems Analyst - Networ

RE: Why people not using mod_perl

2009-09-17 Thread Ihnen, David
difference) Sigh. David From: Steven Siebert [mailto:smsi...@gmail.com] Sent: Wednesday, September 16, 2009 8:15 PM To: Jeff Nokes Cc: Brad Van Sickle; mod_perl list Subject: Re: Why people not using mod_perl I would also add, in addition to the frameworks, the availability of tools such as

RE: Why people not using mod_perl

2009-09-17 Thread Ihnen, David
Perhaps it could in some portion be quantified as "The ability to think about a program without the ide/language structure suggesting paths for you". The possibilities are infinite. I can imagine that would be a problem for many. David From: Igor Chudov [mailto:ichu...@gmail

Re: Ways to scale a mod_perl site

2009-09-17 Thread David Nicol
th a custom 404 handler. TMTOWTDI. -- "As if you could kill time without injuring eternity!" -- Henry David Thoreau

Re: Ways to scale a mod_perl site

2009-09-18 Thread David Avery
gt;> but I was unaware that there might be >> an option for doing this without using a DB with mod_perl . > > As Tina said, how about using memcached for this case? > > Regards, > Jeff Peng > > - -- David Avery Front Gate Solutions 1711 South Congress Austin, TX 78

RE: Ways to scale a mod_perl site

2009-09-18 Thread Ihnen, David
nature, the md5_hex will change. Its security through obscurity admittedly - security in that you can't see my code, methodology, or shared secret configuration. But most people consider that plenty secure for securing the session data. David -Original Message- From: Brad Van Sickle [mail

RE: Why people not using mod_perl

2009-10-23 Thread Ihnen, David
written in perl – they don’t work in that particular paradigm. So is ‘what you run on’ defined by your web server page view controller software – or the software that actually runs the heart your business and processes? Hmm. Does Coca-Cola run on a factory, or on a delivery truck? David From

RE: FreeBSD 7.2, mod_perl2 & Apache2::Cookie (libapreq2)

2009-10-29 Thread Ihnen, David
them, and went on with life. Which isn't much help, since I don't know if it's the version you're talking about or if I somehow dodged whatever problem or method you're using to get binaries. David -Original Message- From: Joe Niederberger [mailto:jniederber..

Re: AJAX pseudo-push

2009-11-13 Thread David Nicol
On Fri, Nov 13, 2009 at 1:19 AM, Scott Gifford > > This is a very interesting idea, it might be possible to implement it > with a custom Apache module, or maybe even with mod_perl if you found > the right hooks. > > Scott. so we're talking about a mod_perl app that opens a file system socket

Re: Zip on the fly problem

2010-01-12 Thread David Nicol
Not satisfied with the size of your file?

RE: A ghost in the machine?

2010-01-14 Thread Ihnen, David
all to MyConfig::cfg David -Original Message- From: Tosh Cooey [mailto:t...@1200group.com] Sent: Thursday, January 14, 2010 10:45 AM To: modperl@perl.apache.org Subject: A ghost in the machine? Hi to everyone! I'm trying to find out if I'm passing objects properly under mod_

RE: $r->subprocess_env('REQUEST_URI') returns undef ?

2010-01-15 Thread Ihnen, David
At the risk of being kind of obvious, did you try $r->uri? http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_uri_ David -Original Message- From: Tosh Cooey [mailto:t...@1200group.com] Sent: Friday, January 15, 2010 10:42 AM To: modperl@perl.apache.org Subject:

RE: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Ihnen, David
is recognized and is allowed to access, which is what you asked about. David From: Juan Manuel Parrilla Gutiérrez [mailto:joanma...@gmail.com] Sent: Thursday, January 21, 2010 9:26 AM To: mod_perl list Subject: Re: Use form instead of AuthType Basic (pop-up windows) Hello, I am sorry if I did

RE: Use form instead of AuthType Basic (pop-up windows)

2010-01-21 Thread Ihnen, David
in urls for download and media links handled by external programs that won't have the cookie) David From: Juan Manuel Parrilla Gutiérrez [mailto:joanma...@gmail.com] Sent: Thursday, January 21, 2010 10:21 AM To: Ihnen, David Cc: mod_perl list Subject: Re: Use form instead of AuthType Basic (p

RE: Best way to pass arguments to an Apache2::SubProcess?

2010-02-02 Thread Ihnen, David
The point they're inferring in the examples is that the second element is a list reference - not whether it's a referenced to a named list or not is irrelevant. David -Original Message- From: Tosh Cooey [mailto:t...@1200group.com] Sent: Tuesday, February 02, 2010 5:06 PM To: mod

Re: global variable

2010-02-03 Thread David Nicol
DirDB provides a very simple persistence, sharable data structure, using the file system.

Re: [RELEASE CANDIDATE] Apache-Test-1.31 RC2

2010-02-09 Thread David Dick
On 10/02/10 08:30, Fred Moyer wrote: Please, download, test, and report back on success or failure for this Apache::Test release candidate. Passes all tests on 2.2.13 w/ mp 2.0.4 and perl 5.10 on linux (fedora 11) Passes all tests on 2.2.9 w/ mp 2.0.4 and perl 5.10 on linux (debian lenny)

RE: Intermittent File Upload Failures - CGI tmpfile unlinked

2010-03-30 Thread Ihnen, David
to really disappear. David -Original Message- From: mjurgens [mailto:mjurg...@edcint.co.nz] Sent: Tuesday, March 30, 2010 12:08 AM To: modperl@perl.apache.org Subject: Intermittent File Upload Failures - CGI tmpfile unlinked I need some help trying to work out why CGI.pm (guessing at

RE: Intermittent File Upload Failures - CGI tmpfile unlinked

2010-03-30 Thread Ihnen, David
worry about overly much. David -Original Message- From: mjurgens [mailto:mjurg...@edcint.co.nz] Sent: Tuesday, March 30, 2010 2:41 PM To: modperl@perl.apache.org Subject: RE: Intermittent File Upload Failures - CGI tmpfile unlinked You'll need to be more precise than this becau

Re: [RELEASE CANDIDATE] Apache-Test-1.32 RC1

2010-04-13 Thread David Dick
On 14/04/10 06:41, Fred Moyer wrote: Please take a couple minutes to test this release candidate [1] for Apache::Test 1.32 and report back success or failure. Thanks! Changes summary since 1.31: Fix issue with recent feature where lack of libapreq resulted in test failure. [Phillipe M. Chiass

Problem with HTML::Mason configuration?

2010-09-02 Thread David Silva
Hi, i don't know if this is the right mailing list to ask this question. If not i'm sorry for that, and if you can help me, give me the right direction to expose my problem. I don't touch in perl for about 6months ago... So i wanted to install and have some time programming with HTML::Mason,

Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.92 RC2

2010-09-20 Thread David Dick
On 21/09/10 03:44, Fred Moyer wrote: On Thu, Sep 16, 2010 at 8:45 PM, Fred Moyer wrote: This is RC2, no changes from RC1 except package. Please test and report back. MD5 (Apache-SizeLimit-0.92-rc2.tar.gz) = 8d761fc151c43f00f6991b411ac0371b http://people.apache.org/Apache-SizeLimit-0.92-rc2.t

Re: Mixed Children on amd64

2010-09-22 Thread David Nicol
On Tue, Sep 21, 2010 at 4:57 PM, Vincent Veyron wrote: > I realized after the fact that updates _are_ a problem. I suppose one > has to recompile from source. I'm hoping to script the process, > eventually. Off-topic: will gentoo ports work with debian? "emerge mod_perl" == "script the process"

Re: [RELEASE CANDIDATE] Apache-Test-1.34 RC1

2010-12-14 Thread David Dick
On 14/12/10 16:11, Fred Moyer wrote: > A release candidate for Apache-Test is now available at the following url: > > http://people.apache.org/~phred/Apache-Test-1.34-rc1.tar.gz > > Please download, test, and report back on this RC. On fedora 14 [d...@localhost ~]$ tar -zxf Apache-Test-1.34-rc

Re: Set AuthName to prompt for sequential passwords

2010-12-28 Thread David Nicol
> Matt Puumala wrote: >> >> Greetings! >> >> I am trying to make a two-factor authentication module, built on >> AuthType Basic. (google for Perfect Paper Passwords for the scheme I'm >> using).  To make it work, I need to be able to prompt the user to type >> in two passwords sequentially. my th

Re: [RELEASE CANDIDATE] Apache-SizeLimit 0.94 RC1

2011-01-09 Thread David Dick
+1 Fedora 14 +1 Debian lenny On 10/01/11 12:50, Fred Moyer wrote: Any other takers? This is a pretty small change, and we only need 2 more +1's for an official release. On Tue, Dec 28, 2010 at 7:20 PM, Fred Moyer wrote: On Sun, Dec 19, 2010 at 11:38 AM, Fred Moyer wrote: That's right folks

Re: [RELEASE CANDIDATE]: mod_perl-2.0.5 RC2

2011-02-03 Thread David Dick
On 03/02/11 10:19, Fred Moyer wrote: There were some issues with dev versions of the Apache::* modules being in RC1, so I branched 2.0.5, set the external targets to the tagged stable releases of Apache::*, and rolled this second release candidate. Please take this for a whirl and report back +/

Re: [RELEASE CANDIDATE]: mod_perl-2.0.5 RC2

2011-02-03 Thread David Dick
On 04/02/11 08:20, Fred Moyer wrote: On Thu, Feb 3, 2011 at 12:27 PM, David Dick wrote: --- t/filter/both_str_req_mix.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. Fedora 14 comes with

Re: [RELEASE CANDIDATE]: mod_perl-2.0.5 RC2

2011-02-03 Thread David Dick
On 04/02/11 12:23, Fred Moyer wrote: On Thu, Feb 3, 2011 at 1:21 PM, David Dick wrote: On 04/02/11 08:20, Fred Moyer wrote: On Thu, Feb 3, 2011 at 12:27 PM, David Dickwrote: --- t/filter/both_str_req_mix.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit

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

2011-06-04 Thread David Christensen
lbraith, P., 2009, "Developing Web Applications with Apache, MySQL, memcached, and Perl", http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470414642.html . Has anyone read this book? Any comments or suggestions? TIA, David

Mod Perl - Custom Error Pages

2011-10-25 Thread David Hofmann
the apache conf for that code. The reason I want the mod perl to generate the error page is I want to be able to pass error info in the html comments. Is there a way to tell get mod perl to tell apache to not send the default page also? David

[Fwd: Conflicting mod_perl 2 documentation -- no print() method in Apache2::RequestRec]

2011-11-14 Thread David Booth
Stas Bekman suggested that I forward this issue to this list . . . . Forwarded Message From: David Booth This section of the mod_perl 2 User Guide: http://perl.apache.org/docs/2.0/user/handlers/intro.html#What_are_Handlers_ shows a simple handler subroutine that will be called

Re: PIPE and mod_perl2

2011-12-05 Thread David Booth
ttp://perl.apache.org/docs/2.0/user/handlers/http.html#item_The_special_case_of__code_Content_Length__0__code_ -- David Booth, Ph.D. http://dbooth.org/ Opinions expressed herein are those of the author and do not necessarily reflect those of his employer.

How to run shell command from response handler? (Apache2 child segmentation fault)

2012-01-03 Thread David Booth
automatically re-try the request when it fails, thus giving the illusion of succeeding. P.S. I have posted about this on perlmonks, but thus far have not found a solution: http://www.perlmonks.org/?node_id=945947 -- David Booth, Ph.D. http://dbooth.org/ Opinions expressed herein are thos

Re: How to run shell command from response handler? (Apache2 child segmentation fault)

2012-01-03 Thread David Booth
play { > system "/usr/bin/xmms -t 2> /dev/null"; > } > > > On Tue, Jan 3, 2012 at 12:48 PM, David Booth wrote: > > I am trying to run a shell command from a mod_perl2 response handler. > > It works properly for some number of HTTP requests, but sometimes it &

[SOLVED] Re: How to run shell command from response handler? (Apache2 child segmentation fault)

2012-01-03 Thread David Booth
, David On Tue, 2012-01-03 at 17:26 -0500, Daniel Risacher wrote: > I think I've been bitten by this too, years ago. > > I *think* I solved it by switching to mpm_prefork, which was > unsatisfying, but adequate for my needs. > > On Tue, Jan 3, 2012 at 5:21 PM, David Bo

Re: [SOLVED] Re: How to run shell command from response handler? (Apache2 child segmentation fault)

2012-01-08 Thread David Booth
Hi Jon, My code actually needed to run other shell commands. I just used the `date` function as a simple example to demonstrate the problem. David On Sat, 2012-01-07 at 02:44 -0700, Jon wrote: > Hello All, > > > Ok, maybe I'm missing the whole point of this thread

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread David Booth
/perl.apache.org/docs/2.0/api/Apache2/SubRequest.html#C_internal_redirect_ and let Apache set the Content-Type for you. If you do find the direct answer to your question, please post it, as I'm interested in this question also. Thanks! -- David Booth, Ph.D. http://dbooth.org/ Opinions expressed herein are those of the author and do not necessarily reflect those of his employer.

Re: Obtaining the Apache Content-type for a file

2012-01-13 Thread David Booth
On Fri, 2012-01-13 at 12:09 -0500, David Booth wrote: > On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote: > > I have a PerlResponseHandler which processes some kind of "logical > > document-id" provided > > in a request, locates the corresponding "real d

new editions of older mod_perl books?

2012-03-10 Thread David Christensen
learn/ re-learn from obsolete resources. I am wondering if newer editions of the above books are forthcoming? TIA, David

Re: Hello, I think TestRunPerl can save me, but I am not sure how to go about it...

2012-03-15 Thread David Booth
been other workarounds possible. David On Thu, 2012-03-15 at 09:28 -0700, Fred Moyer wrote: > Steve, please direct these questions to the mod_perl list which I have > cc'd. You're much more likely to get an answer from any one of the > thousands of experienced users on this l

<    1   2   3   4   5   6   >