RE: stdout from scripts goes to apache logs

2024-05-13 Thread David Cook via modperl
on't know if I'd choose mod_perl for a new project, but I still use it for some older ones and it's pretty good. David Cook Senior Software Engineer Prosentient Systems -Original Message- From: Steven Haigh via modperl Sent: Tuesday, 14 May 2024 2:45 PM To: modperl@perl.apach

Re: Sharing read/WRITE data between threads? [EXT]

2021-08-25 Thread David Booth
options in case I need them! Thanks, David Booth On 8/25/21 7:56 AM, James Smith wrote: The other problem with sharing writable data in "memory" is that it would not necessarily shared between multiple server instances. We run multiple mod_perl instances for reliability. Agree with

Sharing read/WRITE data between threads?

2021-08-24 Thread David Booth
to that shared data, such as locks or semaphores. I also posted this message to StackOverflow, but got no response so far: https://stackoverflow.com/questions/68901260/how-to-share-read-write-data-in-mod-perl-apache2 Any help would be appreciated! Thanks, David Booth

Re: Future MPM Support?

2018-06-07 Thread David Hodgkinson
PM, Clive Eisen wrote: >>> On 7 Jun 2018, at 19:13, David Hodgkinson wrote: >>> >>> No. Different concept. >>> >>>> On 7 Jun 2018, at 18:52, John Dunlap wrote: >>>> >>>> Is Plack backwards compatible with mod_perl? >

Re: Future MPM Support?

2018-06-07 Thread David Hodgkinson
No. Different concept. > On 7 Jun 2018, at 18:52, John Dunlap wrote: > > Is Plack backwards compatible with mod_perl? > >> On Thu, Jun 7, 2018 at 5:44 PM, David Hodgkinson wrote: >> We’re all about the Plack these days. >> >>> On 7 Jun 2018, at 18:21,

Re: Future MPM Support?

2018-06-07 Thread David Hodgkinson
We’re all about the Plack these days. > On 7 Jun 2018, at 18:21, John Dunlap wrote: > > Are there any plans for mod_perl to support mpm_event, mpm_worker? Every time > I try to use something other than mpm_prefork I am plagued by segfaults. > > -- > John Dunlap > CTO | Lariat > > Direct: >

Re: Compiling with Apache 2.4

2017-09-30 Thread David Hodgkinson
> > This doesn't work. I just throw up my hands at this point. ModPerl is > obviously so broken now that it can no longer be used. Having spent a few months coaxing some 2005-era apache and mod_perl into modern life, I kicked out all the self-build apache, mod_perl, perl from Bamboo and went

Re: Apache::ExtUtils

2017-08-24 Thread David Hodgkinson
> On 24 Aug 2017, at 11:10, David Hodgkinson wrote: > > Hi, > > I have a little C code that’s bound into mod_perl 1.3, 2005-era code. We’re > trying to get everything up to date, so 2.0.10 from EPEL it is. > > However, this code uses Apache::ExtUtils which no longer

Apache::ExtUtils

2017-08-24 Thread David Hodgkinson
Hi, I have a little C code that’s bound into mod_perl 1.3, 2005-era code. We’re trying to get everything up to date, so 2.0.10 from EPEL it is. However, this code uses Apache::ExtUtils which no longer exists. Is there a replacement or is binding C code in easier these days? Thanks, David

Re: Test Failures on CentOS 7.3

2017-03-17 Thread David E. Wheeler
On Mar 17, 2017, at 4:13 PM, Jie Gao wrote: > You can build and install your own perl, mod_perl, Apache in /usr/local, > entirely separate from those that come with the OS. Yeah, we’re using the system Apache. ‘ D smime.p7s Description: S/MIME cryptographic signature

Re: Test Failures on CentOS 7.3

2017-03-17 Thread David E. Wheeler
ave to put files in the same place (the .so files). Turns out I don’t need mod_perl for this build; I got it working for another. So I’ll just have to use a new VM to do this one if we ever do need it. Thanks, David smime.p7s Description: S/MIME cryptographic signature

