Re: extending HTTP 1.1

2003-12-29 Thread Thomas Schindl
Why don't you use Apache2/mod_perl2 where you can create Protocol-Handlers? http://perl.apache.org/docs/2.0/user/handlers/protocols.html Tom On Sat, 2003-12-27 at 17:03, Jan Algermissen wrote: Hi, I am working on an implementation of a notification system based on HTTP and I need to write

Re: require problems

2003-12-29 Thread Thomas Schindl
I don't think that this is a mod_perl related problem because: When loading files using require perl remembers that it had already included them and does not load them once more. I'd guess that calls 3,4,5 are handled by a Apache-child's 1/2 which have already loaded the required file. If you

Re: [mp2] [MDL] setting cookies without Apache::Request

2003-12-29 Thread Geoffrey Young
Curtis Jewell wrote: Thanks! CGI::Cookie should work just fine. (I can't precalculate the cookies, I have 200 usernames that could be used.) :) (You're right. Turns out the test machine was 2.0.40 (a RH9 machine) and that's why I couldn't use it. But they would like me to avoid it if I can -

Re: what should provide ModPerl/MM.pm ?

2003-12-29 Thread Geoffrey Young
Pierfrancesco Caci wrote: Hello, I'm trying to use bug-mp2, but I get this error and I don't know where to find the missing file: [EMAIL PROTECTED]:/var/www/bug-mp2 # perl Makefile.PL -apxs /usr/bin/apxs Can't locate ModPerl/MM.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.2

Error.pm under mod_perl

2003-12-29 Thread Stuart Moffatt
I've read the docs at http://perl.apache.org/docs/general/perl_reference/perl_reference.html#Excep tion_Handling_for_mod_perl and still have some questions. Under Other implementations, Error.pm is listed as a best option. I have test code that I run on the command line which Does the Right

Re: Subroutine main redefined at ...

2003-12-29 Thread Charlie Smith
Thanks Ged. In looking at the docs, I did find information on how to post to the list. However, thought that this might be a topic well covered enough that I might not have to give all environment information. Maybe not. In any event, I also tried looking in the

[MP2] Storable/Cache trobles with MM worker?

2003-12-29 Thread Raul Dias
Hi, I just switch my apache to use the worker MM. I have a filter which uses Cache::SharedMemoryCache to share data between process (and hopefully threads now). A simple example is this: --- use Cache::SharedMemoryCache; $cache = new Cache::SharedMemoryCache( { namespace

Re: Subroutine main redefined at ...

2003-12-29 Thread Ged Haywood
Hi there, On Mon, 29 Dec 2003, Charlie Smith wrote: looking in the http://perl.apache.org/maillist/modperl.html#Searchable_Archives then chose to goto http://www.mail-archive.com/[EMAIL PROTECTED]/ from there. Didn't really find anything to specifically address the question. The search

Apache::DBI tests failing

2003-12-29 Thread Paul Makepeace
Hi, Apache::DBI doesn't seem to be caching connections here causing a test failure. I'm using Debian/unstable, Debian's perl 5.8.2, mysql 4.0.16, DBD::mysql 2.9003, and CPAN's DBI 1.39. (DBI warned about perl having threading enabled, FWIW.) Any ideas what could be the problem?

Re: [MP2] Storable/Cache trobles with MM worker?

2003-12-29 Thread Perrin Harkins
Raul Dias said: [Mon Dec 29 17:48:31 2003] [error] [client xxx.xxx.xxx.xxx] Object #260 should have been retrieved already at ../../lib/Stora ble.pm (autosplit into ../../lib/auto/Storable/thaw.al) line 358, at /usr/lib/perl5/site_perl/5.8.0/Cache/CacheUtils.pm line 121 You may need to clean

Re: Error.pm under mod_perl

2003-12-29 Thread Perrin Harkins
Stuart Moffatt said: Under Other implementations, Error.pm is listed as a best option. I have test code that I run on the command line which Does the Right Thing, but when I run it under mod_perl, the 'throw' handler in Error does a die(), which mod_perl sees as a 500 error and logs it BEFORE