Re: [OWNERSHIP TRANSFER] my Apache::* CPAN modules are looking for new owners

2005-04-20 Thread Foo Ji-Haw
Hello Malcom, I've never maintained modules before, so I'm glad that you're taking the plunge at it. Thanks for helping to support the Perl community! Malcolm J Harwood wrote: On Sunday 27 March 2005 10:51 am, Stas Bekman wrote: 5) Apache-Scoreboard-1.0 (mp1) Apache-Scoreboard-2.0 (mp2)

RC5 really broke some stuff

2005-04-20 Thread Foo Ji-Haw
It looks like the latest release of MP2 RC5 has been giving new installs code breaks. I don't know the full story, but I am pretty sure that the movers and shakers in the decision team have a strong point for it (possibly documented in perl.apache.org). It's caused me unexpected pain recently

mp2: how to take out the default charset append?

2005-04-20 Thread Foo Ji-Haw
Hallo Markus, Thanks for the tip. I really needed to get that off. Please help me with one more related question: if I am to simply use $r->content_type('text/html'), the final render to the client comes with ';charset=8859-1' appended to the header. Is this the result of Apache, or mod_perl? Is

Re: RC5 really broke some stuff

2005-04-20 Thread Foo Ji-Haw
anges since RC4: IMPORTANT this version of mod_perl is completely incompatible with prior versions of mod_perl, both 1.XX and 1.99_XX. Please read the below changes carefully. *** On Apr 20, 2005, at 10:22 PM, F

Re: RC5 really broke some stuff

2005-04-20 Thread Foo Ji-Haw
Thanks Perrin, I will just like to say that this is a point in time when modperl 2 developers are feeling pain right now. Documentation is good, and response on the mailing list is good. Things can always be better of course. People like Jonathan and myself just have to double up (or triple-up!)

Re: RC5 really broke some stuff

2005-04-20 Thread Foo Ji-Haw
5.9.3? Isn't the next official Perl version 5.10? Philip M. Gollucci wrote: It would be nice if some of the users who were so vocal about demanding this change a few months ago would help with the patching fun, or at least help explain to people like Jonathan and Ji-Haw why it needed to happen.

compiling perl on freebsd to support ithreads

2005-04-25 Thread Foo Ji-Haw
Hello guys, I know this is not exactly the best fit for this mailing list, but I am trying to use FreeBSD (4.11 + 5.3) for mp2 work. Hope that qualifies it! The problem is that the perl that comes with FBSD is not compiled with ithreads. I read that to run different modperl apps on virtual sites

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Foo Ji-Haw
to use FBSD for multiple apps in the future. Thanks anyway. It helps. Philip M. Gollucci wrote: On Apr 25, 2005, at 10:21 PM, Foo Ji-Haw wrote: Hello guys, I know this is not exactly the best fit for this mailing list, but I am trying to use FreeBSD (4.11 + 5.3) for mp2 work. Hope that

Re: compiling perl on freebsd to support ithreads

2005-04-25 Thread Foo Ji-Haw
Hello Stas, I'd like to know more about your suggestion of 'running separate mod_perl servers for each host'. Can you elaborate on that? I mean, do you mean to run multiple copies of Apache? The question is whether you want to use it. Perl w/ithreads not only slows things down and requires mor

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Foo Ji-Haw
. Michael Peters wrote: Foo Ji-Haw wrote: Hello Philip, You are suggesting that FBSD 4.x is not easy to compile ithreads via ports. I wonder why FBSD even on 5.x does not come with ithreads precompiled (Linux does!). But I find it quite a deterent to use FBSD for multiple apps in the future

Re: win32 binary of RC5 ?

2005-04-26 Thread Foo Ji-Haw
I'm running mp2 RC5 on 2003. No compilation. Just ppm install everything, including the ones from theoryx5. allan juul wrote: hi does anyone run mod_perl 2.0 RC5 on windows server 2003 ? if so, did you compile yourself or did you get a precompiled installer ? ./allan

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Foo Ji-Haw
Hello Tom, Just to clarify: are you saying that forking is better than threading on windows? Even if it is, I will have to throw in IPC to talk between the forks? Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Foo Ji-Haw schrieb: | Hello Michael, | | Are you saying that Perl

Re: [mp2] Problems with Apache::Request