Re: Test Failures on CentOS 7.3

2017-03-17 Thread David E. Wheeler
On Mar 17, 2017, at 12:08 PM, David E. Wheeler wrote: > Is there some reason why httpd_info would not be properly set up? Neglected to mention that I get a lot of these warnings: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/con

Test Failures on CentOS 7.3

2017-03-17 Thread David E. Wheeler
e reason why httpd_info would not be properly set up? Thanks, David smime.p7s Description: S/MIME cryptographic signature

RE: Cache refresh each 50 queries?

2016-10-04 Thread David Cook
exactly is slowing down that 1s long query. I've only played with PerlOptions +Parent a bit, but I'm guessing that you have multiple mod_perl apps, and that we're not actually seeing your entire httpd.conf configuration relating to Koha, right? David Cook Systems Librarian Prosenti

PerlSetEnv and PerlPostConfigRequire && in RHEL 6.8

2016-07-28 Thread David Cook
class [joes] Make PerlSetEnv, PerlPassEnv and %ENV in PerlRequre, PerlModule, PerlConfigRequire and PerlPostConfigRequire affect each other, so a change in one of these is immediately seen in the others. [Pratik , Stas] David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Office: 02 9212 0899 Direct: 02 8005 0595

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC3

2015-06-10 Thread David E. Wheeler
ely to come sooner than 2.0.9 did? Thanks, David smime.p7s Description: S/MIME cryptographic signature

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

2015-06-03 Thread David E. Wheeler
d to symlink /usr/bin/cc to gcc instead of clang, > and even then I think other parts of my toolchain were still using > clang based utilities. I just tried RC2; similar error: httpd: Syntax error on line 70 of /Users/david/Desktop/mod_perl-2.0.9-rc2/t/conf/httpd.conf: Cannot load /Users

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

2015-06-02 Thread David E. Wheeler
On May 13, 2015, at 3:52 PM, David E. Wheeler wrote: > Tested builds on CentOS 6 and 7, with the system Perl and a custom 5.20 > build. Both build nicely, with just a simple patch for the system Perl > wanting a header with “CentOS” in it instead of “Unix”. Yay! Having difficultin

Re: [RELEASE CANDIDATE]: mod_perl-2.0.9 RC1

2015-05-13 Thread David E. Wheeler
ely, with just a simple patch for the system Perl wanting a header with “CentOS” in it instead of “Unix”. Yay! https://github.com/iovation/rpmcpan/blob/master/SOURCES/mod_perl-centos.patch Best, David smime.p7s Description: S/MIME cryptographic signature

Re: 2.0.9?

2015-05-04 Thread David E. Wheeler
r the patch. I've have a closer look later and will certainly bear > it in mind if problems are reported in that area. I updated my builds to use a subversion checkout and haven’t needed the patch. . Best, David smime.p7s Description: S/MIME cryptographic signature

2.0.9?

2015-05-02 Thread David E. Wheeler
MP_INLINE APR_INLINE +#define MP_INLINE #endif #ifdef CYGWIN Best, David smime.p7s Description: S/MIME cryptographic signature

Re: How Do I change the Document Root Per Request

2015-03-11 Thread David E. Wheeler
th the 'default' argument: > AcceptPathInfo On > I found this on apache 2.4's docs: > http://httpd.apache.org/docs/current/mod/core.html#AcceptPathInfo No idea, I’m loathe to mess with it anymore. David smime.p7s Description: S/MIME cryptographic signature

Re: How Do I change the Document Root Per Request

2015-03-11 Thread David E. Wheeler
Nope. > 4) Does it work for DirectoryIndexes? I don’t know, but it turns out that unsetting path_info() fixed the issue for me. How Apache uses filename and path_info together is opaque to me. Best, David smime.p7s Description: S/MIME cryptographic signature

Re: How Do I change the Document Root Per Request

