Re: compile
On 8/11/07, usha rani [EMAIL PROTECTED] wrote: how can we compile modperl programs in cygwin. You g-billboards.com people need to stop asking the same question over and over. If you're looking for Win32 binaries, they are on http://perl.apache.org/. If that's not what you're looking for, please try to ask more clearly. http://catb.org/~esr/faqs/smart-questions.html - Perrin
Re: Using perl source code filter in mod_perl2
On 8/10/07, Steve Hay [EMAIL PROTECTED] wrote: Is it possible to use perl source code filters (like Filter::Util::Call) in scripts that are run via ModPerl::Registry? I don't think that can work because of the way Registry modifies your code. Try using handlers instead of Registry scripts, or make your own subclass of Registry that runs the source filter manually on the code before turning it into a sub. - Perrin
Re: Correct way to upload a file
I noticed I have to use Apache::Request and Apache::Cookie. In, http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html, there is a $r which is request object. How do I create that? Is there an example anywhere I can follow? On 8/10/07, Jonathan Vanasco [EMAIL PROTECTED] wrote: On Aug 10, 2007, at 10:25 PM, Mag Gam wrote: I have just started learning perl and mod_perl, and I must admit I am enjoying it a lot! I am tying to upload a file, so I can do some calculations to the file, my question is what is the correct and most efficient way to upload the file, and perform the calculations? Should I consider using the CGI module? libapreq http://httpd.apache.org/apreq/ CGI is a close second
Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure
Hello Perrin, William Unfortunately I'm packaging a product based on modperl, so I can't really take any shortcuts on this one. William, my installation process is (what I hope to be) straight out of the book. To elaborate: 1. Install ActiveState Perl MSI 5.8.8 (build 822) 2. Install Apache2.2.4 MSI 3. Install modperl as per documentation on httpd.apache.org. Ie: perl install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd 4. Install libapreq from theoryx5 In my http.conf, I only added the following: LoadFile c:/Perl/bin/perl58.dll LoadModule perl_module modules/mod_perl.so 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 [EMAIL PROTECTED] wrote: The sad truth is that my clients are more comfortable with Windows OS Is it possible that if they have a small enough site to run comfortably on Windows, they can run it through CGI? I suspect that whatever issue you're having with mod_perl could be fixed, but it seems pointless to fight with it if the site has low traffic and can run as CGI. - Perrin
Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure
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. Foo, you missed my point all together. Something in YOUR PERL APP is opening resources that are locked and will prevent another process from obtaining them for approx 60 seconds. What, why and how are your puzzles, I'm afraid. There's nothing in the generic apache/perl/modperl that did this to you. More debugging logs, finer debugging details might help you pin it down.