FAQ

Search Discussions

77 discussions - 348 posts

  • Apache::DBI claims that it will reconnect to a database if it's gone away. DBD::Pg claims that it supports the ping method. However, when I restart my database server while apache2 is running, all ...
    Tyler MacDonaldTyler MacDonald
    Jan 13, 2006 at 11:54 pm
    Jan 18, 2006 at 2:59 pm
  • sh-2.05b# make test MP_APXS=/usr/local/apache2/bin/apxs cd "src/modules/perl" && make make[1]: Entering directory `/tmp/mod_perl-2.0.2/src/modules/perl' make[1]: Nothing to be done for `all'. ...
    Joe DealJoe Deal
    Jan 11, 2006 at 10:16 pm
    Jan 12, 2006 at 9:09 pm
  • Happy 2006 everyone, I'm running Apache/2.0.54, mod_perl/2.0.1, Perl/v5.8.7 on FreeBSD 6.0. Right after starting apache (with preloading the needed perl modules) the httpd root process is about 40MB. ...
    Len KranendonkLen Kranendonk
    Jan 2, 2006 at 7:35 pm
    Jan 3, 2006 at 7:56 pm
  • Apache::DBI and DBI's connect_cached both claim to keep your database handles fresh and happy, but I've had numerous problems trying to get either of them to work properly. If a database connection ...
    Tyler MacDonaldTyler MacDonald
    Jan 31, 2006 at 9:23 pm
    Feb 2, 2006 at 8:30 pm
  • Hello, I'm having trouble getting libapreq2 installed properly. I'm using FreeBSD 5.3, Apache 2.20, and libapreq-2.06-dev. I sent this same message the the libapreq list, but no response yet -- so I ...
    Ben syversonBen syverson
    Jan 29, 2006 at 9:48 pm
    Feb 13, 2006 at 4:58 pm
  • Hi, consider this handler: sub handler { my $r=shift; $r- content_type('text/plain'); my $ctx={foo= 1, bar= 2}; $r- pnotes(x= $ctx); $r- print( " \n".Dumper( $r- pnotes('x') ) ); undef $ctx; $r- ...
    Torsten FoertschTorsten Foertsch
    Jan 9, 2006 at 6:14 pm
    Mar 16, 2006 at 9:51 am
  • Close enough to perl, I hope... I'm trying to string the filename from the path: /dir/subdir/file.ext = file.ext with /\w+\.\w+$/ and am getting the entire path returned. I am falling asleep reading ...
    Mark GalbreathMark Galbreath
    Jan 31, 2006 at 5:01 pm
    Jan 31, 2006 at 6:58 pm
  • Hello all, I am trying my luck again on this issue, which I never quite understood/ resolved. Whenever Apache starts/ restarts, it actually does this twice (the second time to see if it can restart ...
    Foo Ji-HawFoo Ji-Haw
    Jan 17, 2006 at 8:28 am
    Jan 18, 2006 at 12:20 pm
  • HI, All. I had configure the mod_perl environment, it is here: Alias /perl/ /home/ghw/myperl/webproject/ PerlSwitches -T <Location /perl AddHandler perl-script .pl SetHandler perl-script ...
    黄叶黄叶
    Jan 16, 2006 at 2:37 am
    Jan 19, 2006 at 7:31 pm
  • Hi I've been looking around at MVC frameworks a bit recently. RoR looks good if you don't mind the language switch, but I'm also looking at these two. Anyone have much experience of them, in tandem ...
    Daniel McBreartyDaniel McBrearty
    Jan 20, 2006 at 3:29 pm
    Jan 24, 2006 at 6:49 pm
  • With PerlRun, after the script has run the name space is supposed to be flushed of all variables and subroutines. Right? This doesn't seem to be happening with my setup. I'm getting incorrect output, ...
    Patrick KennedyPatrick Kennedy
    Jan 30, 2006 at 11:24 pm
    Jan 31, 2006 at 6:50 pm
  • Haven't done perl for 7 years (yes 7 years) and just coming back, so am a newbie with mod_perl really. Could do with a bit of setup help. I have an application that I'm been building in Perl and it ...
    Paul JohnstonPaul Johnston
    Jan 16, 2006 at 3:06 pm
    Jan 16, 2006 at 6:26 pm
  • Hi, If I am developing an app that has a bunch of perl modules as part of the repository (the modules are dedicated for this project), how do I get Apache/mod_perl to use the correct version? Say my ...
    Daniel McBreartyDaniel McBrearty
    Jan 11, 2006 at 9:37 am
    Jan 15, 2006 at 1:26 am
  • Bear with me, this is confusing to explain. I noticed something on Apache::DBI (translated, i lost 2days figuring out what was going on by trailing mysql query logs , and watching DBI with a ...
    Jonathan VanascoJonathan Vanasco
    Jan 14, 2006 at 2:14 am
    Jan 14, 2006 at 5:05 am
  • on FreeBSD 5.4 I get: # perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs String found where operator expected at /usr/local/lib/perl5/5.8.6/ mach/IO.pm line 11, near "XSLoader::load 'IO'" (Do you ...
    Ryan PerryRyan Perry
    Jan 26, 2006 at 4:30 pm
    Jan 27, 2006 at 9:29 am
  • Whenever I edit a file, like peter.pm, I reload the Perl application in my browser, the change doesn't take effect. I must re-start Apache, then, voila, the changes appear. Is there a setting I can ...
    Pete AlvinPete Alvin
    Jan 21, 2006 at 3:58 pm
    Jan 23, 2006 at 5:06 pm
  • Hi all, I've been using PAR and mp2. Just thought to try out Apache2::PAR, but realise that it does not come with the mp2 installation. Checked out http://www.bribes.org/perl/ppm/ but it's not there ...
    Foo Ji-HawFoo Ji-Haw
    Jan 9, 2006 at 9:52 am
    Jan 10, 2006 at 9:07 am
  • Hi all, using perl-5.8.5, apache 1.3.x and mod_perl 1.29, I'm getting a core dump when libperl.so gets loaded via LoadModule perl_module path/libperl.so. Does the following gdb stack trace ring a ...
    Mike SchilliMike Schilli
    Jan 9, 2006 at 2:13 am
    Jan 9, 2006 at 4:44 am
  • Some of my perl modules connect to the database during startup, and I have been getting errors when my children try to connect to the database, because they end up trying to share the $dbh handles ...
    Clinton GormleyClinton Gormley
    Jan 29, 2006 at 12:30 am
    Jan 29, 2006 at 10:03 am
  • Hi, list here's a general question which I'm sure has been addressed before. I've got a modperl2 handler within a module Foo. This module uses a whole hierarchy of helpers, like Foo::Bar, and so on ...
    Tomas ZeroloTomas Zerolo
    Jan 26, 2006 at 10:17 am
    Jan 26, 2006 at 2:47 pm
  • Is there any difference between how form post variables are handled in modperl via http vs https? The reason I ask is because since switching from CGI/MP Registry to native MP2 handlers, some of my ...
    JT SmithJT Smith
    Jan 25, 2006 at 10:45 pm
    Jan 26, 2006 at 8:28 am
  • 1. Problem Description: Hey, all. I'm trying to build mod_perl against the stock httpd in RedHat 4ES. The build runs without issue, but "make test" fails immediately with the following error: Can't ...
    Eamon DalyEamon Daly
    Jan 20, 2006 at 3:36 am
    Jan 20, 2006 at 5:02 pm
  • looking for help with a setting up mod_perl openbsd-3.1 on x86 this is what i have in my httpd.conf LoadModule perl_module modules/mod_perl.so Alias /perl/ /var/www/answerguy/perl/ <Location /perl/ ...
    Derek RobsonDerek Robson
    Jan 29, 2006 at 3:22 am
    Feb 1, 2006 at 10:02 am
  • Hey, Since the new FireFox displays CSS parsing errors in the javascript console, my daily visits to perl.apache.org have resulted in that filling up rather quickly with the same two errors: Error: ...
    Tyler MacDonaldTyler MacDonald
    Jan 24, 2006 at 11:13 pm
    Jan 26, 2006 at 5:36 pm
  • Hi. I've just upgraded from mod_perl 1.27 to 2.02 as part of upgrading to Apache 2. The main problem I'm having with our mod_perl script is its notion of the current directory as it relates to ...
    Jim GottliebJim Gottlieb
    Jan 20, 2006 at 11:46 pm
    Jan 26, 2006 at 1:22 am
  • 1. Problem Description: If I declare a <Perl section in httpd.conf, then define a virtual host with "PerlOptions +Parent", httpd dies with a segfault on subsequent PerlRequires. This works in 2.0.1. ...
    Eamon DalyEamon Daly
    Jan 20, 2006 at 10:54 pm
    Jan 24, 2006 at 2:30 am
  • Hi all, I am migrating from SuSE9.2 to 10.0 Both running apache2 and mod_perl2. All the perl web-applications didn't work anymore after the migration. I doesn't execute the perl script(s) but asks me ...
    Johan BareldsJohan Barelds
    Jan 18, 2006 at 5:04 pm
    Jan 19, 2006 at 12:20 am
  • If a patch is applied to standalone perl on a system, does an apache with static mod_perl need to be rebuilt to incorporate the changes to Perl? I understand that when you use a static mod_perl ...
    Kevin MurphyKevin Murphy
    Jan 18, 2006 at 5:15 pm
    Jan 18, 2006 at 7:42 pm
  • I installed Apache::DBI - 0.98 on FreeBSD 5.4 with mod_perl 1. Apache::DBI logs an entry in apache error log file every time it create(s) a new connection or using an existing connection to the ...
    Paul HarrisonPaul Harrison
    Jan 15, 2006 at 3:45 pm
    Jan 16, 2006 at 2:18 pm
  • 1. Problem Description: Once in a while (5 times in one day, then nothing for weeks), we get server errors and the only thing that appears in the logs is: [Sat Jan 07 14:44:43 2006] [error] [client ...
    Barry HoggardBarry Hoggard
    Jan 8, 2006 at 4:18 pm
    Jan 11, 2006 at 10:26 pm
  • Hi, [Tue Jan 10 22:05:34 2006] [error] [client 127.0.0.1] Can't locate object method "FETCH" via package "APR::Table" at e:/web/modules/Modul.pm line 35.\n The line 35 of that script contains: my ...
    Octavian RasnitaOctavian Rasnita
    Jan 9, 2006 at 8:22 pm
    Jan 9, 2006 at 9:42 pm
  • I recently put together a Gentoo server with apache and mod_perl. I'm trying to run a perl script that has a require statement for a local file, i.e. require "database_util.pl" where database_util.pl ...
    Nicholas Aaron PhilbrookNicholas Aaron Philbrook
    Jan 9, 2006 at 7:51 pm
    Jan 9, 2006 at 8:44 pm
  • 1. Problem Description: Received the following error during "make test". I have already installed the latest Bundle::Apache and verified that the ServerUtil package exists in one of the directories ...
    Mike SubelskyMike Subelsky
    Jan 2, 2006 at 9:35 pm
    Jan 3, 2006 at 7:56 pm
  • I'm not very familiar with UNIX but I believe I followed the instructions exactly for installing mod_perl, and I still ran into the problem below. (Since I'm not used to UNIX though, if you need me ...
    Bennett HaseltonBennett Haselton
    Jan 31, 2006 at 10:04 pm
    Feb 2, 2006 at 12:46 am
  • I just installed a new version of perl (5.8.7) on one of my servers. After I had a complete install w/o any trouble, I re-installed mod_perl (2.0.2) so that it would be using my newer version of ...
    Steven BushSteven Bush
    Jan 31, 2006 at 8:22 pm
    Feb 1, 2006 at 11:30 am
  • Hi All, Im using mod_perl and notice that while fetching data from a directory where the files are present, its not reading those files and getting the data. After some refresh or apache restart the ...
    Senthil NathanSenthil Nathan
    Jan 31, 2006 at 5:53 am
    Jan 31, 2006 at 12:14 pm
  • I'm cleaning up / refactoring a bunch of stuff in my BigModPerlProject that will hopefully go public w/an alpha phase next week ( side note - thanks to everyone here for helping me out over the past ...
    Jonathan VanascoJonathan Vanasco
    Jan 26, 2006 at 6:57 am
    Jan 26, 2006 at 5:26 pm
  • Hi, When I run a script say yyy.pl using ab then one of the child process name is changed to that of the script. #cat yyyp.pl #!/opt/perl/bin/perl sleep 20; print "test\n"; This is just after the ...
    Pradeep kumarPradeep kumar
    Jan 20, 2006 at 1:52 pm
    Jan 20, 2006 at 10:35 pm
  • I tried that. But <Location is not allowed inside a <Location block: $r- add_config() has failed: <Location cannot occur within <Directory/Location/Files section Torsten
    Torsten FoertschTorsten Foertsch
    Jan 7, 2006 at 1:15 pm
    Jan 18, 2006 at 9:16 am
  • I have some problem about file handle in mod_perlV2.02 + apache v2.055. I got some strange result today.And i check the program find that i forgot to close(filehande). But this case to bring about ...
    LUKELUKE
    Jan 17, 2006 at 7:03 am
    Jan 17, 2006 at 2:06 pm
  • Hello. I get "Undefined subroutine &Scalar::Util::weaken called at /opt/rt34/lib/RT/Action/Generic.pm line 108." which means that Scalar::Util (really List::Util) couldn't load XS library, but this ...
    Ruslan ZakirovRuslan Zakirov
    Jan 16, 2006 at 9:30 pm
    Jan 17, 2006 at 1:29 am
  • Hi, our CMS create sometimes long runnig tasks. This Tasks we start with the following code: `/usr/bin/perl -e 'use Modul; Modul- function($arg);' /dev/null &`; This works. Apache returns the ...
    Jens GassmannJens Gassmann
    Jan 6, 2006 at 10:32 am
    Jan 10, 2006 at 3:17 pm
  • Hi, I've setup a AAA using the 3 handlers. I took a small amount from the mod_perl Cookbook, to figure out how to do it using an HTML form instead of a REALM popup box. So the good news is it works. ...
    Philip M. GollucciPhilip M. Gollucci
    Jan 6, 2006 at 5:30 pm
    Jan 6, 2006 at 5:39 pm
  • 1. Problem Description: make fails at last step - link flags seem to be wrong: ld -shared -expect_unresolved "*" -O4 -msym -std -s -L/usr/local/lib mod_perl.lo modperl_interp.lo modperl_tipool.lo ...
    Fox, MichaelFox, Michael
    Jan 4, 2006 at 5:50 am
    Jan 5, 2006 at 5:19 am
  • I'm trying to set up modperl on Windows XP. Instead of executing the file, I get this returned to my browser: #!/usr/bin/perl5.8.0 print "Content-type: text/html\n\n"; print "Hello World!\n"; 1; Here ...
    Pete AlvinPete Alvin
    Jan 3, 2006 at 7:56 pm
    Jan 3, 2006 at 9:00 pm
  • Hi, Been reading through this page: http://perl.apache.org/docs/general/testing/testing.html at the bottom of the page the "Puffin" testing framework is suggested, with a link to ...
    Carl JohnstoneCarl Johnstone
    Jan 30, 2006 at 4:54 pm
    Jan 30, 2006 at 5:34 pm
  • Hi, I need to add a unique variable to every GET request processed by the application without issuing a redirect. Is there a way to cleanly accomplish it in MP2? The following is the illustration: ...
    Alex-lists-modperlAlex-lists-modperl
    Jan 27, 2006 at 9:29 am
    Jan 27, 2006 at 3:57 pm
  • I'm having trouble building svn of apreq2 on FreeBSD 5.4: # perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs -- with-expat=/usr/local perl: 5.8.6 ok mod_perl: 2.000002 ok ...
    Ryan PerryRyan Perry
    Jan 26, 2006 at 5:37 am
    Jan 26, 2006 at 7:54 am
  • I'm running the entire build process as root. One thing I just noticed is that the December RHEL4 update included a new perl, compiled with: # perl -V | grep gccversion ccversion='', ...
    Eamon DalyEamon Daly
    Jan 20, 2006 at 4:41 pm
    Jan 20, 2006 at 4:50 pm
  • OK, so I followed the guidelines and changed mod_perl, Apache2::*, constants, etc. I had to uncomment a reference to Apache2::Connection so references to $r- connection- remote_ip() would work. At ...
    Dan AxtellDan Axtell
    Jan 17, 2006 at 7:56 pm
    Jan 19, 2006 at 12:53 am
Group Navigation
period‹ prev | Jan 2006 | next ›
Group Overview
groupmodperl @
categoriesmodperl, perl
discussions77
posts348
users105
websiteperl.apache.org

105 users for January 2006

Perrin Harkins: 34 posts Philip M. Gollucci: 31 posts Tom Schindl: 20 posts Mark Galbreath: 13 posts Foo Ji-Haw: 12 posts Frank Wiles: 10 posts Tyler MacDonald: 9 posts Torsten Foertsch: 8 posts Eamon Daly: 6 posts John ORourke: 6 posts Len Kranendonk: 6 posts Philippe M. Chiasson: 6 posts Ryan Perry: 6 posts Ben syverson: 5 posts Geoffrey Young: 5 posts Jeremy Nixon: 5 posts Jonathan Vanasco: 5 posts JupiterHost.Net: 5 posts LUKE: 5 posts Paul Harrison: 5 posts
show more
Archives