2015-03-11 Thread David E. Wheeler
On Mar 11, 2015, at 9:59 AM, David E. Wheeler wrote: > # Set the filename. > > my $file = File::Spec->catfile($sub_root, substr $r->uri, 1); > $r->filename($file); > $r->finfo(

Re: How Do I change the Document Root Per Request

2015-03-11 Thread David E. Wheeler
On Mar 6, 2015, at 5:29 PM, David E. Wheeler wrote: > And now it works just how I want. I take it back. It works for files in the root, but not subdirectories. So say my document root is /var/html, and a request comes in for /foo/bar.html. Apache has mapped it to /var/html/foo/bar.html,

Re: How Do I change the Document Root Per Request

2015-03-06 Thread David E. Wheeler
On Mar 6, 2015, at 9:21 AM, David E. Wheeler wrote: >> >> PerlMapToStorageHandler Apache2::Const::OK >> >> Otherwise it just fails super early. By adding this line, I am able to >> freely set the filename later. > > Alas, this does *not* work for directo

Re: How Do I change the Document Root Per Request

2015-03-06 Thread David E. Wheeler
On Mar 3, 2015, at 2:27 PM, David E. Wheeler wrote: > And now I got it to work. The key was to add. > >PerlMapToStorageHandler Apache2::Const::OK > > Otherwise it just fails super early. By adding this line, I am able to freely > set the filename later. Alas, this d

Re: How Do I change the Document Root Per Request

2015-03-03 Thread David E. Wheeler
On Mar 3, 2015, at 11:34 AM, David E. Wheeler wrote: > I managed to get a little further by switching from PerlFixupHandler to > PerlTypeHandler. I still get some 404s for files, but all the directories > serve properly. As it happens, I have a response handler that handles &g

Re: How Do I change the Document Root Per Request

2015-03-03 Thread David E. Wheeler
On Mar 2, 2015, at 9:35 PM, David E. Wheeler wrote: >PerlLoadModule My::UserFixup > >PerlFixupHandler My::UserFixup >AuthType Basic >AuthName "User File Service" >Require valid-user > I man

Re: How Do I change the Document Root Per Request

2015-03-02 Thread David E. Wheeler
g people do, right? It’s driving me bananas (and towards Plack [again!]). Thanks, David smime.p7s Description: S/MIME cryptographic signature

Custom Configuration Best Practice

2015-03-01 Thread David E. Wheeler
a function name. https://perl.apache.org/docs/2.0/user/config/custom.html#C_func_ So none of this feels quite right to me. Anyone got a point to best practices for setting up custom configuration directives? Or is this close to what everyone does anyway? Thanks, David smime.p7s Description: S/MIME cryptographic signature

How Do I change the Document Root Per Request

2015-03-01 Thread David E. Wheeler
the duration of this request and return. $r->document_root($doc_root); return DECLINED; } But alas, it still serves the original document root. How can I get it to change the document root on a per-request basis? If I cant, should I change the URI or the filename, instead?

Re: Apache2::URI::unescape_url bug?

2014-06-26 Thread David Booth
>log_error($string); } Log contains: 6-41913/UK1\0UK1 ?? Not sure what is the intent of your question/comment, but I often use uri_unescape in URI::Escape and it seems to work fine. David

Re: how to detect if current connection is https?

2014-06-12 Thread Louis-David Mitterrand
On Thu, Jun 12, 2014 at 11:50:45AM +0200, Torsten Förtsch wrote: > On 12/06/14 11:41, Louis-David Mitterrand wrote: > > I found Apache2::ModSSL which adds $c->is_https but it seems old and not > > packaged for debian. > > I am the author of said module. I haven

how to detect if current connection is https?

2014-06-12 Thread Louis-David Mitterrand
Hi, What is the canonical way of testing if the current request is https (ssl)? I found Apache2::ModSSL which adds $c->is_https but it seems old and not packaged for debian. Thanks,

Re: Something wrong with CPAN ?

