Re: Apache::DProf

2002-07-25 Thread Chris Newman
Think you need to load in Apache::Registry with : PerlModule Apache::Registry before the PerlHandler Apache::Registry bit Suggest also that you do all the module loading / startup before specifying any handlers eg . from my mod_perl.conf PerlRequire conf/startup.pl

hiding perl code

2002-07-25 Thread Michael Robinton
see attached =head1 NAME BZS::License - Perl extension to examine a license file. =head1 USEAGE There are two modes of operation: use BZS::License;1; __END__ encrypted module here... The calling routine should define an anonymous hash pointed to by the

[mp 2.0] v2.0.40 dev of apache

2002-07-25 Thread Jann Linder
Thanks, Ward. Now that I know this list is active, I've a question. I know the development versions are all that is released of 2.0.40 of Apache2, however, I have a need to use them due to 2.0.39's incompatibilities w/several key features of PHP (can you say 'multiple cookies broken'?).

Re: [mp 2.0] v2.0.40 dev of apache

2002-07-25 Thread Ask Bjoern Hansen
On Wed, 24 Jul 2002, Jann Linder wrote: Any ideas? Is there a dev cvs site for 'unreleased' modperl builds which we can log in on? http://perl.apache.org/contribute/cvs_howto.html Is there a separate team developing mod_perl or is is still Mr. Stein? I think you are a bit confused here.

PerlSendHeader and $r-header_out

2002-07-25 Thread Rafiq Ismail (ADMIN)
Hi People With Functioning Brain Cells, I'm having a brief period of grief, which I'm sure I've been through before. I have this situation where I set a cookie using: $r-header_out('Set-Cookie'=$cookie); Now this is all fine, however I'm having a major problem in getting my header into the

reading an ENV with Perl that was set with mod_rewrite [E= : ]

2002-07-25 Thread Eric Frazier
Hi, Has anyone used mod_rewrite to set an environmental variable based on the result of a reg exp? For example: RewriteRule ^/pt=([^/]+)?(.*) /home/me.com/public_html/$2 [E=PT:$1] I can get a static url like: RewriteRule /perl /usr/local/apache/perl/printenv [E=ERIC:bob] to work, but the

Problem: Apache2 / Perl 5.8.0 / mod_perl 2.0 / PHP all on Win32

2002-07-25 Thread French, Shawn
I am in a bit of a jam. I think the cross-post is necessary since I need the help of Apache, mod_perl, and PHP developers/users. I apologize for the length, if you have time, my explanation (at the end) should clarify what I mean. Summary --- I need: - A perl-enabled web server to run on the

Re: .bml files not executing in apache

2002-07-25 Thread Randy Kobes
On Tue, 23 Jul 2002, randy reed wrote: Hi Randy, Thanks for your reply. Please excuse my utter newbie status at all this. Ok, looking at your message and the documentation for mod_perl as well as the LJ documentation here's what I see. BML is actually setup up as a perl module

DBI handle management in modules

2002-07-25 Thread Matthew Pressly
I have a number of perl modules that manage their own persistence to a SQL database via DBI. I discovered a flaw in my current approach which was to use an Apache::Singleton::Process object to create a connection and in modules that needed a connection, store the connection in a lexically scoped

IPC::MM and mod_perl

2002-07-25 Thread Marc Kelly
This may be more of an Apache question, but I saw a thread in the mod_perl archives on caching methods that is relevant. I'd like to use IPC::MM to store data in shared memory across child processes, but I've run into permissions problems. I'm assuming this is because I'm creating the cache in