Re: FreeBSD 7.2, mod_perl2 Apache2::Cookie (libapreq2)

2009-11-10 Thread Foo JH
step? - Original Message - *From:* metacyc...@gmail.com mailto:metacyc...@gmail.com *To:* Sin mailto:sinis...@gmail.com *Cc:* Foo JH mailto:jhfoo...@extracktor.com ; Adam Prime mailto:adam.pr...@utoronto.ca ; Joe Niederberger mailto:jniederber

Re: FreeBSD 7.2, mod_perl2 Apache2::Cookie (libapreq2)

2009-10-30 Thread Foo JH
Just a thought: is install ap22 + mp2 + libapreq2 via pkg_add -r an option? That's what I normally do these days. Adam Prime wrote: You guys might want to take a look at this thread on apreq-dev http://marc.info/?t=12420765987r=1w=2 Specifically the last couple of posts from pgollucci

Re: Plack

2009-10-21 Thread Foo JH
I've been - in my spare time - trying to figure this PSGI thing out. I'm a Windows guy you see, and I realised there's no PPM for Plack. Is Strawberry the only alternative? Jonathan Vanasco wrote: On Oct 15, 2009, at 1:36 PM, Adam Prime wrote: I haven't played with it, but i have read a

Re: ApacheCon 2009 in Oakland

2009-10-21 Thread Foo JH
Damn, I left SF 3 weeks back. I'm never going to get to attend ApacheCon... Fred Moyer wrote: On Tue, Oct 20, 2009 at 5:43 AM, Jeff Trawick traw...@gmail.com wrote: On Mon, Oct 19, 2009 at 12:15 AM, Fred Moyer f...@redhotpenguin.com wrote: Greetings, Is anyone here attending

Re: PerlSwitches -I

2009-09-06 Thread Foo JH
I'm not sure if I remember right, but you may want to check out the PerlOptions +Parent option. http://modperlbook.org/html/24-5-6-3-Parent.html Artem Kuchin wrote: I have run into a problem. I want to have my packages precompiled in apache process with PerlModule X:Y X:Y is my own package

Re: [mp2] Apache2::Reload missing in FreeBSD ports

2009-09-06 Thread Foo JH
Philip M. Gollucci wrote: WITH_MODPERL2=yes is std option used by many ports. Also, you didn't read the output from www/mod_perl2 that tells you to install it (www/p5-Apache-Relaod); though it doesn't mention the above var. WITH_MODPERL2=yes will actually be dying sometime in 2010 and

[mp2] Apache2::Reload missing in FreeBSD ports