2014-06-09 Thread David Dick
On 06/09/2014 09:23 PM, André Warnier wrote: Hi guys. Is it only me, or does the search box in www.cpan.org not work anymore ? 503 Service Unavailable No server is available to handle this request. I can confirm this. (been like that for a couple of days now) If it is not me alone, and if

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread David Booth
. David On 02/14/2014 09:54 AM, Da Rock wrote: Unfortunately that didn't work in the startup.pl, as has been mentioned in both replies. Still got the same error with both startup.pl with use lib , as well as PerlSwitches -I. I should mention I've tried both modperl and perl-script

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread David Booth
for people who put spaces and other unprintables in filenames. David

Re: [mp2] mod_perl 2.0.7 Segmentation fault in OutputFilter(?)

2013-01-08 Thread David Booth
because of threads being reused, maybe in an unexpected way. Sorry I don't have any more specific suggestions, but maybe someone else will. David On Tue, 2013-01-08 at 11:52 +, Petra Zier wrote: > Hi, > I am using httpd 2.2.23 (worker MPM), perl 5.14.2, mod-perl-2.0.7 on a > 64b

[MP2] Nullav undeclared make error

2012-06-22 Thread David Shultz
: 3.59 ExtUtils::MakeMaker: 6.63_02 LWP: 6.04 mod_perl : - mod_perl2 : - 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was generated by t/REPORT on Fri Jun 22 19:41:38 2012 GMT. -8<

Perlhandler bugs when set up on the root of the domain

2012-06-12 Thread David Levy
age test2::Rules2; use Apache2::Const qw(:common); sub handler { my $r = shift; $r->content_type("text/plain"); $r->print("mod_perl rules!\n"); return OK; } 1; Any idea on where it comes from? Thanks 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

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: mod_perl.so: undefined symbol: PL_tainting

2012-01-26 Thread Jacobs, David (NIH/NCI) [C]
Recompiling perl and producing a shared library seems to have worked. Thanks! -Original Message- From: Dave Hodgkinson [mailto:daveh...@gmail.com] Sent: Wednesday, January 25, 2012 3:50 PM To: Jacobs, David (NIH/NCI) [C] Cc: modperl@perl.apache.org Subject: Re: mod_perl.so: undefined

RE: mod_perl.so: undefined symbol: PL_tainting

2012-01-25 Thread Jacobs, David (NIH/NCI) [C]
Trying that now. DOH! I understand now. Maybe that will fix it. (I hope). David Jacobs Senior Network Engineer, NCI Computer Services Contractor, TerpSys http://www.terpsys.com/    Technology Driven. People Oriented. -Original Message- From: Jacobs, David (NIH/NCI) [C] Sent

RE: mod_perl.so: undefined symbol: PL_tainting

