Tom Schindl wrote:
> As a sidenote often it is not really desired/dangerous to run image
> creation as a mod_perl handler because of the nature of perl, memory
> allocated once is never freed until the process shutdowns or is killed
> (by your Apache::SizeLimit handler).
>
> I'm not familiar with
Christopher H. Laco wrote:
> That's in on the nose. Text::Textile uses Image::Size, which uses
> Image::Magick. Any incantation of pre loading this modules makes apache
> core.
>
> The funny part is, it only segfaults the main httpd process. apachectl
> start yields a c
BjXrn Erik Jacobsen wrote:
> At 05:04 23.03.2006, you wrote:
>> I'm working on a site running under Catalyst under ModPerl
>> 2.0.2/Apache2.0.55.
>>
>> As soon as I tried loading Text::Textile in any way, apache segfaults,
>> even when just doing apachectl configtest.
>>
>> Text::Textile is a pure
Christopher H. Laco wrote:
> I'm working on a site running under Catalyst under ModPerl
> 2.0.2/Apache2.0.55.
>
> As soon as I tried loading Text::Textile in any way, apache segfaults,
> even when just doing apachectl configtest.
>
> Text::Textile is a pure perl
I'm working on a site running under Catalyst under ModPerl
2.0.2/Apache2.0.55.
As soon as I tried loading Text::Textile in any way, apache segfaults,
even when just doing apachectl configtest.
Text::Textile is a pure perl module, and uses Exporter. Nothing special.
I started rebuilding a copy of
Christopher H. Laco wrote:
> Christopher H. Laco wrote:
>> John N. Brahy wrote:
>>>> -Original Message-
>>>> From: Christopher H. Laco [mailto:[EMAIL PROTECTED]
>>>> Sent: Friday, March 03, 2006 12:28 PM
>>>> To: John N. Brahy
>
Christopher H. Laco wrote:
> John N. Brahy wrote:
>>> -Original Message-
>>> From: Christopher H. Laco [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, March 03, 2006 12:28 PM
>>> To: John N. Brahy
>>> Cc: modperl@perl.apache.org
>>
John N. Brahy wrote:
>> -Original Message-
>> From: Christopher H. Laco [mailto:[EMAIL PROTECTED]
>> Sent: Friday, March 03, 2006 12:28 PM
>> To: John N. Brahy
>> Cc: modperl@perl.apache.org
>> Subject: Re: is there a way to force UTF-8 encoding
>&
John N. Brahy wrote:
> Is there a way to force UTF-8 encoding? I have tried
>
> AddDefaultCharset utf-8 in the httpd.conf
>
> OS: OpenBSD
> Apache: Apache/1.3.29 (Unix) mod_perl/1.29 mod_ssl/2.8.16 OpenSSL/0.9.7g
>
> But
> 1) wget -S says it's Content-Type: text/html; charset=ISO-8859-1
> 2) w
Todd Cranston-Cuebas wrote:
> Very cool. R-on-R has something similar to this called "locomotive" for OS
> X. Really makes a try-before-you-buy scenario reasonable. I'm thrilled that
> this exists for catalyst since I very much concerned that perl needs a boost
> from such a framework and if there
Harry Zhu wrote:
> I'm very much interested.
>
> Harry.
>
>
>
> - Original Message - From: "Enno" <[EMAIL PROTECTED]>
> To: "Frank Wiles" <[EMAIL PROTECTED]>
> Cc: "Leo Lapworth" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
>
> Sent: Monday, February 27, 2006 10:46 AM
> Subject: Re: [OT]
Randy Kobes wrote:
> On Tue, 6 Dec 2005, Christopher H. Laco wrote:
>
>> Christopher H. Laco wrote:
>>> I'm headed out for the day, so I apologize for the email-and -un. I
>>> posted this last night to PerlMonks, and I'll post it to the EU::M
Christopher H. Laco wrote:
> I'm headed out for the day, so I apologize for the email-and -un. I
> posted this last night to PerlMonks, and I'll post it to the EU::MM list
> when I get home:
>
> http://perlmonks.org/?node_id=513773
>
> Long story short, I got repor
I'm headed out for the day, so I apologize for the email-and -un. I
posted this last night to PerlMonks, and I'll post it to the EU::MM list
when I get home:
http://perlmonks.org/?node_id=513773
Long story short, I got reports that perl Makefile.PL for my dist was
producing a 0 byte Makefile. Aft
Paul Harrison wrote:
> p5-DBD-mysql50-3.0002
>
> p5-DBI-1.48
>
> p5-Apache-DBI-0.94_1
>
>
>
> I upgraded the database server from the "4" version to "5", so I updated the
> Perl database Drivers -> DBD,DBI, and Apache-DBI.
>
>
>
> Once I updated the software, I get the following text in t
Philip M. Gollucci wrote:
> Clinton Gormley wrote:
>
>> What are the experiences/opinions of using these modules under mod_perl
>> 2 on high traffic sites?
>
> You might look at Cataylst which is a perl MVC (Model View Controller)
>
>
Not only that, but it runs under CGI, FastCGI, ModPerl1, and
ive to always point to t/logs/cgisock
> regardless of inherited and custom mod_cgid settings
> [Geoffrey Young]
>
> Prevent the config file from being overwritten
> on platforms such as WIN32 under certain conditions.
> [Randy Kobes]
>
> make sure that the TESTS Makefile.PL pa
Philip M. Gollucci wrote:
> A release candidate for mod_perl 2.0.2 is now available for testing.
>
> Please grab the candidate from
>
> http://people.apache.org/~pgollucci/mp2/mod_perl-2.0.2-RC2.tar.gz
>
> and report back successes or failures. When reporting failures, please see
> the bug repor
Philip M. Gollucci wrote:
> Christopher H. Laco wrote:
>
>> http://aspn.activestate.com/ASPN/Mail/Message/modperl/2849479
>
> t/apache/content_length_header.t 273 11.11% 2 5 17
> # testing : GET /TestApache__content_length_header C-L header
> # expecte
Stas Bekman wrote:
> Philip M. Gollucci wrote:
>
>> A release candidate for mod_perl 2.0.2 is now available for testing.
>>
>> Please grab the candidate from
>>
>> http://people.apache.org/~pgollucci/mp2/mod_perl-2.0.2-dev.tar.gz
>
>
> +1, tested with 43 different apaches/perls configs on linux.
9)
> [Sat Oct 08 20:31:34 2005] [notice] caught SIGTERM, shutting down
> END in modperl_extra.pl, pid=25469
> END in modperl_extra.pl, pid=25469
Christopher H. Laco wrote:
> Apache 2.0.53 worker under Unbuntu 5.04
> perl 5.8.4
>
>
> ===
Apache 2.0.53 worker under Unbuntu 5.04
perl 5.8.4
===
Results
===
Failed Test Stat Wstat Total Fail Failed List of
Faile
Michael Peters wrote:
Christopher H. Laco wrote:
use Data::UUID;
I know this isn't what you're looking for since it doesn't answer the
question you have, but just out of curiosity why do you need Data::UUID?
Would something like mod_unique_id work better?
http://httpd.apac
Christopher H. Laco wrote:
Christopher H. Laco wrote:
No love. This block segfaults my apache2/mp2:
if (exists $ENV{MOD_PERL_API_VERSION} &&
$ENV{MOD_PERL_API_VERSION} == 2) {
require Apache2::RequestRec;
require Apache2::RequestUtil;
require Apache2::R
Christopher H. Laco wrote:
No love. This block segfaults my apache2/mp2:
if (exists $ENV{MOD_PERL_API_VERSION} &&
$ENV{MOD_PERL_API_VERSION} == 2) {
require Apache2::RequestRec;
require Apache2::RequestUtil;
require Apache2::RequestIO;
require
Geoffrey Young wrote:
I'm just trying to write code in a config reader that reads
server->dir_config when it's loaded into apache, and request->dir_config
when it is called during requests.
all your other questions aside for the moment, I don't understand from where
you might be trying to do t
Geoffrey Young wrote:
[snip]
if you're worried about the server part being called when the module is
being loaded initially during a request (say, if someone didn't use
PerlModule) then something like this might work
my $r_or_s = eval { Apache2::RequestUtil->request } ||
I'm somewhat confused on how to write perl module code that DTRT when
it's loaded under MP2 when using PerlModule/PerlLoadModule.
Initially, I started out with this code:
$value = Apache2::RequestUtil->request->dir_config($key) ||
Of course, this failed under MP2 and caused apache to issue t
While I'm at it...what's the Apache2:: equivilent of SCRIPT_NAME?
-=Chris
smime.p7s
Description: S/MIME Cryptographic Signature
Philip M. Gollucci wrote:
Christopher H. Laco wrote:
Can't locate object method "dir_config" via package
"Apache2::RequestRec"
Thats a good question. Your code looks fundamentally correct. Here's a
live example maybe it will help.
Here's what I
I'm trying to get at PerlSetVar configurations, and this doesn't work
under MP2:
sub handler {
my $r = shift;
$r->print( $r->dir_config('MyConfig') );
return Apache2::Const::OK;
};
I'm getting this in the logs:
Can't locate object method "dir_config" via package "Apache2::Reque
Christopher H. Laco wrote:
Part of it may also be that I still see people and posts surprised that
"mod_perl 2 is finished?".
-=Chris
Oh yeah. Last night I installed MP2 on a fresh FreeBSD5 install using
ports that used:
http://www.apache.org/dist/perl/mod_perl-2.0.1.tar.g
Frank Wiles wrote:
On Fri, 26 Aug 2005 13:49:52 +0300
"Octavian Rasnita" <[EMAIL PROTECTED]> wrote:
What do you think, why the number of hosts which use mod_perl is
decreasing continuously as the following survey shows?
http://perl.apache.org/outstanding/stats/netcraft.html
We had a disc
Christopher H. Laco wrote:
So, let's reverse this.
I have a module that will be used in perl.
I want all subs in the module to share the stagte of one variable...in
my case @context.
I also want any changes to @context to only effect the current
user/request under mod_perl.
What&
Perrin Harkins wrote:
On Sat, 2005-08-20 at 19:44 +0200, Frank Maas wrote:
package A::B::C;
my %CFG = ( some_tag => some_config, ... }
...
sub do_something {
...
do_something_else( $CFG{some_tag} );
...
}
...
1;
After reading much of this discussion I am beginning to wonder if I am
creatin
You're right. This got convoluted. Let's start over.
package MyApp;
my @context;
sub dosomething {
push @context, 'doingsomething';
};
1;
When this module is loaded into MP then given to each child process, for
each request the user makes to a page that calls dosomething(
Perrin Harkins wrote:
On Fri, 2005-08-19 at 20:55 -0400, Christopher H. Laco wrote:
So, changing to
package MyMod;
my @context;
sub dosomething {
push @context;
#...do other stuff..
};
sub pushcontext {
push @context, shift;
};
1;
Woudld fix the persistance
Perrin Harkins wrote:
On Fri, 2005-08-19 at 20:24 -0400, Christopher H. Laco wrote:
I'm assuming that each tome dosomething() changes @contect, it's only
changing @contect for that MP child process.
Correct. However, dosomething() is a closure in your code, so @context
will per
Perrin Harkins wrote:
On Fri, 2005-08-19 at 20:24 -0400, Christopher H. Laco wrote:
I'm assuming that each tome dosomething() changes @contect, it's only
changing @contect for that MP child process.
Correct. However, dosomething() is a closure in your code, so @context
will pers
Sometimes I think too hard about this I swear. :-)
Just a mini backgrounder...I have two AxKit Taglibs that run under
AxKit/mod_perl. Up till now, they've been seperate in terms of usage. I
now need to have one modify a value of the other. This has brought me to
wonder if what I've done is goi
I know it exists, but I can't seem to find it at the moment. Somewhere
there used to be a document on the implications and expectations of
namespaces and doing things like this
$MyModule::Cfg = 'foo';
under different environments; like under mod_perl vs. cgi vs. a perl script.
Anyone
Philippe M. Chiasson wrote:
A sample example of what I _think_ you are trying to do would look like:
PerlModule Catalyst
package Catalyst;
use Apache2::ServerUtil qw();
[... figure out where/what to configure ...]
Apache2::ServerUtil->server->add_config([
'',
' SetHandler perl-script',
'
Perrin Harkins wrote:
On Tue, 2005-08-16 at 12:07 -0400, Christopher H. Laco wrote:
There are various plugins and httpd.conf changes that can be made to
disuade this behaviour, but I would like to take it a step further and
make it Just Work(TM) so I don't have to tweak the httpd.conf o
Geoffrey Young wrote:
What I don't yet grasp is if adding to the httpd.conf at runtime is
limited to a particular phase of if I could have any mod_perl handler
actually alter the http config while serving live requests.
well, you probably wouldn't want to do the latter - once you're serving
Frank Wiles wrote:
On Tue, 16 Aug 2005 12:07:51 -0400
"Christopher H. Laco" <[EMAIL PROTECTED]> wrote:
So, given a list of urls, is it possible to dynamically add /somemethod> tags to Apache? I think so, I just don't know where to
start.
I think this is what you
Are there any phase or scope limitations when adding directives to
apache at runtime? I've never done it, but I'm looking into a hack that
would require it.
The scenerio. In a Catalyst based app, Catalyst is setup to handle all
requests; be they for dynamic urls, or for physical files with sta
Christopher H. Laco wrote:
Randy Kobes
Sat, 04 Dec 2004 20:09:18 -0800
On Fri, 3 Dec 2004, Christopher H. Laco wrote:
> Christopher H. Laco wrote:
> >> I'll take a look at this, as I suppose it should
> >> have inferred that C:\Development\Apache2 was the top-level
&
47 matches
Mail list logo