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 ...
Perl
use Some::Module;
Some::Module::my_custom_config();
/Perl
... in Module.pm ...
package Some::Module;
sub
...@gmail.com
To: Jeff Nokes jeff_no...@yahoo.com
Cc: mod_perl list modperl@perl.apache.org
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
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 great
, the #2 API
client (in listings) was perl-based, and using it.
Cheers,
- Jeff
From: Igor Chudov ichu...@gmail.com
To: Jeff Nokes jeff_no...@yahoo.com
Cc: Brad Van Sickle bvs7...@gmail.com; mod_perl list modperl@perl.apache.org
Sent: Wednesday, September 16, 2009 8
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
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
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 see two
- 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
$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 Burrows
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
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
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
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
I guess you could try to do something dynamic with Perl blocks in your httpd.conf ...Perl open(NEW_MODULE, 'Startup.pm'); print NEW_MODULE ( "package Startup;\n" . "our $arg_1 = 'dv1'; );/Perlthen 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].
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
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.
FilesMatch \.(pl|pm)$
SetHandler
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
18 matches
Mail list logo