I've seen it done where you can make a home-grown module that has a second
package declaration for Apache[2]::ReadConfig. Something like ...
... in httpd.conf ...
use Some::Module;
Some::Module::my_custom_config();
... in Module.pm ...
package Some::Module;
sub my_custom_config(;
: Jeff Nokes
Cc: mod_perl list
Sent: Thursday, September 17, 2009 4:52:38 AM
Subject: Re: Why people not using mod_perl
Interesting. I did not even know about that #2 guy.
What sort of hardware and OS are you running there?
Igor
On Thu, Sep 17, 2009 at 12:54 AM, Jeff Nokes wrote:
>W
, the #2 API
client (in listings) was perl-based, and using it.
Cheers,
- Jeff
From: Igor Chudov
To: Jeff Nokes
Cc: Brad Van Sickle ; mod_perl list
Sent: Wednesday, September 16, 2009 8:26:53 PM
Subject: Re: Why people not using mod_perl
You must have u
Doesn't Amazon run mod_perl/Mason?
BTW, I agree with most of your points (would debate #4,5). I may substitute
the phrase "More convenient" for "Easier" in #3. I would also add ...
#7) How many engineers are available to hire that know or want to work
with said technology?
I built a gre
I like Mason a lot (HTML::Mason). We use Mason mostly for it's component
execution chain, attributes, subexec, and a few other features. Also, we don't
use Mason's template features at all, we choose to use HTML::Template for that.
My $0.02,
- Jeff
- Original Message
From: "[EMAIL PR
I had a similar issue, especially since we have nodes split behind F5 and
Netscaler, which both operate differently with respect to header preservation,
modification.
Our solution was to write our own HeaderParser.pm module and register it as the
handler of that apache phase, and attempt to der
n (maybe after stating a flag file).
Just a thought,
Jeff
Original Message
Subject: Re:SQLite and multiple process behavior
From: Perrin Harkins <[EMAIL PROTECTED]>
To: Jeff Nokes <[EMAIL PROTECTED]>
CC: modperl@perl.apache.org
Date: 18 June 2007 20:42:28
- Original Message
From: Nikolay Ananiev <[EMAIL PROTECTED]>
To: modperl@perl.apache.org
Sent: Monday, June 18, 2007 12:27:56 AM
Subject: Re: SQLite and multiple process behavior
>What happens if you pass the AutoCommit => 1 option to DBI's connect method?
I have been running with autoco
Thanks for replying Perrin, see my replies inline below.
- Jeff
- Original Message
From: Perrin Harkins <[EMAIL PROTECTED]>
To: Jeff Nokes <[EMAIL PROTECTED]>
Cc: modperl@perl.apache.org
Sent: Friday, June 15, 2007 7:26:09 PM
Subject: Re: SQLite and multiple process behavior
I sent this to the SQLite mailing list on June 4th, but never received any
replies.
I figure either I'm making a totally rookie mistake somewhere, or folks really
don't
know how to help me with this. I'm hoping someone may have some insight to
offer
on this forum. As always, I appreciate any a
$r->hostname() <=> HTTP_HOST apache ENV <=> Equivalent to what comes in on
the client "Host" header.
I too serve different templates based on incoming domain, and $r->hostname gets
me the FQDN. I'm on apache 1.3.X and mod_perl 1.29.
- Jeff
- Original Message
From: Alexander Burro
Or FreezeThaw:
http://search.cpan.org/author/ILYAZ/FreezeThaw-0.43/FreezeThaw.pm
- Original Message
From: Arshavir Grigorian <[EMAIL PROTECTED]>
To: Deepak Mallya <[EMAIL PROTECTED]>
Cc: modperl@perl.apache.org
Sent: Saturday, April 21, 2007 3:24:39 PM
Subject: Re: Using Persistent Data
Well,
We completely separate out our content, from our presentation templates, from
our source. We use HTML::Mason mostly as a layer of abstraction to mod_perl's
raw API, and then use HTML::Template to munge our content with our templates in
pre-release batch mode and/or dynamically.
We keep a
We also do everything (not source code, which is in ISO-8859-1, only content)
in UTF-8 where I work, and we support many different languages. We never use
any apache configurations or make any explicit reference to the OS locale being
used. As of Perl 5.8*, internally Perl assumes UTF-8 for al
I'm not sure if this is your problem, but we had a similar issue awhile back.
About a year-and-a-half ago, there was an incremental release of the squid
proxy server that had a major bug in it. I can't remember the details exactly,
but I believe it had something to do with the fact that squid w
I guess you could try to do something dynamic with blocks in your httpd.conf ... open(NEW_MODULE, '>Startup.pm'); print NEW_MODULE ( "package Startup;\n" . "our $arg_1 = 'dv1'; );then within startup.pl you do ...use Startup; (or require "Startup.pm")if($Startup::arg_1 eq 'dv1'
Hi,
We have about 30 servers in our productin envrionment, and growing too. We use
blocks in our configs, but we just use standard conditionals to do any
switch/case decision trees (which is what Switch is doing under the hood anyway
[http://faq.perl.org/perlfaq7.html#How_do_I_create_a_sw].
W
Hi,
I have a new system running Debian Linux 3.1 (Sarge) and have been attempting
to install mod_perl 2.0.2 with Apache 2.2.2 using the recommended directions
located at
http://perl.apache.org/docs/2.0/user/install/install.html
... and I keep getting compilation errors. It executes the apac
How about something like the following?
# mod_perl 1.29 Configuration:
# Set up apache so that all pages served with a .pl or .pm extension will
be executed
# via the mod_perl package which is statically linked in with Apache.
SetHandler perl-script
P
Hi,
I'm trying to assist another dept. at my work, to provide a reverse-proxy
service with our apache based mod_perl application. This other dept. wanted to
leverage our custom PerlAuthenHandler for security reasons, yet they desire
just a pass-thru proxy request to their application tier on b
20 matches
Mail list logo