2012-01-25 Thread Jacobs, David (NIH/NCI) [C]
I thought it did by default... Do you have a link to how to do that? -Original Message- From: Dave Hodgkinson [mailto:daveh...@gmail.com] Sent: Wednesday, January 25, 2012 2:24 PM To: Jacobs, David (NIH/NCI) [C] Cc: modperl@perl.apache.org Subject: Re: mod_perl.so: undefined symbol

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

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: [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

[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: 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 &

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: 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.

[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

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

Re: Apache::DBI

2011-08-02 Thread David E. Wheeler
On Aug 2, 2011, at 6:30 AM, Feng He wrote: > I just want to develop a modperl application. > It's a handler, the database is Mysql. > Shall I use Apache::DBI, or DBI is just fine ? I recommend DBIx::Connector. Best, David

Re: Apache::DBI and DBIx::Class

2011-06-29 Thread David E. Wheeler
ite nicely. Action-at-a-distance and all that. > It is inherent in the nature of perl, you have this wonderful library called > CPAN, > but, how do you ensure that the modules you use do what you want and nothing > more? > Do you really want to review (and understand) DateTime.pm? > > And finally back to the Cold Fusion issue : > "You don't get paid to make it run on your machine, > you get paid to make it run on mine!" > > I love my job, I love my job, I love my job ;) > > Sorry once again, No worries. Think I'll not contribute to this thread anymore, though, as we're veering pretty far off-topic. Hope the points are of interest to others, and historically relevant going forward, but I don't think I could add much more. And I'm happy to agree to disagree and go back to work. Best, David

Re: Apache::DBI and DBIx::Class [was Re: How do you use mod_perl for your web application?]

2011-06-27 Thread David E. Wheeler
, if a developer in my shop wanted to use it I could load it without > having to worry about apache managing two connection pools. Well, DBIx::Connector does not do connection pooling (or caching), so that wouldn't be a problem. > IMHO, worth exactly what you paid for it I paid quite a lot of it in terms of my time to develop the interface. So I'm rather fond of it. Varying opinions of course welcome. Best, David

Re: Apache::DBI and DBIx::Class [was Re: How do you use mod_perl for your web application?]

2011-06-27 Thread David E. Wheeler
r a more feature rich db connection > caching module as opposed to a drop in module for mod_perl. For most > mod_perl users, Apache::DBI provides a performance improvement with Pg > and Oracle for just a few lines in your startup.pl. No. DBIx::Connector doesn't do caching at all. That's the point, really. Best, David

Re: Apache::DBI and DBIx::Class [was Re: How do you use mod_perl for your web application?]

2011-06-27 Thread David E. Wheeler
And having read that, I strongly recommend against the use of DBIx-Connector. > But then I'm just a production DBA :) Me too. What weaknesses do you see in it? Best, David

Re: Apache::DBI and DBIx::Class [was Re: How do you use mod_perl for your web application?]

2011-06-27 Thread David E. Wheeler
connect_params->[0], 5 ); > > # delete this line and I will beat you with a stick (note to self) > My::Model->connect->disconnect; > $DBI::connect_via = 'Apache::DBI::connect'; You lost me. But really, I strongly recommend against the use of Apache::DBI. Some discussion here: http://search.cpan.org/dist/DBIx-Connector/lib/DBIx/Connector.pm#Description Best, David

Re: How do you use mod_perl for your web application?

2011-06-27 Thread David E. Wheeler
ferent legacy application > which does not use DBIx::Class, in which case they share a perl > interpreter and will both have the same set of modules loaded. The same statements apply to DBIx::Connector, FWIW. Best, David

Re: How do you use mod_perl for your web application?

2011-06-21 Thread David E. Wheeler
on Plack. Best, David

Re: How do you use mod_perl for your web application?

2011-06-16 Thread David E. Wheeler
l 1.x and apache 1.x, baby! Whatever old man! David

Re: How do you use mod_perl for your web application?

2011-06-15 Thread David E. Wheeler
l2 has never > been an issue to date, but I have Perlbal doing connection handling as > a reverse proxy. PGXN, which runs on Starman, will be moving to a PostgreSQL community server. I think they use Varnish for reverse proxying. Best, David

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

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

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 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] 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: 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-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: 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-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

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,

cleanup_register(..) works but not push_handlers(PerlCleanupHandler ..)

2010-08-11 Thread Louis-David Mitterrand
Hi, Using modperl 2.0.4 and HTML::Mason I noticed the following problem: $r->push_handlers(PerlCleanupHandler => sub {...}) is not executed, however: $r->pool->cleanup_register({}, $arg) works fine. In both cases I use: $r->connection()->keepalive(Apache2::Con

ExtFilterDefine persistency

2010-05-19 Thread David
If I haven't sent this to the correct place please inform me. I've look through the assorted documentation, both mod_perl and Apache, and haven't found a solution to my situation. I've also given the internet a try with no luck. I admit I'm new to mod_perl. I've installed mod_perl onto an Apach

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

Re: Build Failure on Perl 5.12 RC3

2010-04-05 Thread David E. Wheeler
l 2.05 drop when Perl 5.12.0 final drops (next week, I believe). Thanks, David PS: I think the apreq stuff needs to be hit with the same multiplicity cluestick -- anyone know that code?

Build Failure on Perl 5.12 RC3

2010-04-05 Thread David E. Wheeler
l.so [warning] [warning] depending on your build, mod_perl might not live in [warning] the modules/ directory. benedict ~/dev/perl/mod_perl-2.0> make -j3 cd "src/modules/perl" && make cc -I/Users/david/dev/perl/mod_perl-2.0/src/modules/perl -I/Users/david/dev/perl/mod_perl-2.0/xs -I/

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: 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: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

2010-03-10 Thread David E. Wheeler
On Feb 25, 2010, at 3:30 PM, Fred Moyer wrote: > On Thu, Feb 25, 2010 at 3:11 PM, David E. Wheeler > wrote: >> On Feb 25, 2010, at 3:03 PM, Fred Moyer wrote: >> >>> Absolute - maybe in the INSTALL file? You have commit access right? >> >> Only to docu

Re: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

2010-02-25 Thread David E. Wheeler
On Feb 25, 2010, at 3:03 PM, Fred Moyer wrote: > Absolute - maybe in the INSTALL file? You have commit access right? Only to documentation IIRC. I got it just about the time I stopped writing docs. ;-) Best, David

