Re: Downloading SpreadSheet Data with Apache

2007-09-23 Thread Issac Goldstand
Make sure that you set a TimeOut in httpd.conf greater than your script's delay: http://httpd.apache.org/docs/2.2/mod/core.html#timeout Issac Tyler Bird wrote: Michael Peters wrote: Tyler Bird wrote: I run this script and the log files show the incrementing numbers in the for loop, but

Re: +ParseHeaders random corruption

2007-09-23 Thread Philippe M. Chiasson
Mark Farver wrote: Perrin Harkins wrote: On 9/21/07, Mark Farver [EMAIL PROTECTED] wrote: Searching my harddrive, those strings appear in the mysql driver but we've seen chunks of the gpl, and other weird random data in those errors. It almost looks like a wild pointer. Maybe some

Re: Problem with RequestRec and Headers

2007-09-23 Thread Philippe M. Chiasson
jk jk wrote: I'm trying to port a preexisting CGI app to mod_perl2 and could use some help. Here goes a test case that should illustrate my problem: The code pasted below loads the page properly the first time it's accessed. However, upon multiple reloads in firefox, the headers either

Re: [OT] Client authentication

2007-09-23 Thread Philippe M. Chiasson
Bill Moseley wrote: This isn't mod_perl related, but I'm hoping someone here has experience in this area and can provide some feedback. Recommendation of a better list for this question is also welcome. I have a mod_perl/SOAP::Lite server application where I need to authenticate the

Re: Problem with RequestRec and Headers

2007-09-23 Thread jk jk
Why is that? Class::Singleton is modperl compatible, Apache::Singleton is the same thing with a few more features. Its purpose to simplify singleton application creation. My understanding was it would only allow a single instance of the object to be created for each request, not forever.

Re: Problem with RequestRec and Headers

2007-09-23 Thread jk jk
I've been trying to use Apache::Singleton::Request under the assumption that you're right about Class::Singleton being the crux of the issue. Unfortunately, I can't get it working under Apache2. Is there a different module for mp2/apache2 ? Thanks for your patience. --JAK On 9/23/07, jk jk

Re: Problem with RequestRec and Headers

2007-09-23 Thread Perrin Harkins
On 9/23/07, jk jk [EMAIL PROTECTED] wrote: I've been trying to use Apache::Singleton::Request under the assumption that you're right about Class::Singleton being the crux of the issue. Unfortunately, I can't get it working under Apache2. Is there a different module for mp2/apache2 ? It

Re: Problem with RequestRec and Headers

2007-09-23 Thread jk jk
I'm trying to port a pre-existing application built using a singleton design. Various class instances use a __PACKAGE__::getInstance() method to get a handle on the current request's instance. getInstance just returns $self which is a global variable. This works as a cgi, since every request is

Re: Problem with RequestRec and Headers

2007-09-23 Thread bharanee rathna
AFAIK Apache::Singleton works for MP2, also it does both per request and per process singletons. On 9/24/07, jk jk [EMAIL PROTECTED] wrote: I've been trying to use Apache::Singleton::Request under the assumption that you're right about Class::Singleton being the crux of the issue.

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: [OT] Client authentication

2007-09-23 Thread Philippe M. Chiasson
Bill Moseley wrote: On Sun, Sep 23, 2007 at 01:44:44AM -0700, Philippe M. Chiasson wrote: If the concern is that someone might spoof an IP address then the shared secret seems adequate. If the secret is ever compromised, you have to update every single client/server out there. If a client

Re: Problem with RequestRec and Headers

2007-09-23 Thread jk jk
I looked at the source. It does seem to be written for both. My understanding was that everything for apache2 was supposed to be in the Apach2:: namespace. In any case I posted the install error below. Does an environment variable need to be set? perl Makefile.PL Warning: prerequisite