2009-09-03 Thread Foo JH
Hello guys, I'm wondering if there is any1 using FreeBSD + Apache2 + mp2. In short: there's no Apache2::Reload. I browsed around the web (in particular http://www.mail-archive.com/d...@perl.apache.org/msg12048.html) , and apparently I'm not the only one who noticed it. People mention

Re: [mp2] Apache2::Reload missing in FreeBSD ports

2009-09-03 Thread Foo JH
Thanks Hiro, I wonder: if nobody is to advise otherwise, how will one know out that it is possible to install p5-Apache-Reload with the WITH_MODPERL2=yes option, without digging into the make file? Hiroyuki Hanai wrote: just FYI. I'm wondering if there is any1 using FreeBSD + Apache2 +

Re: mod_perl on win32

2009-08-26 Thread Foo JH
I'd suggest to get your mp2 up with the following stack: Apache22 Windows binary ActivePerl binary precompiled mod_perl2 + libapreq2 from the repo Michiel Beijen wrote: Hi all, I'd like to know if it's possible to build mod_perl on Win32; I'd like to use mod_perl with StrawberryPerl. It seems

mod_perl6 availability?

2009-04-07 Thread Foo JH
Hi guys, There's recently some talk on the ActivePerl mailing list on Perl6 (Rakuda) and IIS. Out of curiosity, is anyone experimenting on this on mod_perl6? mod_perl6 was mentioned by Jeff Horwitz in the following articles: 1.

Re: decline and fall of modperl? (my last post on this subject)

2009-03-29 Thread Foo JH
Please do not reply to my comments. I think it's time to close this and move on. Ok, my personal summary on this topic: 1. The fact that so many people (including lurkers) responded to this email suggests that it is a subject that's important to them - be it personal, professional, or academic.

Re: decline and fall of modperl?

2009-03-27 Thread Foo JH
Octavian Rasnita wrote: It seems that Perl is beaten by this new atitude, and the fact that it is a better language doesn't help too much. Haven't we all learnt from Bush, that the best people don't always make President? If the program is hard enough protected, most users won't be able to get

Re: decline and fall of modperl?

2009-03-26 Thread Foo JH
Rolf Banting wrote: 1. Perl supports more programming paradigms than Java. Agreed. The problem is with perception. People identify Perl as a procedural language, and strongly typed languages (ie C#, Java) as modern languages enforcing modern concepts. We all know that's isn't entirely true of

Re: decline and fall of modperl?

2009-03-26 Thread Foo JH
Octavian Râsnita wrote: 1. I don't know what it means that perl supports more paradigms than Java, but I know that the Java / C# OOP style is usually considered a much complete and better standard than one used by Perl. Java / DotNet support interfaces, so the classes they

Re: decline and fall of modperl?

2009-03-26 Thread Foo JH
David Ihnen wrote: I suppose we need more programmers than those programmers who are just interested in coding? I never met a good programmer who wasn't intrinsically interested in it. They like to program, then they realise that being a programmer means been strangled by middle management.

encrypting perl

2009-03-25 Thread Foo JH
Octavian Râsnita wrote: The actual perl programmers are not important, because they already have their reasons for using perl. Are you saying that nobody uses Zend Encoder because PHP also runs using an interpreter? I'm changing the topic of your discussion because it's gone tangent to the

Re: decline and fall of modperl?

2009-03-25 Thread Foo JH
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 who invented hard typed languages,

Re: decline and fall of modperl?

2009-03-24 Thread Foo JH
André Warnier wrote: I would like to add that it seems ridiculously simple to decompile Java classes. Agreed. With the popularity of bytecode languages such as Java and .Net, suddenly nobody talks about the ease of obtaining source code in the flesh. As Andre mentioned, it's trivial to decompile

Re: Fw: Re: decline and fall of modperl?

2009-03-24 Thread Foo JH
In my humble opinion the perl community needs to embrace the concept of self propagation. For the most part perl/oo perl/mod_perl developers are self taught. Junior or mid level talent (a majority of the talent pool) is passed over as not enough experience. It is interesting

Re: decline and fall of modperl?

2009-03-23 Thread Foo JH
Perrin Harkins wrote: On Mon, Mar 23, 2009 at 11:30 AM, Octavian Râsnita orasn...@gmail.com wrote: ...and in most parts of the world it is hard to find competent perl programmers. ...The job listings for Perl are strong. They're huge compared to those for Ruby. Of course Java is massively

Re: Apache2::Reload: Where is it?

2009-01-16 Thread Foo JH
fREW Schmidt wrote: [Thu Jan 15 17:34:21 2009] [error] Can't locate Apache2/Reload.pm in @INC (@INC contains: C:/usr/site/lib C:/usr/lib . C:/Program Files/Apache Software Foundation/Apache2.2) at (eval 3) line 3.\n [Thu Jan 15 17:34:21 2009] [error] Can't load Perl module Apache2::Reload

[mp2] a way to map a uri to a physical path

2009-01-14 Thread Foo JH
Hi all, I'm trying to find the class/ method which allows me to get the physical path base on the uri. Something similar to Server.MapPath('/index.htm') in ASP.NET. Any advise is appreciated. Thanks.

Re: [mp2] a way to map a uri to a physical path

2009-01-14 Thread Foo JH
Adam Prime wrote: I'm trying to find the class/ method which allows me to get the physical path base on the uri. Something similar to Server.MapPath('/index.htm') in ASP.NET. Any advise is appreciated. Thanks. $r-document_root . $r-uri Thanks for replying. In my case it's a wee bit more

Re: [mp2] a way to map a uri to a physical path

2009-01-14 Thread Foo JH
Adam Prime wrote: Foo JH wrote: Adam Prime wrote: I'm trying to find the class/ method which allows me to get the physical path base on the uri. Something similar to Server.MapPath('/index.htm') in ASP.NET. Any advise is appreciated. Thanks. $r-document_root . $r-uri Thanks for replying

Re: APR, libapreq2, mod_perl2, APR::*, Apache2::*

2009-01-08 Thread Foo JH
Michael Ludwig wrote: I'd like to reach an understanding of what these ranges of modules and interfaces are intended for. When would I want to use which interface? Or is it all a matter of style and taste? Possibly. You will need the standard modperl2 library to even get modperl up and

Re: Apache2::Controller release

2008-12-30 Thread Foo JH
Mark Hedges wrote: http://search.cpan.org/~markle/Apache2-Controller-1.000.001/ Very interesting. I have a controller which functions in a slightly different way, but it's good to see alternative approaches. I think yours makes life easier.

Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-11 Thread Foo JH
Path:/usr/ports/www/libapreq2 Path:/usr/ports/www/p5-libapreq Path:/usr/ports/www/p5-libapreq-static Path:/usr/ports/www/p5-libapreq2 You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes Thanks. Does the fact that libapreq can be installed w/o modperl mean that

[mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Foo JH
Hi all, I'm testing the latest mp2 stack on FreeBSD 7. While everything installs ok, I'm having difficulties locating the Apache2::Cookie module. I understand Apache2::Cookie is part of the libapreq2 package. I installed that via ports, and the installation did not report errors. The module

Re: [mp2] where did Apache2::Cookie go in freebsd?

2008-12-09 Thread Foo JH
Ok I figured it out. Apparently to get libapreq2 up, one has to install: 1. /usr/ports/www/libapreq2 2. /usr/ports/www/p5-libapreq2 Foo JH wrote: Hi all, I'm testing the latest mp2 stack on FreeBSD 7. While everything installs ok, I'm having difficulties locating the Apache2::Cookie module

[mp2] Win32 Apache2.2.9 + AP5.10.0 + MP2.04 = OK

2008-12-02 Thread Foo JH
Hi all, Recently started testing the a/m stack. Happy to report: so far so good: 1. Apache can be restarted via ApacheMonitor.exe 2. Works with libapeq2.6.3 3. Survives multiple restarts 4. Works with Apache2::Reload Disclaimer: I'm not hard-core mp2, so the tests are wy surface-grade . A

Re: mod_perl survey results

2008-11-12 Thread Foo JH
William A. Rowe, Jr. wrote: Foo JH wrote: Adam Prime wrote: The results of the mod_perl survey that Fred Moyer and I conducted can be found at the following link: Interesting list. Any chance the workshop will come to Singapore? :) Not quite, but close... http://us.apachecon.com/c

Re: mod_perl survey results

2008-11-10 Thread Foo JH
Adam Prime wrote: The results of the mod_perl survey that Fred Moyer and I conducted can be found at the following link: Interesting list. Any chance the workshop will come to Singapore? :) I am strangely excited by the potential of filters. mod_perl feels like a generic tool that can do more

Re: mod_perl2 start one script twice

2008-10-22 Thread Foo JH
It's quite simple really. You're running 2 instances of the script. To retain the value of $counter, read up the mod_perl documentation for tips. CthuMP wrote: I have follow simple script: !#/usr/bin/perl print Content-Type: text/html\n\n; print Counter: . (++$counter) . \n; print time(),

Re: Windows settings cause crash (originally: FAIL!!!)

2008-10-13 Thread Foo JH
You may want to try 2 options: 1. Use an older version of the Apache build like 2.2.6. It has been known to be fairly stable. 2. Try the build from ApacheLounge. It's generally not favoured, but it seems to handle some things better. greg augustine wrote: Also, the ThreadsPerChild is 250 and

Re: mod perl vesion 2 on Win32 returns runaway multi-line RR string errors on working CGI files

2008-08-25 Thread Foo JH
I use modPerl (not the CGI though), but I don't see this error even when slapping things on notepad. Perhaps the problem is something else? Perrin Harkins wrote: On Sun, Aug 24, 2008 at 4:54 PM, Joe Smoker [EMAIL PROTECTED] wrote: Seems like mod perl does not like the CRLF chars in the

Re: framework for modperl applications

2008-07-17 Thread Foo JH
Most will argue that it's not considered a framework per se, but I like HTML::Template. It's more of a templating engine really. [EMAIL PROTECTED] wrote: I found that Catalyst is too huge to use. Other than Catalyst, do you have any other framework suggested for MP applications? thanks.

Re: graphics in perl

2008-06-25 Thread Foo JH
michael watson (IAH-C) wrote: Did you try GD::Graph? GD::Graph is a good graphing tool. It can get quite low-level as well, so you have to decide which visualiser works for you. The advantage of GD::Graph is that it'd likely be rendered as a JPEG/ GIF, and that's something you can

Re: graphics in perl

2008-06-24 Thread Foo JH
Rolf Schaufelberger wrote: Am Sonntag, 22. Juni 2008 11:27:26 schrieb Malka Cymbalista: We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 with mod_perl 2.0.3. Our data is in a MySQL database (MySQL 5.0.45) We have been asked to write a web application that requires

Re: Post data with Apache2::Request

2008-05-25 Thread Foo JH
kropotkin wrote: Hi I am trying to obtain POST data from a form. Try LWP::UserAgent to post forms instead. It's quite easy to use.

Re: Current working directory always /

2008-05-22 Thread Foo JH
Hello Perrin, I would think that threads are more important to Win32 Perlies than their Linux counterparts. To me, I use threads as often as I can to maximise performance and scalability. To conclude, I can't agree with your statement that people don't use threads. william wrote: On

Re: refactoring client's decision

2008-05-12 Thread Foo JH
Creating packages with the same name for multiple sites is generally a recipe for confusion. Following what Michael Peters said, the better way will be to create a properly namespaced package instead. But in the event that the right thing cannot be done, you can consider creating a new

Re: [Fwd: HELP-can you help me find MODPERL programmers? in BAY AREA PLEEZE]

2008-04-30 Thread Foo JH
'Triad Personnel'? Do they pay in blood money? Geoffrey Young wrote: apparently, due diligence doesn't cover proper spelling or YELLING. but for the interested... --Geoff Original Message Subject: HELP-can you help me find MODPERL programmers? in BAY AREA PLEEZE Date:

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Foo JH
Alas, I have bad news to report: Tech stack: Windows 2003 Server Apache 2.2.4 Perl 5.10.0 mod_perl 2.0.4 from 10xx/ path Observations: 1. mod_perl is able to start 2. mod_perl is unable to survive an Apache restart signal 3. (relavant) error log available below: [Thu Apr 17 23:39:34 2008]

Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Foo JH
Foo JH wrote: Alas, I have bad news to report: Tech stack: Windows 2003 Server Apache 2.2.4 Perl 5.10.0 mod_perl 2.0.4 from 10xx/ path Observations: 1. mod_perl is able to start 2. mod_perl is unable to survive an Apache restart signal 3. (relavant) error log available below: [Thu Apr 17 23:39

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-02 Thread Foo JH
Fantastic! Can I assume that libapreq will be compatible with this version? In all likelihood the only way is to try it yourself... Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 Works with Perl 5.10 is ready. It can be downloaded here:

Re: modperl with SSL

2008-03-24 Thread Foo JH
What is a realserver? J. Peng wrote: hello list, we have our own realserver called QHttpd. This realserver doesn't support SSL protocal (https). So I have to develop a proxy before QHttpd to get it be compatible with SSL. I was thinking using modperl handler to do it. modperl accept the SSL

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Foo JH
try print $template-output; You forgot the print(); xyon wrote: Hey everyone, Firstly, I apologize I sent the previous email under an incorrect subject line. I am working on my first Object-Oriented project, and have hit a slight snag. I am using HTML::Template to output within the View

Re: mod_perl PPM missing Apache2::Reload

2008-02-25 Thread Foo JH
Where can one download the ppd from then? I don't see it in theoryx5. Will be nice if we can install it as easily as modperl and libapreq... Jonathan Vanasco wrote: On Feb 25, 2008, at 1:57 AM, Dami Laurent (PJ) wrote: Hi Randy, Thanks a lot, seems to work fine (but I didn't test very

Re: Amazon

2008-02-22 Thread Foo JH
Can be anything really, though I admit I'm not in the know. Sometimes it's simply a business decision: perhaps moving development off-shore to companies that are full of Java/ .NET people? Can't find enough competent mp developers? Jonathan Vanasco wrote: I've heard from a few reputable

Re: mod_perl / Perl5.10 / Win32 ?

2008-02-20 Thread Foo JH
Thanks! I mean for compiling for 5.10! Randy Kobes wrote: As there's been several requests for this, I've put up an ActivePerl 10xx ppm package of mod_perl2, based on the current svn sources, at http://cpan.uwinnipeg.ca/PPMPackages/10xx/ which you can install via C:\ ppm install

Re: @inc ithreads virtual server +parent

2008-02-11 Thread Foo JH
Dylan, Let's see: you have a client base who likes a staging-production development scenario. There's a few ways you can play it out: 1. Different client, different code base You use 2 machines: 1 for staging and the other for production. Set them up exactly the same. Run your VirtualHost

Re: Question about open()

2008-02-10 Thread Foo JH
I do keep my templates in other directories also. 1. If your directories are relative to the document root, and you can take advantage of this fact by rendering a variable to remember the template path. 2. If your template directories have nothing in common with the document root, then you

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-10 Thread Foo JH
Randy, I think characterizing the ASF binaries as unreliable with mod_perl is misleading - there were some recent problems with restarts, etc. on Win32 that have been looked into and addressed for the 2.2.8 release. The intent of my earlier response was not to undermine the quality of the ASF

Writing a startup module for modperl in Win32

2008-02-09 Thread Foo JH
Hi all, I've done some refactoring recently on my mp2 app (on Win32), and succeeded in resolving the annoying startup issue (basically, does not start up well). I've documented my experience in the following url:

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-09 Thread Foo JH
give it a try and see if you're having it better? William A. Rowe, Jr. wrote: Foo JH wrote: Andre, I've recently set up a test based very closely on your platform: AP2.2.8 AP5.8.8 Build 822 MP2.0.3 You mention a VC 2005 build of httpd, which build of MP? 2005? Not sure which uwinnipeg

Re: install mp2 on windows

2008-01-22 Thread Foo JH
Read this: http://perl.apache.org/docs/2.0/os/win32/install.html Jennifer G. wrote: Hello, How to install mp2 on windows XP? Does it need a VC complier? But I'm not familiar with that complier and C/C++ language. I have apache binary version installed but without modperl.thanks.

Re: get UserAgent

2008-01-20 Thread Foo JH
Isn't UserAgent just a header field? You can browse through the headers. Jeff Pang wrote: Hello, what are the methods to get UserAgent setting in both mp1 and mp2? I tried search,but got no results. Thanks! Regards, Jeff Pang

Re: AP2.2.7 + MP2.0.3 on Win32

2008-01-17 Thread Foo JH
to 2.2.4 and things are much happier now. Foo JH wrote: Hi all, Just want to slap a quick note that I've tried the following combo on Win32 platform (Windows 2003 Server x86): Apache 2.2.7 from ApacheLounge (apachelounge.com) modperl 2.0.3 from theoryx5 (ppd) libapreq 2.6.2 from theoryx5 (ppd

AP2.2.7 + MP2.0.3 on Win32

2008-01-14 Thread Foo JH
Hi all, Just want to slap a quick note that I've tried the following combo on Win32 platform (Windows 2003 Server x86): Apache 2.2.7 from ApacheLounge (apachelounge.com) modperl 2.0.3 from theoryx5 (ppd) libapreq 2.6.2 from theoryx5 (ppd) Perl 5.8.8 (ActivePerl build 822) The only thing I'm

Re: Caching Packaging

2008-01-09 Thread Foo JH
If you're running your scripts in Apache2::Registry, your scripts are compiled on first go, and remain in memory subsequently. When your script changes, the change should be detected, and recompilation is automatic. IMHO this is a real time saver as development goes. do() is bad for speed

Re: Theory and practice of mod_perl win32

2008-01-06 Thread Foo JH
Thinking from the perspective of the developer who tries very hard to avoid dealing with C/C++, can the ApacheLounge patches and compilation do the trick? Caveat: have not read the dialog on the mailing list described. William A. Rowe, Jr. wrote: Anyone following the dialog on [EMAIL

Re: modperl on Win32 is still happening

2007-12-11 Thread Foo JH
Firstly: mod_perl is a good choice. :) There are other languages out there which can probably do the same job 90% of the time. But what you have chosen is a language that is: 1. OS independent 2. Highly extensible via CPAN 3. Fast to cook, good to eat It's not a question of whether you can do

modperl on Win32 is still happening

2007-12-05 Thread Foo JH
Looking at the (albeit small) stream of entries to the mailing list, I'm actually quite happy to notice that people are: 1. Still using modperl. Some newbie questions may suggest fresh blood... 2. Still using modperl on Win32 (despite the 'limitations'). Good news for Microsoft, but I

Looking for a career in Perl overseas

2007-12-05 Thread Foo JH
For what it's worth, I'm gonna try anyway... I'm a Perl/ C# developer in Singapore with some 9 years in development, looking forward to enjoy a career in a new culture and environment (outside of Singapore). No criminal records, though some will claim I've sinned for learning C# instead of

Re: mod_perl.so is garbled - expected signature 41503232 but saw 41503230

2007-10-31 Thread Foo JH
Hello Noah, I'm using FreeBSD as well, but I'm usually too scared to run cvsup because that usually (almost always) will cause my make install to fail. Can you confirm if you did a cvsup-nogui as well? Can you explain how you do the 'apache configuration file update'? Noah wrote: thanks

Re: mod_perl MVC framework.

2007-10-24 Thread Foo JH
What is fast to cook, good to eat is HTML::Template. No XML, easy abstraction between your web designer and developer. Tyler Bird wrote: Hi List, Hey I was wondering if there was any MVC framework that anybody on this list could point me to that work work well with mod_perl. We are having

Re: Apache crashing

2007-10-10 Thread Foo JH
- From: Foo JH [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 12:43 PM To: Ian G. Tyndall Cc: modperl@perl.apache.org Subject: Re: Apache crashing What's your modperl config like? Ian G. Tyndall wrote: Ok, I decided to upgrade my Apache to see if that would fix things. I

Re: Apache crashing

2007-10-09 Thread Foo JH
What's your modperl config like? Ian G. Tyndall wrote: Ok, I decided to upgrade my Apache to see if that would fix things. I installed 2.2.4, and I was getting the same error as originally reported... but more often. Then, I upgraded to 2.2.6 from the Apachelounge... and now I'm getting an

Re: Apache 2.2.6 and mod_perl 2.0.3

2007-10-04 Thread Foo JH
Why don't you read about what's new in 2.2: http://httpd.apache.org/docs/2.2/new_features_2_2.html Jeff Pang wrote: Hello, Does apache2.2+mp2 have much advantage than apache2.0+mp2? 2007/10/4, Foo JH [EMAIL PROTECTED]: You may want to hold back on 2.2.6. Use either 2.2.4 from ASF or 2.2.5

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH
Right. Except there is no 2.2.5; 2.2.5 is not released on the Apache web site. Those who want this version can get it at ApacheLounge. Of course 2.2.4 essentially worked, while 2.2.7 will give the modperl'ers on Windows something they have BEGGED for forever, the chance to see parsing

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH
Octavian Rasnita wrote: Regarding the best Apache for Windows, I have a problem running Apache under windows and I think this thread might help me. I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from apachelounge, but they still don't work. I'm using 2.2.4 now on Win32,

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH
Because you used theoryx5's perl/modperl/libapreq2 built for VC8, along with the AL build of 2.2.4 ALSO built for VC8, everything is dandy. Equally if you used ActiveState perl (built VC6) + a VC6 build of modperl and libapreq2 with the ASF distribution of httpd 2.2.4, everything is dandy.

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH
I haven't looked into this, but the fact that AL's mod_perl (compiled, presumably, with VC8) doesn't work with, again presumably, ActivePerl (compiled with VC6) may be another example of the dangers of mixing components compiled with VC6 and VC8. Point taken.

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread Foo JH
Sorry man, I'm not too familiar with Catalyst, so I can't pinpoint the problem. But if your tests are good with a clean install of Apache2 + mp2, you may want to check compiler used to build Catalyst (see Randy's email on the VC used for ActivePerl, Apache, and modperl). I suppose Catalyst is

Re: Apache 2.2.6 and mod_perl 2.0.3

2007-10-03 Thread Foo JH
You may want to hold back on 2.2.6. Use either 2.2.4 from ASF or 2.2.5 from ApacheLounge. Tracy E Schreiber wrote: Hi, I believe that mod_perl 2.0.3 is not compatible with Apache 2.2.6. Starting Apache gives this error: httpd.exe: Syntax error on line 31 of D:/Apache/conf/httpd.conf:

Best version of Apache for Win32 deployment

2007-10-02 Thread Foo JH
Hi all, Just want to share something I read today (fairly old news) at ApacheLounge: http://www.apachelounge.com/forum/viewtopic.php?t=1907 Since many (most?) people who use Apache from Apache Lounge also use mod_fcgid and/or mod_perl, it seems that 2.2.5 will remain the best Apache version

Re: Newbie - Samples or Tutorials

2007-09-23 Thread Foo JH
aqua wrote: Thanks for your email. I am actually looking for current mod perl related tutorials and not just Perl related. This HoptScripts site contains 3 mod_perl related tutorials and they are very old (2000). Why not drop by Amazon and pick up the mod_perl 2 book instead? It's just

Re: apache2 graphs

2007-09-19 Thread Foo JH
You can consider ImageMagick. It works on standard Perl apps as well. Eli Shemer wrote: Hey there What replacement do I have for Apache::GD to work on mod_perl 2 ? Thanks.

Re: The mod_perl2 User's Guide book is out

2007-09-10 Thread Foo JH
I've been waiting for this book for the longest time... Stas Bekman wrote: Hi everybody, Jim Brandt, Allison Randal and I are happy to announce that the first book about mod_perl2: The mod_perl2 User's Guide has been published and available for purchase. See the book's site:

Re: PerlRequire executed 4 times on apache startup

2007-08-28 Thread Foo JH
I've had this same experience on Win32 Apache 2 as well. It could be related to the MPM model that the Win32 implementation employs. Tobias Zeising wrote: Hi all, I have a weird problem: on startup apache executes 4 times a Perl Script I included via PerlPostConfigRequire startup.pl in the

Re: Migrate LWP::UserAgent + HTTP::Request to mod_perl2

2007-08-27 Thread Foo JH
What's the error msg you see? Nguyen Vu Hung wrote: Hi all, The following code run without problems under Apache 1.3.29, Perl 5.6.1, mod_perl 1.29. Under the new environment which is Apache 2.0.52, Perl 5.8.8, mod_perl 2.0.3 ( Cent OS 4.5 ), it won't run. I have read through mod_perl2's

Re: Internal Server Error

2007-08-23 Thread Foo JH
Hello Perrin, I'm interested in how you defined your handler with the 'method' attribute: sub handler : method { ... I've read http://perldoc.perl.org/attributes.html about attributes, but it does not seem to suggest that tagging the method attribute to subroutine has any programming

Re: Configuring Mod_perl and Apache web Server

2007-08-21 Thread Foo JH
Read up on this document and other related ones: http://perl.apache.org/docs/2.0/user/config/config.html Read this also: http://perl.apache.org/docs/2.0/os/win32/index.html usha rani wrote: hi, We would like to have information regarding configuration of MOD_PERL 2.0.3 with Apache

Re: Using Apache 2.2 from ApacheLounge for Win32 modperl

2007-08-20 Thread Foo JH
Actually note that it isn't a release and is being rerolled. Seems Apachelounge is doing themselves and their users a disservice, again. I disagree. ApacheLounge's binary distribution is the only one that (configured with modperl) survives an application restart. As I posted in an earlier

Re: Using Apache 2.2 from ApacheLounge for Win32 modperl

2007-08-20 Thread Foo JH
This might be a result of what was mentioned before about possible problems using the binaries from http://www.apachelounge.com/download/ (which is compiled with VC++ 2005) with ActivePerl and ActivePerl-compatible ppm packages (which are compiled with VC++ 6). Mixing these can lead to

Using Apache 2.2 from ApacheLounge for Win32 modperl

2007-08-18 Thread Foo JH
Hi all, While ApacheLounge makes available a Win32 binary of Apache2.2 that seems to work better for modperl than the distribution from apache.com, be advised that if you intend to use libapreq2, you may not want to use the mod_perl binary from ApacheLounge. I don't have the technical

Using modperl from ApacheLounge

2007-08-14 Thread Foo JH
Hi all, Earlier on I was sharing the discovery of an alternative binary for Apache on Win32 at Apache Lounge (http://http://www.apachelounge.com). Here are some updates on the implementation: 1. There are binaries for Apache 2.2 and modperl2, but none for libapreq2. The ppd from theoryx5

Frustration over Apache 2.0/ 2.2 restart failure = possible package found

2007-08-13 Thread Foo JH
to tweak different parameters). So I cross my fingers and hope it will stay this way. Not much of help for you I know, but I remember we have talked about this before Regards Henrik Schak Hansen -Oprindelig meddelelse- Fra: Foo JH [mailto:[EMAIL PROTECTED] Sendt: 10. august 2007

Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-12 Thread Foo JH
William, the point I was trying to make is: 1. My restart test scope merely loads modperl + libapreq. There is ZERO application code loaded. In other words, all I did after installing modperl + libapreq is to ONLY load them into httpd.conf: LoadFile c:/Perl/bin/perl58.dll LoadModule

Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-11 Thread Foo JH
LoadFile bin/libapreq2.dll LoadModule apreq_module modules/mod_apreq2.so Apache/ modperl starts up fine, but if I try to restart the service, it will not survive. Please share with me any tips to improve the situation. I'm open to any ideas. Thanks. Perrin Harkins wrote: On 8/10/07, Foo JH

Re: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-10 Thread Foo JH
enough. Apache must still be able to perform a restart on its own. Any suggestions? Foo JH wrote: Hi all, I am rather disappointed (and a little frustrated as well) on modperl's inability to survive an Apache restart on the Windows platform. The platform combo tested are Windows 2003 + Apache 2.2

Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-10 Thread Foo JH
experienced any problems (except having to tweak different parameters). So I cross my fingers and hope it will stay this way. Not much of help for you I know, but I remember we have talked about this before Regards Henrik Schak Hansen -Oprindelig meddelelse- Fra: Foo JH [mailto:[EMAIL

[mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-10 Thread Foo JH
Hi all, I am rather disappointed (and a little frustrated as well) on modperl's inability to survive an Apache restart on the Windows platform. The platform combo tested are Windows 2003 + Apache 2.2 (and Apache 2.0) + modperl2 + libapreq2 I have come to accept the fact that once in a while

Re: Can't call method prepare on an undefined value

2007-07-22 Thread Foo JH
Does this happen during idle period? MySQL does disconnect when the idle is too long. Dustin D. wrote: I'm having countless problems with mod_perl and not even sure where to start. I thought I had mod_perl up and running in my development environment, so I pushed the new changes + apache

Re: DBI and threaded MPM

2007-07-11 Thread Foo JH
Anthony Gardner wrote: Perrin, I never received your mail (actually, I hardly receive any mails form this list) I have to go to the archives to see if I've received any replies or to see what's been posted in general!! You may want to check with your email admin on this. There's posting on

Re: UTF-8 in mod_perl

2007-07-11 Thread Foo JH
You will want to do 2 things: 1. Set the content type to utf8 ($r-content_type) 2. Encode your output to utf8 (if it's not done already. Sometimes it's just latin1) Cristina Nunes wrote: Hi. I was wondering how I could set the mod_perl (1.x) STDOUT (and STDERR) to expect utf8 char encoding?

ModPerl on Apache 2.2 not suitable for Windows platform

2007-07-09 Thread Foo JH
Hi all, This is a summarised follow-up on my earlier post detailing my concerns with modperl on Apache2.2 (with the latest installations of ActivePerl + modperl) not being to restart gracefully. In other words, during a restart it crashed and stopped. I have received similar observations

Re: First time being here, Need Big help here!

2007-07-09 Thread Foo JH
Don't understand what you mean. To rephrase myself: Apache 1.3 uses modperl 1 Apache 2.0 and 2.2 uses modperl 2 Does this help? [EMAIL PROTECTED] wrote: In the sentence Do note that modperl1 is that mod_perl 1.x or is that an extra 'el'? i assume mod_perl 2 works with apache 2.x On Mon,

Re: First time being here, Need Big help here!

2007-07-08 Thread Foo JH
I'm not too good with Debian either, but since you're installing a new OS, my guess is you can also choose the version of the applications as well. Try installing Apache 2 or 2.2 with modperl 2, instead of Apache 1.3 + modperl. The latter is running on legacy support now. Xin Chen wrote: Hi

Re: Performance Questions

2007-07-08 Thread Foo JH
Let us know how it goes - using XSLT that way is often desirable from a developer's point of view, but is usually impractical due to the processing overhead. If you end up successfully using this technique in production without complaints from users please let the list know, I'm sure a

  1   2   >