2005-05-02 Thread Foo Ji-Haw
Let me see if I can answer this one. Your sample code does not use Apache::Request at all. by the way, in the latest release of modperl RC5, Apache::Request is now renamed to Apache2::Request. You probably can guess why. If you wish to use the Apache::Request object, you need to first load the

Re: libapreq2-2.05-dev-rc2 release candidate #2

2005-05-02 Thread Foo Ji-Haw
My thanks to the libapreq team for their time and effort on this. Much appreciated. Joe Schaefer wrote: Please test and offer feedback on the second release candidate for libapreq2-2.05-dev. The changes since 2.04-dev are too numerous to list in this email, so please read the CHANGES file in t

Re: Graphics / Pie Charts

2005-05-06 Thread Foo Ji-Haw
You can try ImageMagick. Very nicely done. David Hofmann wrote: In order to provided stat data on my companies website my boss has asked me to write a program that pulls stat data from our database and display it on a page in graphs and pie charts. He'd like the program to hand the abilty to up

old mod_perl (RC3) in FreeBSD 4.11

2005-05-09 Thread Foo Ji-Haw
As of today 1900 SGT, I did a ports cvsup on my FreeBSD to install a nice fresh setup of apache2+modperl2. Interestingly the ports collection shows RC3 still. I guess until the maintainer ([EMAIL PROTECTED] ) u

Re: old mod_perl (RC3) in FreeBSD 4.11

2005-05-09 Thread Foo Ji-Haw
Thanks for the reply Philip. I'm really not a guru at FreeBSD. I think I can code in the 'old way' until everything is resolved. No pain on my side. Philip M. Gollucci wrote: Foo Ji-Haw wrote: As of today 1900 SGT, I did a ports cvsup on my FreeBSD to install a nice fresh s

Re: What Perl/Apache for mod_perl under Windows?

2005-05-09 Thread Foo Ji-Haw
I've had similar experiences with Apache restarting itself. The problem almost always lies with my code though. :P But I don't know why it should cause Apache to reload itself, rather than simply spit out an error message and point me in the right direction. Things like this sometimes cause me

Re: mod_perl 2.0 under Windows 2000

2005-05-15 Thread Foo Ji-Haw
Why don't you simply install precompiled mp2 via PPM? It's a lot faster and requires less of you. Octavian Rasnita wrote: Hi, I have tried to compile mod_perl 2.0.0-DEV under Windows 2000, using Visual Studio 6. I have done: perl Makefile.pl nmake nmake test The result was: Failed Test

Re: [ANNOUNCE] mod_perl 2.0.0 (preview!)

2005-05-16 Thread Foo Ji-Haw
All right! MP2 at last! Marc Slagle wrote: Philippe M. Chiasson wrote: #* Allright folks, RC6 was released a while ago, and various issues were resolved. According to our planned schedule, I am releasing a mod_perl-2.0.0 preview! As before, this is your last chance to affect the new API, since afte

Re: newbie question already searched the faqs and archives

2005-05-23 Thread Foo Ji-Haw
What does error.log say? Donald Lee wrote: Hello, I am looking for some help getting started with mod_perl. I am at a stopping point where I am at a loss... my setup is as follows: windows xp pro w/sp2 apache 2.0.54 active perl, v5.8.6 built for MSWin32-x86-multi-thread I am already consultin

[mp2] how to automap modules in httpd.conf?

2005-05-25 Thread Foo Ji-Haw
Hello guys, I have been happily developing apps with MP2. Some hiccups, but mostly all due to my bad coding. But generally MP2 is a great platform and I will like to be a better MP2 guy. :) For one of my applications, I have a bunch of modules that I wrote, each actually maps to unique direc

Re: [mp2] how to automap modules in httpd.conf?

2005-05-25 Thread Foo Ji-Haw
Yup. Apache::Dispatch is what I'm looking for! Thanks for the reminder. Even though I can't find Apache2::Dispatch (Dispatch for Apache2?), it gives me an idea on how to implement it internally. Thanks Stas. Stas Bekman wrote: Foo Ji-Haw wrote: Hello guys, I have been happily

Re: Apache2::Reload problem (ModPerl::Util bug)

2005-05-29 Thread Foo Ji-Haw
Hello Mark, I have the same problem as well, though I don't have a decent solution/ workaround for it. All I ended up doing was to use the subpackages. And when the subpackage changes, I touch the main package as well. That seems to cause Apache to reload. Mark wrote: In 2.0.0, if there ar

