Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-02 Thread Brett Lee
perlmonks.org/?node_id=945804 Best regards, - - Brett Lee Encrypt your data with PDS - http://crypto.brettlee.com/

Re: Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-05 Thread Brett Lee
!   Best regards, - - Brett Lee Encrypt your data with PDS - http://crypto.brettlee.com/ > > From: Brett Lee >To: "modperl@perl.apache.org" >Sent: Monday, January 2, 2012 2:41 PM >Subject: Registry and mod_include - multiple invocation

Re: Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-11 Thread Brett Lee
Thanks for the reply Mårten, Sorry, should have posted that I found the (same) answer a few days back. http://www.perlmonks.org/?node_id=946773 Didn't hear a peep from the list after a couple attempts, so abandoned the query.   Best regards, - - Brett Lee Encrypt your data with PDS -

Re: preloading modules and apache::dbi

2012-01-18 Thread Brett Lee
Hi Mike, I believe the answer is that each http process will have its own handle.  At least that's what it appears to be when I view the handles via http://hostname/perl-status. Hope you enjoy mod_perl.   Best regards, - - Brett Lee Encrypt your data with PDS - http://crypto.brettle

Registry and CGI::Carp

2012-01-27 Thread Brett Lee
Hi Folks, Running several scripts under ModPerl::Registry that use CGI::Carp.  Am seeing problems with the logging.  The message that is logged is correct, however the name of the script that generated the event is not. Each script contains a line similar to: use CGI::Carp qw(name=my_script_X)

Re: Registry and CGI::Carp

2012-01-27 Thread Brett Lee
to accurately log the names of Carping Registry scripts?" Regarding END{}, my inconclusive tests support this: http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html#C_END__Blocks Brett >________ > From: Jim Schueler >To: Brett Lee >Cc: m

Caching & Packaging

2008-01-09 Thread brett lee
Hello - Am executing several CGI scripts under mod_perl using Apache::Registry (I hope that terminology is correct). As I understand it, the scripts get cached in each httpd thread the first time that thread executes them. Is this correct? So when I change a script, do I need to restart Apac

/perl-status shows no compiled registry scripts

2008-01-23 Thread brett lee
Am running on a newer OS and not seeing any compiled registry scripts when looking at "/perl-status." Am refreshing to look at several PIDs, so I suspect a config error on my part. Have found nothing relevant in the logs. The "/server-info" shows mod_perl.c as well as the perl.conf entries, an

Solution - Re: /perl-status shows no compiled registry scripts

2008-01-25 Thread brett lee
Configuration error :: Used "Location" where I should have used "Directory." "Actual" perl.conf file had something like: SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI -Brett - Origina

Saving Session State

2008-02-06 Thread brett lee
Hello, With some help from this board I've been able to get my project running well under ModPerl::Registry - am even using two of my own (woopie !) modules, so thanks all. Am now trying to save session state on the server; am again seeking some guidance. Have tried using CGI::Session (3.95,

Re: Saving Session State

2008-02-06 Thread brett lee
> Have tried using CGI::Session (3.95, 4.10, 4.20) but am continually seeing two issues that appear to still be open issues with the latest (is it the final?) release. What issues are you having trouble with? Mark is one of the more responsive CPAN autho

Solution - Saving Session State

2008-02-06 Thread brett lee
Also, the 4.10 doc writes: $session = new CGI::Session(undef, undef, {Directory=>'../tmp/sessions'}); I've tried "../tmp/sessions" and "/tmp/sessions". Have never seen anything in "../tmp/sessions" (relative to "/cgi-bin" or DOC ROOT) but I do see sessions (sometim

Re: Question about open()

2008-02-07 Thread brett lee
Another option: my $HEADER= "$ENV{DOCUMENT_ROOT}/header.shtml"; - Original Message From: Roberto C. Sánchez <[EMAIL PROTECTED]> To: modperl@perl.apache.org Sent: Wednesday, February 6, 2008 8:10:08 PM Subject: Re: Question about open() On Wed, Feb 06, 2008 at 10:06:05PM

Module fails - but nothing is logged

2008-02-09 Thread brett lee
So I've been running my shiny new perl module for a couple weeks now without any issues. I call the module (Nav::Ad) four times (header, footer, left, right) from each of my "Registry" scripts. The Registry scripts parse a html file and decide whether to execute the module or just print out t