Re: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

2010-02-25 Thread David E. Wheeler
On Feb 24, 2010, at 11:31 AM, David E. Wheeler wrote: >> export CFLAGS='-m64 -mtune=nocona'; export LDFLAGS='-L/usr/lib64' >> ./Configure -des -A ccflags=-fPIC -Dprefix=/opt/perl >> -Dinstallprefix=/opt/perl > > Is that for Perl or for mod_per

Re: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

2010-02-24 Thread David E. Wheeler
On Feb 24, 2010, at 10:19 AM, Serge Ivanchenko wrote: > Try this: > > export CFLAGS='-m64 -mtune=nocona'; export LDFLAGS='-L/usr/lib64' > ./Configure -des -A ccflags=-fPIC -Dprefix=/opt/perl > -Dinstallprefix=/opt/perl Is that for Perl or for mod_perl? Looks like Perl. Best, David

Re: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

2010-02-24 Thread David E. Wheeler
27;, >cppflags='-fPIC -I/usr/include/gdbm' >cccdlflags='-fpic', lddlflags='-shared' > > Have you tried passing -fPIC at perl configure time when it asks for > additional CFLAGS? I've been using -des, but I'll have a look at it. How are you configuring? Best, David

Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

2010-02-23 Thread David E . Wheeler
CE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' So I'm at a loss here. Any ideas? mod_perl 2.04, perl 5.10.1, apache 2.2.14, all compiled from source. Thanks, David

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: global variable

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

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: Redirect WTF

2010-01-27 Thread David E. Wheeler
On Jan 27, 2010, at 7:23 AM, Adam Prime wrote: > This smells like a UseCanonicalName On + mod_dir redirect to me. If the > directory /admin/profile/dest exists in the document root, there's a good > chance it is. Ooh, thanks! I can see that I have mod_dir as a DSO, but I'm not loading it. The

Re: Redirect WTF

2010-01-26 Thread David E. Wheeler
ler isn't used in production Bricolage installs, so I'm not too worried about it. It's mostly just there for folks evaluating Bricolage, as it manages a sort of internal preview server. Production installs turn that off and use an external server for previews. Thanks, David

Redirect WTF

2010-01-26 Thread David E. Wheeler
ests. Is there something like that in mod_perl2 and I'm just missing it? Or is it more likely that there's some other mysterious bit of code in Bricolage that's doing it and I just haven't found it yet? If the latter, what comes between the PerlFixupHandler and PerlResponseHandler? Because in that first request, the fixup handler fires but the response handler never does. TIA, David

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: 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: $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: 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: Zip on the fly problem

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

Re: DBI Connectons accumulate under Mod_perl

2009-11-16 Thread David E. Wheeler
der windows and i never had such > problem under freebsd). Maybe you have a system call or some other forking call that can lead to stray handles? Some Perl modules will do it without you knowing. I suggest switching to DBIx::Connector, which detects such things, to see if it helps. Best, David

  1   2   3   4   5   6   >