Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-26 Thread Hans Poo
ere failing the tests all the time, so i installed them with force, i.e. for DBI module: force install DBI Thanks again, Hans On feb. 24 2019, at 8:07 pm, Michael Schout wrote: > On 2/22/19 10:54 AM, Matthias Schmitt wrote: > > I doubt that you will be able to compile mod_perl 1.x w

Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-22 Thread Hans Poo
hmitt escribió: > Hello, > > > On 22 Feb 2019, at 12:47, Hans Poo wrote: > > > > I've been unable to compile 1.0 on ubuntu 12.04 or later. Anyone has > been able to compile it or has a patched mod_perl source tree ? > > > > wget https://archive.apache.org

Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-22 Thread Hans Poo
ke[4]: *** [all] Error 1 make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/root/src/apache_1.3.42/src' make[2]: *** [build-std] Error 2 make[2]: Leaving directory `/root/src/apache_1.3.42' make[1]: *** [build] Error 2 make[1]: Leaving directory `/root/src/apache_1.3.42' make: *** [apaci_httpd] Error 2 Thanks Hans Poo

Tutorial to install mod_perl 1.0 from source on latest ubuntu linux

2013-02-22 Thread Hans C. Poo
Hi, I've write down/collected some instructions to install mod_perl 1.0 from source on latest ubuntu linux. http://www.welinux.cl/wordpress/legacy-mod_perl-1-0-from-source/ May help someone. Bye Hans Poo, Welinux S.A. Bombero Ossa #1010, oficina 800, +56-2-3729770, Movil: +56-9-31

Re: Problem compiling 1.0 on linux

2012-12-25 Thread Hans C. Poo
Index: src/modules/perl/perl_util.c === --- src/modules/perl/perl_util.c (revision 1425631) +++ src/modules/perl/perl_util.c (working copy) @@ -670,6 +670,7 @@ if(set_ids++) return; sv_setiv(GvSV(gv_fetchpv("$", TRUE, SVt_PV)

Re: Problem compiling 1.0 on linux

2012-12-07 Thread Hans C. Poo
until the new system is ready. It was a gcc or glibc related issue. Thanks Hans Hans Poo, Welinux S.A. Bombero Ossa #1010, oficina 800, +56-2-3729770, Movil: +56-9-3199305 Santiago, Chile - Mensaje original - > De: "Fred Moyer" > Para: "Hans C. Poo" &g

Re: Problem compiling 1.0 on linux

2012-12-03 Thread Hans C. Poo
uot;Apache::exit", TRUE); ¿ Not sure but it's a gcc thing ? Hans Hans Poo, Welinux S.A. Bombero Ossa #1010, oficina 800, +56-2-3729770, Movil: +56-9-3199305 Santiago, Chile - Mensaje original - > De: "Hans C. Poo" > Para: modperl@perl.apache.org > Enviad

Problem compiling 1.0 on linux

2012-12-03 Thread Hans C. Poo
Hi. I have a legacy mod_perl project, and need to create a development environment. mod_perl-1.31 y apache_1.3.41 on Ubuntu Linux 12.04 The makefile is created fine: hans@tierra:~/desarrollo/mod_perl-1.31$ perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 Then, when issuing make: cc -O2

Re: Problem with long http request generation time - process restarting

2012-01-28 Thread Hans Scharler
4. I spend a few days troubleshooting Classify.dll and the only way I could get it to work was to remove it and use older versions of DateTime. I hope this helps you out. Cheers, Hans On Fri, Jan 27, 2012 at 5:44 PM, Perrin Harkins wrote: > Sorry, just a clumsy cell phone touch. > > - P

Re: [ANNOUNCE] mod_perl 2.0.5

2011-08-23 Thread Hans Scharler
Any word on the release of mod_perl 2.0.6? I will be glad to test to see if it solves the Apache restart issue when a client stops the browser. Thanks, Hans On Mon, May 30, 2011 at 8:31 PM, Fred Moyer wrote: > You might try pulling and building from svn trunk, Steve Hay fixed > som

Re: [ANNOUNCE] mod_perl 2.0.5

2011-05-29 Thread Hans Scharler
a better way to transfer lots of data to the browser? This is where I was able to to track it down to. If I stop the browser before it hits this print line, the "ModPerl::Util::exit(0)" works. Thanks fro taking a look. Hans On Sun, May 29, 2011 at 3:07 PM, Thomas den Braber wrote: > Han

Re: [ANNOUNCE] mod_perl 2.0.5

2011-05-29 Thread Hans Scharler
fix this? Thanks, as always. Hans On Wed, Feb 9, 2011 at 10:22 PM, Randolf Richardson wrote: > > Awesome everyone. Thanks for working on the new release of mod_perl. I > look > > forward to implementing it. > > This is great news! I'm very pleased to see this upd

Re: [ANNOUNCE] mod_perl 2.0.5

2011-02-09 Thread Hans Scharler
Awesome everyone. Thanks for working on the new release of mod_perl. I look forward to implementing it. Has anyone tried 2.0.5 on Windows? On Wed, Feb 9, 2011 at 6:12 PM, Jie wrote: > Thank you so much for the new release! > > Jie > > Please think of our environment and only print this e-mail

Re: add_config proxypass segfaults.

2010-07-16 Thread Hans de Groot
Okay sorry my fault. I missed a quote. in the line $r->filename('proxy:http://www.nu.nl/); Now it works perfectly. Thank you very much for the golden tip. :-)

Re: add_config proxypass segfaults.

2010-07-16 Thread Hans de Groot
Const -compile => qw(FINFO_NORM); sub handler { my $r = shift; $r->proxyreq(2); $r->filename('proxy:http://www.nu.nl/); $r->handler('proxy_server'); return DECLINED; } 1; <http://search.cpan.org/%7Eopi/Apache2-Translation-0.32/> Hans de Groot d Email: ha...@dandy.nl www: http://www.dandy.nl

Re: WELCOME to modperl@perl.apache.org

2010-07-16 Thread Hans de Groot
ly. I do not want to reload my server config every time a change is made and I think must be possible since other locations (like the /test) do work. ps I use: httpd-2.2.3-11.el5_2.centos.4 mod_perl-2.0.4-6.el5 Thanks for any help. Regards Hans de Groot

Re: Linux::Smaps on RHEL

2009-07-22 Thread hans
-r---- 1 hans hans 0 jul 22 08:47 /proc/25064/smaps In any case root and the user owner of the process can read the file, you must run the process that is reading the smaps file as root or as the user owner of the process. If you can't do it in normal ways, you can achieve this usin

Re: mod_perl 1.0 Compilation on Linux Ubuntu

2009-06-17 Thread hans
ran in ubuntu. Thank you Hans - h...@welinux.cl escribió: > Hi, > > I'm having trouble compiling mod_perl on latest ubuntu (Jaunty), i've > tried the latest version of mod_perl: 1.31 and apache: 1.3.41 without > success, then i downgraded to some older versions onc

mod_perl 1.0 Compilation on Linux Ubuntu

2009-06-17 Thread hans
rl.so.5.8.8 /usr/lib/libperl.so sudo ln -s /usr/lib/libgdbm.so.3.0.0 /usr/lib/libgdbm.so cd ../apache_1.3.39 ./configure --activate-module=src/modules/perl/libperl.a \ --disable-rule=EXPAT sudo killall -TERM httpd make && sudo make install cd ../mod_perl-1.30/ sudo make install Any help will

Is there also a way to count the bytes received?

2006-11-14 Thread Hans de Groot
Hi, It's me again with more impossible questions. I am logging the bytes sent to a database, I would also like to log the bytes received is there any small chance this can be done? regards, Hans de Groot

I can change the error_log for a virtual host but how to change the access_log?

2006-11-14 Thread Hans de Groot
Hi, I can use $old_error_fname = $s->error_fname($result{error_log}); To set the location of the error log of a particular virtual host. But I can't find a way to set the location of the normal access_log file. this seems weird to me. Does anyone no how to change that? Than

Re: Mod_perl and (mass) virtual hosting or a mod_vhost alternative

2006-11-13 Thread Hans de Groot
o change more than just the document root , I would be gratefull. Maybe an offtopic question, But would a reload of the httpd.conf kill the open sessions of visitors of the website? I always asumed it would but maybe I am wrong here. Regards Hans de Groot --- Hans de Groot Email: [EMAIL P

Can't locate Apache2/compat.pm

2006-11-10 Thread Hans de Groot
ut I can't get any example to work properly. I hope some one can shed some light on this. Regards Hans de Groot

Mod_perl and (mass) virtual hosting or a mod_vhost alternative

2006-11-10 Thread Hans de Groot
g mod_perl/1.99_16. Is that the same as mod_perl 2.x? or is it still mod_perl 1.x? I use apache Apache/2.0.52 Any help would be apreciated. Regards, Hans de Groot

Re: Nested Interpolation

2006-03-31 Thread Hans Meier (John Doe)
Hans Meier (John Doe) am Freitag, 31. März 2006 18.37: > Steve Thames am Freitag, 31. März 2006 15.41: > > Consider this: > > > > my %names = (Bob => 'Robert Brower'); > > my $caption = 'Name: $names{Bob)'; > > print eval "

Re: Nested Interpolation

2006-03-31 Thread Hans Meier (John Doe)
Steve Thames am Freitag, 31. März 2006 15.41: > Consider this: > > my %names = (Bob => 'Robert Brower'); > my $caption = 'Name: $names{Bob)'; > print eval "qq|$caption|"; > > If you can't see it, there is a syntax error in $caption: closing > paren ) instead of brace }. The eval

First sketch of Visual mod_perl Guide

2005-12-07 Thread Hans Poo
n in: http://hans.opensource.cl/Visual%20mod_perl%20Guide.png (1,2 MB) Any comments, precisions and corrections will be very appreciated. Hans Poo, Web Developer & Linux Consultant http://hans.opensource.cl, Santiago, Chile

Re: Graphics / Pie Charts

2005-05-06 Thread Hans Poo
1; Good Luck Hans On Fri, 6 May 2005 15:40:40 -0400 (EDT), Sam Tregar w

Re: Transactions corruption and persistent connections

2004-05-10 Thread Hans Poo R.
Thanks a lot Perrin, i will follow your recomendations... i've used the global variable for the database handler for simplicity and to avoid the local declaration and the method call, but i see the point in your advice. I will debug the code with more detail. Hans On Fri, 07 May 2004 18:

Re: Transactions corruption and persistent connections

2004-05-07 Thread Hans Poo R.
rollback for dbname=puente;host=localhost^\userid^\x^\AutoCommit=0^\PrintError=1^\RaiseError=1^\Username=userid -- End of output Thank you Hans On Thu, 06 May 2004 12:41:06 -0400, Perrin Harkins wrote > On Thu, 2004-05-06 at 12:42,

Re: Transactions corruption and persistent connections

2004-05-06 Thread Hans Poo R.
() for database handle being DESTROY'd without explicit disconnect(). 24833 Apache::DBI new connect to 'dbname=;host=localhostxxxAutoCommit=0PrintError=1RaiseError=1Username=' It looks like it's a postgreSQL specific problem. Hans On Wed, 05 May

Transactions corruption and persistent connections

2004-05-05 Thread Hans Poo R.
eError = 1 and AutoCommit = 0. That means i commit manually when transactions are succesfull. Thanks. Hans Poo, Chile -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html