FAQ

Search Discussions

14,405 discussions - 63,632 posts

  • Hi, i want compile mod_perl 2.0.8 on a ubnunt 12.04 LTS system. I have a own perl 5.14.2 installation in /opt So , calling perl Makefile.PL MP_APXS=/usr/bin/apxs2 give some warnings Note (probably ...
    Rolf SchaufelbergerRolf Schaufelberger
    Jul 7, 2014 at 9:11 pm
    Jul 7, 2014 at 9:11 pm
  • My build of event MPM in Apache 2.2.27 / mod_perl svn trunk works most of the time, but occasionally segfaults at random places in my handler when subjected to a lot of hits. 2014-07-03 14:48:54 Thu ...
    Mark HedgesMark Hedges
    Jul 3, 2014 at 10:03 pm
    Jul 3, 2014 at 10:03 pm
  • Hi, I'm trying to install mod_perl 2.0.8 with Apache 2.2.15 and perl 5.18.2. The following test fails and I don't know how to run it individually to diagnose it. Test Summary Report ...
    Todd ChapmanTodd Chapman
    Jul 2, 2014 at 2:30 pm
    Jul 15, 2014 at 9:07 pm
  • Try in a handler. (Apparently you cannot use Apache2::URI from command line?) use Apache2::Log (); use Apache2::URI (); sub handler { my ($r) = @_; my $string = "6%2D41913%2FUK1" ...
    Mark HedgesMark Hedges
    Jun 27, 2014 at 12:43 am
    Jun 29, 2014 at 8:15 pm
  • I have code which works with apache 2.2 but not apache 2.4, and I have boiled this down to a simple reproducing test case. It works with: Ubuntu 12.04 (apache 2.2.22, mod_perl 2.0.5, ...
    Brian CandlerBrian Candler
    Jun 25, 2014 at 12:42 pm
    Jun 25, 2014 at 3:32 pm
  • No one seems home on the apreq-dev list so I'm ccing mod_perl in the hope someone can help. Sorry if that annoys anyone. I rebuilt everything using perl 5.20.0, Apache 2.2.27 will all the mods, ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 11:02 pm
    Jun 23, 2014 at 11:04 pm
  • "Use of each() on hash after insertion without resetting hash iterator results in undefined behavior, Perl interpreter: 0xf2e8010 at ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 9:57 pm
    Jun 23, 2014 at 9:57 pm
  • It seems like mpm_is_threaded should answer 1 for the event MPM, but it answers 0, and the test fails. The patch works around this by detecting whether it is actually prefork or not, but there may be ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 9:06 pm
    Jun 23, 2014 at 9:06 pm
  • Perl 5.20.0, Apache 2.2.27, APR 1.5.1, APR-util 1.5.3, mod_perl trunk. 2014-06-23 11:16:32 Mon $ svn diff t/lib/Apache2/TestReload.pm Index: t/lib/Apache2/TestReload.pm ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 6:22 pm
    Jun 26, 2014 at 6:51 pm
  • In Apache2::Controller the dispatch mechanism gets the URI into a variable, then removes $r- location from the start of it to get the remaining parts of the path, to determine which controller method ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 7:42 am
    Jun 23, 2014 at 10:38 pm
  • t/api/err_headers_out.t was recently changed to accommodate changes in HTTP::Headers 6.0, but the change did not make it forward-compatible for further versions of HTTP::Headers. The patch for the ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 7:22 am
    Jun 23, 2014 at 12:06 pm
  • This appears to be a bug in a test library in the released current version mod_perl 2.0.8. $r- args can return undef if there is no ? in the url to specify a query string, apparently. Patch is at the ...
    Mark HedgesMark Hedges
    Jun 23, 2014 at 6:16 am
    Jun 23, 2014 at 6:57 am
  • Apache/2.2.27 (Unix) world domination series/2.0 mod_perl/2.0.8 Perl/v5.20.0 Server at localhost Port 8529 ... rather ominous ... Thanks. Mark
    Mark HedgesMark Hedges
    Jun 23, 2014 at 6:10 am
    Jun 23, 2014 at 7:38 am
  • In my handler I call $r- path_info to determine the path used to call my script. I am trying to have a test version of my code using the same module but which reads different data based on the path ...
    Worik StantonWorik Stanton
    Jun 19, 2014 at 12:13 am
    Jun 23, 2014 at 7:12 am
  • In my handler I call $r- path_info to determine the path used to call my script. I am trying to have a test version of my code using the same module but which reads different data based on the path ...
    Worik StantonWorik Stanton
    Jun 18, 2014 at 11:59 pm
    Jun 18, 2014 at 11:59 pm
  • Hey folks, The following URL talks about installing mod_perl on Win32 systems: http://perl.apache.org/docs/2.0/os/win32/install.html ...but the uwinnipeg.ca repo appears to no longer function ...
    Jordan MichaelsJordan Michaels
    Jun 18, 2014 at 8:36 pm
    Jun 18, 2014 at 11:40 pm
  • 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,
    Louis-David MitterrandLouis-David Mitterrand
    Jun 12, 2014 at 9:41 am
    Jun 12, 2014 at 12:56 pm
  • 1. Problem Description: Generated test t/compat/conn_rec.t fails with incorrect test count. It wasn't there to begin with and I didn't know what bootstrapped it so the error log first shows the ...
    Mark HedgesMark Hedges
    Jun 10, 2014 at 1:42 am
    Jun 10, 2014 at 1:42 am
  • 1. Problem Description: t/hooks/authen_digest.t fails <span class="m_body_email_addr" title="48574a9a5d70d9ebe726f4b2966e79d7" sre@nta1.ntf.cftdev1</span /ntfhome/local/src/mod_perl2_svn/mod_perl ...
    Mark HedgesMark Hedges
    Jun 10, 2014 at 1:31 am
    Jun 10, 2014 at 1:31 am
  • 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. (been like that for a couple of days now) If ...
    André WarnierAndré Warnier
    Jun 9, 2014 at 11:24 am
    Jun 9, 2014 at 10:25 pm
  • 1. Problem Description: This is Apache 2.4.9 using the bundled apr/apr-util. Trying to build http24threading branch. t/protocol/eliza.t never exits after the last statement. I am confused by ...
    Mark HedgesMark Hedges
    Jun 7, 2014 at 12:50 am
    Jun 7, 2014 at 8:38 pm
  • The httpd24threading branch would not build using perl 5.20.0 built with -Duserelocatableinc. When t/TEST started to run, it said it could not find the lib.pm module. It showed the @INC path, which ...
    Mark HedgesMark Hedges
    Jun 6, 2014 at 11:57 pm
    Jun 6, 2014 at 11:57 pm
  • Hello! At work I have been having some trouble with localizing %ENV. (This happens in CPAN modules such as Plack::Handler::Apache2 amongst others.) All seems well during the request itself - i.e ...
    Tim RetoutTim Retout
    Jun 5, 2014 at 4:31 pm
    Jun 5, 2014 at 4:31 pm
  • Now that I've found this and read it: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlInterpScope_ and now that I've strained my brain trying to figure out the crashes I've observed ...
    Kandarian, Richard MKandarian, Richard M
    Jun 5, 2014 at 2:17 pm
    Jun 5, 2014 at 2:17 pm
  • Reading MP_TRACE messages I noticed that for every modperl_interp_select() call during a request there were two modperl_interp_unselect() calls, one bracketing the _select() call and one from the ...
    Kandarian, Richard MKandarian, Richard M
    Jun 4, 2014 at 8:02 pm
    Jun 4, 2014 at 8:02 pm
  • Is there a way to get useful debugging info? I am getting messages like: "failed to resolve handler `Apache::AdMachine::MyHandler;' Which says something is wrong, but offers no clue. If I have a bug ...
    Worik StantonWorik Stanton
    May 19, 2014 at 12:03 am
    May 19, 2014 at 12:10 am
  • I am having a nproblem executing my handler. The short of it is it is when I make a change to the script I have to restart the server to get it noticed, and it does not always call the same code. The ...
    Worik StantonWorik Stanton
    May 18, 2014 at 10:47 pm
    May 19, 2014 at 11:38 am
  • I am still trying to fathom the API. I have struck a snag with the documentation. https://perl.apache.org/docs/2.0/api/Apache2/Connection.html#Synopsis says.... use Apache2::Connection (); use ...
    Worik StantonWorik Stanton
    May 15, 2014 at 6:26 am
    May 19, 2014 at 12:17 am
  • I am having a lot of trouble with mod_perl APIs. The short of it is that when I say: use Apache2::Directive (); my $tree = Apache2::Directive::conftree(); my $documentroot = $tree- ...
    Worik StantonWorik Stanton
    May 14, 2014 at 1:27 am
    May 16, 2014 at 10:51 pm
  • I just want to confirm something with all you smart folks. I recently separated my web servers from my database servers, before I was using Apache::DBI to maintain persistent connections between ...
    JbiskofskiJbiskofski
    Apr 22, 2014 at 2:03 pm
    Apr 22, 2014 at 6:02 pm
  • So this weekend I had a dickens of the time figuring out why: use JSON; to_json({field= JSON::true}); Would throw an exception stating that there were blessed values in it - which is true, in a way, ...
    SkylosSkylos
    Apr 21, 2014 at 8:58 pm
    Apr 21, 2014 at 8:58 pm
  • Hi, I'm having trouble integrating mod_perl with the latest (2.4) versions of Apache - build fails as unable to locate APR directories make[1]: Entering directory ...
    Wells, Steven S.Wells, Steven S.
    Apr 18, 2014 at 5:18 pm
    Apr 18, 2014 at 5:35 pm
  • The URL http://www.embperl.org/downloads/Embperl-2.5.0.tar.gz has entered CPAN It's long time gone since the last Embperl release. All the time Embperl development has gone on. Now here is a new ...
    Gerald RichterGerald Richter
    Apr 16, 2014 at 11:11 pm
    Apr 21, 2014 at 4:15 pm
  • 1. Problem Description: Looks like mod_perl executes PerlLoadModule in a context of parent Perl interpreter and module body is evaluated in parent Perl, but Apache2::Module::add is switching the ...
    Yuri KarabanYuri Karaban
    Apr 14, 2014 at 12:33 pm
    Apr 14, 2014 at 12:33 pm
  • The httpd commit r1573580 (under a configurable option: don't run mod_dir if r- handler is already set.) does not appear to hold true when $r- handler is set via MP as: # In my httpd config ...
    Ryan GiesRyan Gies
    Apr 12, 2014 at 8:38 am
    Apr 12, 2014 at 8:38 am
  • Is there any way to get internal runtime metrics from mod perl? For example, how many interpreters there are, how many interpreter pools there are etc? I'm trying to track down a connection leak at ...
    John DunlapJohn Dunlap
    Apr 4, 2014 at 3:34 pm
    Apr 4, 2014 at 4:08 pm
  • Hi, I use a LAMP stack of debian/apache/mod_perl/postgresql on a primary and backup server. Both servers use fr_FR@euro as default locale, and host two mod_perl applications that connect to a ...
    Vincent VeyronVincent Veyron
    Apr 1, 2014 at 3:19 pm
    Apr 1, 2014 at 3:19 pm
  • Hi. This is not really an answer to your question, but I felt it might help anyway, only to allow you to sleep better.. I also wrote my own authentication framework for Apache/mod_perl (using ...
    André WarnierAndré Warnier
    Apr 1, 2014 at 10:23 am
    Apr 1, 2014 at 12:07 pm
  • Hi! Is there any ppm package for Perl 5.16 and Apache 2.2 on windows? mod_perl-2.0.ppd requires Perl 5.8
    Claudiu VătămăniucClaudiu Vătămăniuc
    Mar 27, 2014 at 1:12 am
    Mar 27, 2014 at 1:12 am
  • Hi all, searched around and didn't find an answer. Probably it's complicated or so simple that I don't see it. I'm using mod_perl with the response handler being ModPerl::Registry. I wrapped the call ...
    Andreas MockAndreas Mock
    Mar 21, 2014 at 4:17 pm
    Mar 21, 2014 at 4:17 pm
  • I'm using Slackware 14.1, but since it includes Apache 2.4 (which based on what I've read is no compatible with mod_perl), I removed it and installed the latest Apache 2.2 from source. Once that was ...
    Paul BurtonPaul Burton
    Mar 21, 2014 at 2:49 pm
    Mar 21, 2014 at 2:49 pm
  • I recently upgraded my workstation from Debian 6 to Debian 7 and I'm now encountering a problem that I haven't seen before. My apache version is 2.2.22-13+deb7u1. My mod_perl version is 2.0.7-3. I'm ...
    John DunlapJohn Dunlap
    Mar 18, 2014 at 3:59 pm
    Mar 18, 2014 at 4:50 pm
  • Hi. I have submitted this issue a while back to rt.cpan.org, but I have not gotten any response. I am the maintainer of Apache::AuthCookie. As most of us probably already know, Apache 2.4 has a very ...
    Michael SchoutMichael Schout
    Mar 17, 2014 at 4:48 pm
    Mar 17, 2014 at 9:04 pm
  • Hi, We have just installed Auth handler (Apache ) using mod_perl2 and CAS. 1. Initially, we had the Internal Server Error "Expected token not present", as per these below links suggested this could ...
    Pinate AramsangrungrojPinate Aramsangrungroj
    Mar 2, 2014 at 11:28 pm
    Mar 2, 2014 at 11:28 pm
  • Anyone know what triggers "ap_get_brigade failed during prefetch"? Is this a case of the client closing a connection? I found a very similar post about this issue to this list from 2012, but no ...
    Bill MoseleyBill Moseley
    Feb 24, 2014 at 6:38 pm
    Feb 24, 2014 at 6:38 pm
  • I know this may seem straight forward and a RTFM response may be in order, but I have been trying to crack this for some days now (following attempts on and off, too, mind) and nothing I can google ...
    Da RockDa Rock
    Feb 14, 2014 at 1:38 pm
    Feb 16, 2014 at 12:07 pm
  • Anybody know when mod_perl will support Apache 2.4? Or is it the other way around? Cheers! --- This email is free from viruses and malware because avast! Antivirus protection is active ...
    Bill McCormickBill McCormick
    Feb 13, 2014 at 8:55 pm
    Feb 20, 2014 at 9:13 pm
  • I have a Perl module that calls a function from in a Swig generated module, which in turn calls a function in a shared library. It's been a while since I put it all together and made it work, so I'm ...
    Bill McCormickBill McCormick
    Feb 13, 2014 at 8:45 pm
    Feb 13, 2014 at 9:00 pm
  • Hi, Not sure what I'm doing wrong here. I'm just trying to get the client ip address in a PerlResponseHandler as follows: : use Apache2::Connection; : my $remote_ip = $r- connection- remote_ip(); : I ...
    Steve BaldwinSteve Baldwin
    Feb 9, 2014 at 5:50 am
    Feb 10, 2014 at 9:48 am
  • I've been working in mod_perl for almost a year now and something which I struggled with, at first, was request routing. The application that I maintain uses a simple hash lookup using $r- uri as the ...
    John DunlapJohn Dunlap
    Feb 8, 2014 at 8:00 pm
    Feb 9, 2014 at 6:56 pm
Group Navigation
period‹ prev | Latest | first ›

Top users

Stas Bekman: 5100 posts Perrin: 3015 posts Geoffrey Young: 1284 posts Matt Sergeant: 943 posts Doug MacEachern: 854 posts Philip Gollucci: 840 posts Randy Kobes: 733 posts Ged Haywood: 674 posts Geoffrey Young: 645 posts Torsten Foertsch: 575 posts Fred: 463 posts Joshua Chamas: 437 posts Gunther: 424 posts André Warnier: 416 posts Perrin Harkins: 411 posts Frank Wiles: 323 posts Philippe M. Chiasson: 319 posts Vivek Khera: 313 posts Gerald Richter: 310 posts Michael: 309 posts
show more
Archives