[MP2] How to turn off caching?

2005-05-30 Thread Foo Ji-Haw
Hi guys, If I am not mistaken, modperl tends to cache all output until the script is completed, then it sends out the page. If I want to (for example) print a period (.) back to the browser every second, what do I need to do? I tried $| but it does not work. Thanks in advance for your advice

Re: [MP2] How to turn off caching?

2005-05-31 Thread Foo Ji-Haw
Hello Rodger, Thanks for the advice. I'm concerned that this sounds like a lot of search-and-replace for my application. I wonder if there is a cleaner method that simply toggles off buffering? Anyone has any ideas on this? Rodger Castle wrote: If I am not mistaken, modperl tends to cache a

Re: Migration to mod_perl 2.0: Problems with CGI.pm

2005-06-03 Thread Foo Ji-Haw
What do you mean by manipulating the core perl modules? There was an earlier discussion on how to migrate from the Apache to Apache2 namespace. Most of the work can be done in a simple search-and-replace across all scripts/ libraries. You really don't want to continue using 'use Apache::Respons

Re: Can't load perl file

2005-06-08 Thread Foo Ji-Haw
What is in your mod_perl.pl file? If there is any error returned during compilation of the script, you will get the error you got . Try running mod_perl.pl from the command line, if it is possible. A possibility is that you forgot to 'use Apache2' in your script. Nick Pietraniec wrote: Hello

Re: Can't load perl file

2005-06-08 Thread Foo Ji-Haw
Yes. When it fails to compile, it returns exactly that 'Can't load...' message. Nick Pietraniec wrote: Turns out it was an error in the mod_perl.pl file I took "Can't load" to mean "Where's this file?" Where I should have taken it as "There's an error in this file" On Jun 8, 2005, at 3:0

[mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Foo Ji-Haw
Hi guys, I'm not exactly new to modperl, but I'm thinking of having Apache/mp2 host soap services rather than start up the daemon via the command line. The latest ActivePerl comes only with Apache::SOAP. I think this is not the right one for MP2. A search on CPAN shows a Apache2::SOAP, which

Re: [mp2] how to install apache2::soap via activeperl

2005-06-14 Thread Foo Ji-Haw
seems to work out just fine, though I wouldn't know how each method compares in terms of speed. I think the biggest bottleneck though will be all that xml parsing! Randy Kobes wrote: On Tue, 14 Jun 2005, Foo Ji-Haw wrote: Hi guys, I'm not exactly new to modperl, but I'

how to run the startup script once

2005-06-14 Thread Foo Ji-Haw
Hi guys, I'm thinking of having Apache+modperl (not much modperl used) start up services when Apache starts up. I did a simple test with PerlRequire and I notice that at startup, the script is run 3 times. But I can possibly start the same service (or run 3 instances of the service as some of

Re: how to run the startup script once

2005-06-15 Thread Foo Ji-Haw
hen I go a graceful: 3 1 2 Why 3 appears before 1 and 2 is beyond me. Is it called the the Apache kill? Torsten Foertsch wrote: On Wednesday 15 June 2005 07:08, Foo Ji-Haw wrote: Hi guys, I'm thinking of having Apache+modperl (not much modperl used) start up services when Apache st

Re: [mp2] how to install apache2::soap via activeperl

2005-06-15 Thread Foo Ji-Haw
seems to work out just fine, though I wouldn't know how each method compares in terms of speed. I think the biggest bottleneck though will be all that xml parsing! Randy Kobes wrote: On Tue, 14 Jun 2005, Foo Ji-Haw wrote: Hi guys, I'm not exactly new to modperl, but I'

Re: [JOB] Perl Programmer for large-scale Apache/mod_perl development

2005-06-20 Thread Foo Ji-Haw
Not just being outsourced. But I don't think even with today's technologies you can create better team dynamics than in physical presence with the rest of the guys. Unless you are a super programmer who can change the world just by being in the basement 8x5, team play (not just with the co-deve

how to run a startup script once (redux)

2005-06-20 Thread Foo Ji-Haw
Hello guys, I've asked this before, but I hope to follow through on the suggestions contributed by you guys. You know that Apache2 restarts itself, so a PerlRequire or a PerlPostConfigRequire will be run more than once. A friendly mailing list reader suggests using Apache2::ServerUtil::resta

cannot set a cookie with an empty string

2005-06-22 Thread Foo Ji-Haw
Hi all, Will like to confirm if it is not possible (or legal) to set a cookie with an empty value (''). I tried it, and the page failed

what is the equivalent for CGI->redirect()?

2005-06-22 Thread Foo Ji-Haw
Hi guys, I used to use CGI->redirect, but what is the requivalent for modperl2? thanks.

[mp2] A better way to set the Expire header

2005-06-22 Thread Foo Ji-Haw
Hello guys, For the newbies out there, this is one way (though arguably unorthodox) to set the Expire header on your page: $r->headers_out->add('Expires'=>CGI::Util::expires('now','http')); Notice that I have to 'use CGI::Util' to set this to work. CGI::Util does not expose the function, but

Re: [mp2] A better way to set the Expire header

2005-06-22 Thread Foo Ji-Haw
here? Perrin Harkins wrote: On Thu, 2005-06-23 at 12:16 +0800, Foo Ji-Haw wrote: $r->headers_out->add('Expires'=>CGI::Util::expires('now','http')); Notice that I have to 'use CGI::Util' to set this to work. CGI::Util does not expose the

Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Foo Ji-Haw
Try: return Apache2::Const::OK; ;) Ronni wrote: I have spent many days now searching through the archives and although they are close to what I am seeing none are exactly like what I have. I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1 box. Apache 2 is a recent insta

Re: mod_perl2 and PHP

2005-08-07 Thread Foo Ji-Haw
I agree with Eric. I love SOAP for the same reasons. You can argue until the cow comes home and there will still be PHP lovers and Perl lovers (and some .NETters as well). Diversity is important. But creating a happy unity is key. Eric wrote: At 10:07 AM 8/6/2005, Tony Clayton wrote: Quoti

apache+mod_perl on Windows fails ungracefully?

2005-08-30 Thread Foo Ji-Haw
Hi all,   I have a small setup development setup on a Windows 2000 Server+Apache 2+ActivePerl 5.8.6+mod_perl 2.0.1. With a setting of 5 threads per child.   I have 3 external clients hitting the server simultaneously doing batch SOAP calls, plus my local web browser which I browse around my

a faster html::template?

2005-09-04 Thread Foo Ji-Haw
Hi all,   I'm a happy user of HTML::Template on my mp2 setup. But when it comes to performance, I notice that to populate a loop of some 1500 records, the system takes 2-3 seconds on my P4 2GHz machine. I think that's way too long, especially on a development machine.   I tried to load the te

Re: a faster html::template?

2005-09-04 Thread Foo Ji-Haw
. Running it by a cache (cache=>1) seems to make the NEXT interation faster though. But the first one is always slow. - Original Message - From: "David Hodgkinson" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Monday, September 05,

Re: a faster html::template?

2005-09-07 Thread Foo Ji-Haw
I would think that HTML::Template is faster, for the simple argument that it does not need to parse the XSLT and XHTML, though the library may be C-compiled. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Praveen Ray" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, September

Re: a faster html::template?

2005-09-09 Thread Foo Ji-Haw
Hello Perrin, I meant the time it takes to render the output, as in calling $template->output; Thanks for your help anyway. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, Sept

Why does my MP2 crash intermittently?

2005-09-12 Thread Foo Ji-Haw
Hello all,   I have set up my MP2 application, which in the course of development has been reasonably stable. But when I put it under reasonably load (I have a daemon with 5 threads that call it periodically, and I browse around the pages with 2 other collegues), sometimes I get this error (s

Re: Why does my MP2 crash intermittently?

2005-09-12 Thread Foo Ji-Haw
y and your computer generates the error message. "   Gotta love Microsoft eh???  Mike - Original Message - From: Foo Ji-Haw To: modperl@perl.apache.org Sent: September 12, 2005 10:51 PM Subject: Why does my MP2 crash intermittently?

Re: Why does my MP2 crash intermittently?

2005-09-13 Thread Foo Ji-Haw
t; <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, September 13, 2005 3:45 PM Subject: Re: Why does my MP2 crash intermittently? > I had the same problem. The only way to solve it was to use the > Apache2::Reload module. By using this

Re: Why does my MP2 crash intermittently?

2005-09-13 Thread Foo Ji-Haw
ter * my_perl=0x01a43a64, unsigned long> count=0, void * * handles=0x, unsigned long timeout=30, unsigned> long * resultp=0x)  Line 1950 + 0x18 C>   perl58.dll!win32_sleep(unsigned int t=300)  Line 2135 + 0x16 C>   perl58.dll!PerlProcSleep(IPerlProc * piPerl=0x015d278

Re: Why does my MP2 crash intermittently?

2005-09-13 Thread Foo Ji-Haw
look nice. :) - Original Message - From: "Stephane GUIBOUD-RIBAUD" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, September 13, 2005 5:21 PM Subject: Re: Why does my MP2 crash intermittently? > Foo Ji-Haw wrote: > &

Re: Do I need Apache2::RequestUtil::request( )?

2005-09-14 Thread Foo Ji-Haw
There's not much changes to mp2, from your usage angle. In mp1, you use Apache::Request In mp2, the module is now called Apache2::RequestUtil. But it has generally the same methods as its mp1 equivalent, including ->request().   You get the Apache2::RequestUtil the same way as in mp1: sub h

Apache2::Cookie bug, or just my misinterpretation?

2005-09-18 Thread Foo Ji-Haw
Hello all,   I am using the following setup: Apache/2.0.52 (Win32) mod_apreq2-20050712/2.1.3-dev mod_perl/2.0.1 Perl/v5.8.7   I get the request cookie names like this: my $jar = Apache2::Cookie::Jar->new($r); my @keys = $jar->cookies();   I notice that the @keys list includes not just the co

Creating multiple Win32::OLE instances (Outlook.Application)

2005-09-20 Thread Foo Ji-Haw
Hi all,   I am trying to see if mp2 is able to support modules that create Win32::OLE objects, process it, then destroy them.   I have a very simple script to try this task: use strict;use warnings;use Apache2::Const -compile => qw(FORBIDDEN OK);use Apache2::RequestRec;use Apache2::Request;

'PL_memory_wrap' error when using PAR + 5.8.7

2005-09-21 Thread Foo Ji-Haw
Hi all,   I wonder if you have the same problem as me when trying to use PAR to create a standalone .EXE program. I'm using the latest PAR with ActiveState perl 5.8.7.   When I try to run the .EXE program, a dialog box pops out and show m the 'PL_memory_wrap' error. I've just upgraded my Perl

Re: Apache2::SOAP newbie

2005-09-22 Thread Foo Ji-Haw
Yes, you need to do a bit of 'massaging' of the output SOAP XML to make the .NET server happy. Most of the simple function calls may not work, so you have to do a bit of a runaround instead. Let me know if you need some examples. - Original Message - From: "Kurt Hansen" <[EMAIL PROTECTED]

Re: Apache2::SOAP newbie

2005-09-23 Thread Foo Ji-Haw
Do they have a SOAP::Lite::Simple::Java as well?   - Original Message - From: Leo Lapworth To: John ORourke Cc: mod_perl Mailing List Sent: Friday, September 23, 2005 4:06 PM Subject: Re: Apache2::SOAP newbie On 23 Sep 2005, at 08:44, John ORourke wrote

Re: Setting a module to handle the requests to /

2005-10-02 Thread Foo Ji-Haw
> The other solution is to have your handler detect that the incoming > request is for static content and return Apache2::Const::DECLINED > which should pass control back to the normal static file processing > in Apache. I didn't know about DECLINED passing control back to normal flow. That

Re: Setting a module to handle the requests to /

2005-10-02 Thread Foo Ji-Haw
I would go with Frank's mod-redirect/ mod-rewrite alternative. It makes for cleaner code. The downside though is that if your code references images in the same directory via relative links, then you may have a problem. - Original Message - From: "Frank Wiles" <[EMAIL PROTECTED]> To: "Oct

Re: Looking for good MP2 reference material

2005-10-02 Thread Foo Ji-Haw
I know what you mean. I have this feeling that Perl is generally 'frozen' until Perl 6 comes out. Otherwise things must 'move along' quietly. Publishers (O' Reilly) are complaining that Perl is not a sellout it used to be. That probably caused the print slump as well. - Original Message -

Re: Looking for good MP2 reference material

2005-10-03 Thread Foo Ji-Haw
> That's completely untrue. No mod_perl development is waiting for Perl6 > in any way. I agree on your point on mod_perl development. I am glad that it has finally moved out of 1.999 and into its own namespace this year. I'm still experiencing some problems with Apache2::Cookies, but that's anothe

Re: Looking for good MP2 reference material

2005-10-03 Thread Foo Ji-Haw
Thanks for the link. I stand corrected on the book sales then. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: "Boysenberry Payne" <[EMAIL PROTECTED]>; "mod_perl" Sent: T

how to share data among modperl processes

2005-10-07 Thread Foo Ji-Haw
Hi all,   I have a simple need where a process can take minutes to complete. But I want to display some progress bar of sorts to the user.   My idea is to have the handler call the local url which does the heavy lifting. Something like this: http://localhost/job/dojob => launches => http://l

Re: Configuration problem

2005-10-07 Thread Foo Ji-Haw
If 'LoadModule perl_module modules/mod_perl.so' is the only line you put in your httpd.conf, you are definately missing a few things. Do read up on the documentation in perl.apache.org for details. Snippet from the site:   Alias /perl/ /home/httpd/httpd-2.0/perl/    SetHandler perl-scri

Re: how to share data among modperl processes

2005-10-09 Thread Foo Ji-Haw
rrect? - Original Message - From: "Pratik" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Sunday, October 09, 2005 10:21 PM Subject: Re: how to share data among modperl processes > Unless you are running the application in multiple server env

Re: [OT] Re: a new mod_perl problem

2005-10-18 Thread Foo Ji-Haw
I don't think closure is something that is something to avoid. When used wisely (and perhaps with a bit of experience) it can be rather useful. I have not used it myself, but I see the potential for it. Thanks for the enlightenment Perrin. - Original Message - From: "John ORourke" <[EMAI

mp2 - Determining restart count

2005-11-20 Thread Foo Ji-Haw
Hi all, I'd like to write a script that runs only once during serstart start/ restart. Below are my system specs OS: Windows 2000 Server Apache: 2.0.52 (Win32) mod_perl/2.0.1 Perl/v5.8.6   I've read up on Apache2::ServerUtil::restart_count on http://perl.apache.org/docs/2.0/api/Apache2/Server

Re: [ModPerl 2.0] Need help to start my project...

2005-11-22 Thread Foo Ji-Haw
Try perl.apache.org for the library documentation, as well as configuration and installation tips. - Original Message - From: "Rony Liemmukda" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 22, 2005 3:39 PM Subject: [ModPerl 2.0] Need help to start my project... > Hello, > > We have t

how to disable sending of headers? soap::lite sends its own headers

2005-11-25 Thread Foo Ji-Haw
Hi all, I'm using Apache+MP2+Soap::Lite as a service platform.   One thing I notice is that my soap method returns the standard headers, plus the ones that the soap generates. Below is a sample of the actual response: Date: Fri, 25 Nov 2005 10:56:32 GMTServer: Apache/2.0.52 (Win32) mod_perl/

Re: how to disable sending of headers? soap::lite sends its own headers

2005-11-27 Thread Foo Ji-Haw
Ok, I've figured out why PerlOptions -ParseHeaders does not work. It should be PerlOptions +ParseHeaders - Original Message - From: Foo Ji-Haw To: modperl@perl.apache.org Sent: Friday, November 25, 2005 7:00 PM Subject: how to disable sending of headers?

Installing modperl with non-ActivePerl perl (eg. PXPerl)

2005-12-03 Thread Foo Ji-Haw
Hello all,   I recently stumbled upon this Perl distribution called PXPerl (for Windows). It sounds amazing, offering to compile modules directly from CPAN (and works with 3 major free compilers).   But I gotta ask this: I've been using ActivePerl + modperl for the longest time. Can modperl w

Re: Installing modperl with non-ActivePerl perl (eg. PXPerl)

2005-12-04 Thread Foo Ji-Haw
Thanks for the tip Randy. - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Sunday, December 04, 2005 11:29 PM Subject: Re: Installing modperl with non-ActivePerl perl (eg. PXPerl) > O

Re: Re: Good mp2 books?

2005-12-15 Thread Foo Ji-Haw
All right! - Original Message - From: "Allison Randal" <[EMAIL PROTECTED]> To: "Stas Bekman" <[EMAIL PROTECTED]> Cc: "mod_perl List" Sent: Friday, December 16, 2005 5:42 AM Subject: Re: Re: Good mp2 books? > Stas and I are working on an MP2 book, called simply "mod_perl 2.0 > User Gu

Re: How do I check a socket to know it is not closed?

2005-12-19 Thread Foo Ji-Haw
I just asked this question elsewhere, and got a good working response. Below is my trivialised code: my $BytesRead = $sock->sysread($buffer,1024); if (!defined($BytesRead)) { print "WARNING: Connection lost!\n"; exit; } Because sysread is blocking (I do

Re: go crazy with me

2005-12-19 Thread Foo Ji-Haw
Just went to your company web site and read that you got the White Camel award. Congrats, both on the award and your new career! We're talking to the Director of Development here guys... :) - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "JT Smith" <[EMAIL PROTECTED]> Cc

Re: How do I check a socket to know it is not closed?

2005-12-20 Thread Foo Ji-Haw
Have you tried syswrite()? If I read the manual right, it returns undef if the socket is broken. - Original Message - From: "Ivan Heffner" <[EMAIL PROTECTED]> To: "David Nicol" <[EMAIL PROTECTED]> Cc: ; "Foo Ji- [EMAIL PROTECTED]" <[EMAIL PROTECTED]> Sent: Wednesday, December 21, 2005 3:4

Re: Going mod_perl hourly rate?

2005-12-20 Thread Foo Ji-Haw
I think from a business perspective it's more on perceived value. If the client does not care about the choice of language, or is more concerned about being able to easily find freelance support, then Perl sounds like a Bad Idea. Most business people know only about Java, .NET, and ASP. But if the

Re: go crazy with me

2005-12-20 Thread Foo Ji-Haw
I usually go for the easy way out: buy more machines! - Original Message - From: "Andreas J. Koenig" <[EMAIL PROTECTED]> To: "Matt Sergeant" <[EMAIL PROTECTED]> Cc: "Stas Bekman" <[EMAIL PROTECTED]>; "JT Smith" <[EMAIL PROTECTED]>; Sent: Wednesday, December 21, 2005 6:25 AM Subject: Re:

Re: go crazy with me

2005-12-21 Thread Foo Ji-Haw
I know it's not exactly the most efficient, but will it work if we continue with the current MPM model. The difference is that both the server and the client use SOAP as the means of communication. When an event occurs, Apache will delivers the event message via the client's SOAP interface. This wa

Action vs Interaction

2006-01-02 Thread Foo Ji-Haw
Quick tip from the Net: 2 different styles of expressing the same thing: rect.moveLeft: 25 Down: 30 vs Point p = rect.getLocation(); rect.setLocation( p.X() - 25, p.Y() + 30 );

Re: Action vs Interaction

2006-01-02 Thread Foo Ji-Haw
Apologies. Sent to the wrong audience. :P

Where to find Apache2::PAR for Windows?

2006-01-09 Thread Foo Ji-Haw
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 either.   Appreciate if anyone can point me in the right direction to the ppd repository. T

Re: Where to find Apache2::PAR for Windows?

2006-01-10 Thread Foo Ji-Haw
Hey Randy, You're one amazing guy. Did your wife tell you that? :) Anyway for the effort. Appreciate it. Will definately try it out. - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "Philip M. Gollucci" <[EMAIL PROTECTED]&g

Re: Where to find Apache2::PAR for Windows?

2006-01-10 Thread Foo Ji-Haw
Thanks for helping to look Philip. :) - Original Message - From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: "mod_perl List" Sent: Tuesday, January 10, 2006 1:14 AM Subject: Re: Where to find Apache2::PAR

restart_count() on Win32

2006-01-17 Thread Foo Ji-Haw
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 properly).   In my httpd.conf: PerlModule startup   in startup.pm: package startup; use str

Re: restart_count() on Win32

2006-01-17 Thread Foo Ji-Haw
(). If I can figure out how to do initialise once, I can even try to spawn threads properly. Can anyone confirm if this is a Windows Thing, or it happens to FreeBSD/ Linux installations as well? - Original Message - From: "Tom Schindl" <[EMAIL PROTECTED]> To: "Foo Ji-H

Re: restart_count() on Win32

2006-01-17 Thread Foo Ji-Haw
Hello Tom, Thanks for confirming for me it is a Windows Thing. - Original Message - From: "Tom Schindl" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, January 17, 2006 5:43 PM Subject: Re: restart_count() on Win32 Hi,

Re: Using MP2 and CPAN modules

2006-01-17 Thread Foo Ji-Haw
> > Just for curiosity how long do you think Geoff Apache1.x will be > > maintained > > for a very, very long time. According to the Yahoo! slides you gave, they are planning a shift to Apache2.2 this year...they are side-stepping Apache2?!? > mind you, with both apache 1.3 and mp1 it may seem lik

Re: restart_count() on Win32

2006-01-17 Thread Foo Ji-Haw
share your source of information on this issue? Thanks. - Original Message - From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, January 18, 2006 5:01 AM Subject: Re: restart_count() on Win32 >

Re: restart_count() on Win32

2006-01-17 Thread Foo Ji-Haw
Thanks Randy, for the pointer. Will give it a good read. - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: "William A. Rowe, Jr." <[EMAIL PROTECTED]>; Sent: Wednesday, January 18, 200

Re: restart_count() on Win32

2006-01-17 Thread Foo Ji-Haw
en creates the worker process, which loads up and restarts once? Let me know if I don't make any sense...thanks. - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: "William A. Rowe, Jr." <[EM

Re: Edit .pm file; Why must bounce Apache?

2006-01-22 Thread Foo Ji-Haw
Try PerlSwitches "-Ic:/ps" - Original Message - From: "Pete Alvin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Sunday, January 22, 2006 1:28 AM Subject: Re: Edit .pm file; Why must bounce Apache? > Thanks! I'm 90% of the way there. But I have a @INC issue: > > I've been usin

Re: How to set Content-Type header on custom_response()?

2006-02-05 Thread Foo Ji-Haw
How about returning a self-designed error page, instead of using Apache's? - Original Message - From: "Geoffrey Young" <[EMAIL PROTECTED]> To: "Andrew Ho" <[EMAIL PROTECTED]> Cc: "mod_perl List" Sent: Sunday, February 05, 2006 2:24 AM Subject: Re: How to set Content-Type header on custom

Re: read query params

2006-02-09 Thread Foo Ji-Haw
That's hard to say. I've been using mp2 professionally, and so far installing libapreq2 has been pretty painless; both on Win32 and FreeBSD platforms. Win32 is pre-packaged, so it's quite predictable. FreeBSD's version is compiled from source, but still it's problem-free.   You really need t

Make your next million Stas!

2006-02-12 Thread Foo Ji-Haw
Speaking of which, when will the mp2 version of Practical Mod Perl be coming out? I'm sure Stas will make a handsome lot (I would use 'bomb' but these are sensitive times...) when he releases it, cause we're all depending so much on the book... - Original Message - From: "Frank Wiles" <[E

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Foo Ji-Haw
You're lucky already. You didn't see what happens on the same script running on Win32 Apache2... - Original Message - From: "Ken Perl" <[EMAIL PROTECTED]> To: Sent: Sunday, February 12, 2006 3:02 PM Subject: detecting server start, stop, graceful in startup.pl > >From the Apache2::Serv

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-02-12 Thread Foo Ji-Haw
Is 2.07 out already? http://theoryx5.uwinnipeg.ca/ppms/ still lists it as 2.06-dev - Original Message - From: "Ryan Perry" <[EMAIL PROTECTED]> To: "ben syverson" <[EMAIL PROTECTED]> Cc: Sent: Monday, February 13, 2006 5:44 AM Subject: Re: More on httpd2.2, libapreq2, apr and mod_perl2 n

Re: libapreq2-2.07 prerequisites (CPAN install)

2006-02-13 Thread Foo Ji-Haw
modperl and Apache::* libraries are generally for the Apache platform. modperl2 and Apache2::* libraries are for the Apache2 platform. so if you end up installing modperl on your Apache2, you've stumbled on the wrong end. Take note that not all Apache2 modules are labelled this way. For example Ap

Re: MP2 PerlTransHandler and VirtualHosts

2006-02-14 Thread Foo Ji-Haw
Title: MP2 PerlTransHandler and VirtualHosts I'd like to ask a question in tangent to yours: What happens you load a package via PerlPostConfigRequire? I usually 'require' a script, but if it is possible to execute a package instead, that may be better. - Original Message - From

  1   2   >