-Original Message-
From: Paul Johnson [mailto:p...@pjcj.net]
Sent: Tuesday, October 07, 2014 12:39 PM
On Tue, Oct 07, 2014 at 08:23:58AM -0500, Patton, Billy wrote:
> I’m just not sure where to start.
> Any recommendations would help.
I'm going to give you some different, and perhaps som
-Original Message-
From: Vincent Veyron [mailto:vv.li...@wanadoo.fr]
Sent: Tuesday, October 07, 2014 2:32 PM
On Tue, 7 Oct 2014 17:42:56 +
Mark Hedges wrote:
>
> I have found Apache::Test extremely useful for testing web applications.
> Don't let anyone tell you
-Original Message-
From: Patton, Billy [mailto:billy.pat...@h3net.com]
Sent: Tuesday, October 07, 2014 6:24 AM
To: modperl@perl.apache.org
Subject: beginning and testing
I'm rewriting/moving an app that hasn't been touched in over 5 years. The
original developers have since left the c
ath args after the requested URI?
It looks like embperl did it, but I didn't look too far into it.
HTH.
Mark Hedges
d you will only use the amount of memory once for all processes.
Using package vars to cache data is nice for small amounts that
don't change in size. If you go too far down that road you run
into the problem you described... it's no longer manageable.
HTH.
Mark Hedges
I've always found I have to build apr, apr-util and apr-iconv separately first
if I am building mod_perl from scratch. You might try that, then build Apache
using --with-apr, --with-apr-util and --with-apr-iconv args, then build
mod_perl using MP_APR_CONFIG and see if you get past that.
Mark
Hey nevermind, setting env vars works. I guess I must have typed that wrong
before when I tried that. Thank you.
Mark
-Original Message-
From: Mark Hedges
Sent: Friday, July 25, 2014 3:46 PM
To: modperl@perl.apache.org
Cc: Mark Hedges
Subject: pass extra args to a test in Apache
Hi. Is there a way to pass extra command-line arguments to a test script
running in Apache::Test?
I want to do:
t/TEST -verbose t/foobar.t --baz
And have this argument show up in @ARGV of t/foobar.t. Is there a special
trick?
Or, this would work:
BAZ=1 t/TEST -verbose t/foobar.t
And h
My build of event MPM in Apache 2.2.27 / mod_perl svn trunk works most of the
time, but occasionally segfaults at random places in my handler when subjected
to a lot of hits.
2014-07-03 14:48:54 Thu $ gdb /ntfhome/local/sbin/httpd -core
/ntfhome/users/Mark.Hedges/work/ntf/src/t/core.14236
GN
Hedges
Cc: modperl@perl.apache.org
Subject: Re: Apache2::URI::unescape_url bug?
On Fri, 27 Jun 2014 17:12:35 +
Mark Hedges wrote:
> The intent was to report that Apache2::URI::unescape does not seem to work
> correctly.
>
This is what I get when I try your code :
Undefined s
PM, Mark Hedges wrote:
> Try in a handler. (Apparently you cannot use Apache2::URI from command line?)
>
> use Apache2::Log ();
> use Apache2::URI ();
> sub handler {
> my ($r) = @_;
> my $string = "6%2D41913%2FUK1";
> Apache2::URI::unescape($str
Try in a handler. (Apparently you cannot use Apache2::URI from command line?)
use Apache2::Log ();
use Apache2::URI ();
sub handler {
my ($r) = @_;
my $string = "6%2D41913%2FUK1";
Apache2::URI::unescape($string);
$r->log_error($string);
}
Log contains: 6-41913/UK1\0UK1
??
-Mark
Of
Sergiy Borodych
Sent: Thursday, June 26, 2014 2:14 AM
To: Joshua Narins
Cc: Mark Hedges; modperl@perl.apache.org
Subject: Re: bug in trunk in Apache::Reload test
Hello,
another question:
why not just
my $args = $r->args;
if ( $args and $args eq 'last' ) {
(without defined
D'oh sorry bad value for POST_MAX, please ignore. -Mark
-Original Message-
From: Mark Hedges
Sent: Monday, June 23, 2014 4:02 PM
To: apreq-...@httpd.apache.org; mod_perl list
Cc: Mark Hedges
Subject: RE: APREQ_ERROR_MISMATCH error, I think
No one seems home on the apreq-dev list s
al Message-----
From: Mark Hedges
Sent: Friday, June 20, 2014 5:51 PM
To: apreq-...@httpd.apache.org
Cc: Mark Hedges
Subject: APREQ_ERROR_MISMATCH error, I think
Any clues for the clueless?
This is accompanied by a 500 internal server error.
The same handler works fine when I do not use Apache2::Re
I was thinking about this, I think I can do something like:
my $loc = $r->location;
$loc =~ s{/$}{};
my ($loc_match, $rest_of_path) = $r->uri =~ m{^(\Q$loc\E.*?/)(.*?)$}mxs;
I will try it out when I get a chance.
Mark
-Original Message-
From: Mark Hedges
Sent: Monday, June 23, 2
"Use of each() on hash after insertion without resetting hash iterator results
in undefined behavior, Perl interpreter: 0xf2e8010 at
/ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/Apache/TestSSLCA.pm
line 103.
Compilation failed in require at
/ntfhome/local/lib/perl5/sit
It seems like mpm_is_threaded should answer 1 for the event MPM, but it answers
0, and the test fails. The patch works around this by detecting whether it is
actually prefork or not, but there may be a deeper problem here. HTH. -Mark
2014-06-23 14:02:45 Mon $ svn diff ModPerl-Registry/t/pre
Perl 5.20.0, Apache 2.2.27, APR 1.5.1, APR-util 1.5.3, mod_perl trunk.
2014-06-23 11:16:32 Mon $ svn diff t/lib/Apache2/TestReload.pm
Index: t/lib/Apache2/TestReload.pm
===
--- t/lib/Apache2/TestReload.pm (revision 160470
This worked in trunk. Thanks. I guess I spun my wheels for a couple hours.
Would it be a good idea to roll out 2.0.9 as a bugfix, and make httpd24 2.1.0?
2.0.10?
Mark
-Original Message-
From: Mark Hedges
Sent: Monday, June 23, 2014 12:22 AM
To: modperl@perl.apache.org
Cc: Mark
In Apache2::Controller the dispatch mechanism gets the URI into a variable,
then removes $r->location from the start of it to get the remaining parts of
the path, to determine which controller method to invoke.
This works for conf but not , because $r->location
reports the string from the conf
.
This is a total non-sequitur, sorry.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Monday, June 23, 2014 12:01 AM
To: mod_perl list
Subject: Re: what is "world domination series"?
I may be thick, or not in the loop, but I didn't get this.
t/api/err_headers_out.t was recently changed to accommodate changes in
HTTP::Headers 6.0, but the change did not make it forward-compatible for
further versions of HTTP::Headers. The patch for the test script is below at
the end. Thank you. HTH. -Mark
s...@tst1.ntf.cftdev1 /ntfhome/local/sr
*lol* ... `force install App::Ack` ... silly people :-)
From: Mark Hedges
Sent: Sunday, June 22, 2014 11:10 PM
To: modperl@perl.apache.org
Cc: Mark Hedges
Subject: what is "world domination series"?
Apache/2.2.27 (Unix) world domination series/2.0 mod_perl/2.0.8 Perl/v5.20.0
Server at
This appears to be a bug in a test library in the released current version
mod_perl 2.0.8. $r->args can return undef if there is no ? in the url to
specify a query string, apparently. Patch is at the bottom. HTH. -Mark
s...@tst1.ntf.cftdev1 /ntfhome/local/src/perl/mod_perl-2.0.8
2014-06-22 2
Apache/2.2.27 (Unix) world domination series/2.0 mod_perl/2.0.8 Perl/v5.20.0
Server at localhost Port 8529
... rather ominous ...
Thanks.
Mark
1. Problem Description:
Generated test t/compat/conn_rec.t fails with incorrect test count.
It wasn't there to begin with and I didn't know what bootstrapped it
so the error log first shows the output of the other failed test that I
just reported, then it goes on to show this test output.
1. Problem Description:
t/hooks/authen_digest.t fails
s...@nta1.ntf.cftdev1 /ntfhome/local/src/mod_perl2_svn/mod_perl
2014-06-09 18:15:28 Mon $ t/TEST -verbose t/hooks/authen_digest.t
/ntfhome/local/bin/httpd -d /ntfhome/local/src/mod_perl2_svn/mod_perl/t -f
/ntfhome/local/src/mod_perl2_svn/
BTW it timed out after Test 6 and then I hit ctl-C.
-Original Message-
From: Mark Hedges
Sent: Friday, June 06, 2014 5:50 PM
To: modperl@perl.apache.org
Cc: Mark Hedges
Subject: http24threading t/protocol/eliza.t does not exit
1. Problem Description:
This is Apache 2.4.9 using the
1. Problem Description:
This is Apache 2.4.9 using the bundled apr/apr-util. Trying to build
http24threading branch.
t/protocol/eliza.t never exits after the last statement.
I am confused by t/protocol/TestProtocol/eliza.pm. It seems like it expects a
readline interface. But I added some de
The httpd24threading branch would not build using perl 5.20.0 built with
-Duserelocatableinc.
When t/TEST started to run, it said it could not find the lib.pm module. It
showed the @INC path, which contained the paths the mod_perl test had added,
and the paths listed in the -Dotherlibdirs pa
I copied this useful debugging filter at
http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter
It works fine, but I can't `perl -c` :
hedges@vm5:~/foo$ perl -c Lame.pm
Invalid CODE attribute: FilterConnectionHandler at Lame.pm line 26
BEGIN failed--compilation aborted at L
On Wed, 2 Feb 2011, Mark Hedges wrote:
>
> A change in Module::Build recently brought it in line with
> the behavior of ExtUtils::MakeMaker, which caused an error
> to crop up in test cases:
>
> # Error: Can't load
> '/usr/lib/perl5/site_perl/5.8.8/i386-linu
l you that modperl_xs_sv2request_rec is not
defined in your shared library.
Also, `prove -I blib` is not correct. You want `prove -b` which will pull in
blib/lib and blib/arch.
On 2011.2.3 9:08 AM, Mark Hedges via RT wrote:
> It looks like this is the problem, or at least, this fixes it for me
if the
test suite doesn't call it.
So the test is trying to tell you that modperl_xs_sv2request_rec is not
defined in your shared library.
Also, `prove -I blib` is not correct. You want `prove -b` which will pull in
blib/lib and blib/arch.
On 2011.2.3 9:08 AM, Mark Hedges via
On Tue, 31 Mar 2009, Mark Hedges wrote:
> On Tue, 31 Mar 2009, Fred Moyer wrote:
>
> > Do you have /usr/lib64 in your /etc/ld.so.conf? Been a
> > while since I've done 64 bit but that always seemed to
> > be the issue. Run ldconfig if needed after you add it.
>
I still have the problem that I can't install
Apache2::Request from CPAN. Was I not able to do that
before, after installing apr-dev yum packages etc.?
On Tue, 31 Mar 2009, Fred Moyer wrote:
> Do you have /usr/lib64 in your /etc/ld.so.conf? Been a
> while since I've done 64 bit but that always
I can build libapreq2-2.12 from source on an i386 machine
but not on an x86_64 virtualhost both run CentOS 5.?.
gcc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o
.libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o
.libs/parser_multipart.o .libs/module.o .libs/mod
This worked at one time on this machine. Can't do it now,
nor on new similarly configured machines. Any ideas? --mark--
hed...@anubis:~/DeSpam$ sudo updatedb
hed...@anubis:~/DeSpam$ locate Request.pm
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/APR/Request.pm
/usr/lib/perl5/site_per
On Fri, 27 Feb 2009, Justin Wyllie wrote:
> I want to instantiate an object just once in the lifetime
> of a script, not on every request. I'm used to Mason
> where you can use Mason's <%once> block. In mod_perl
> proper would the equivalent be to instantiate it in a
> BEGIN block? But it wou
On Fri, 27 Feb 2009, Carl Johnstone wrote:
> Perrin Harkins wrote:
>
> > I've heard people say that DBIx::Class has a slow startup,
> > so if you use that you might look there first.
>
> We do, I'll look.
If you're loading the schema from the database instead of
defining it from all the modules
On Mon, 23 Feb 2009, Clinton Gormley wrote:
> to:
>eval {load_application(); 1} || print STDERR $@;
>1;
>
> then I see the proper error message, but apache starts
> anyway.
>
> Is there any way I can:
> - cause the error to be reported properly
> - force apache not to start
eval {load
On Sat, 14 Feb 2009, Patrick Galbraith wrote:
> Thanks - as soon as I read what you said, I looked at the
> code and saw I instantiated a CGI object at the top of the
> script, package-scoped so I wouldn't have to pass it
> between subroutines. I thought I would test this intuition
> by instantia
d messing with Apache altogether.
>
> ------
> From: "Mark Hedges"
> Sent: Friday, February 13, 2009 12:07 PM
> To: "Solutio at Gmail"
> Cc: "André Warnier" ;
> Subject: Re: Capturing Apache response
>
> >
> >
> >
> > On Tue
You'd probably want to use Apache::DBI in that case.
I got the impression that you were maybe running under a
threaded model with many children serving static content but
sometimes opening DBI connections.
Connection pooling is a cool idea but I don't know who's
made it work. For example, `man
On Fri, 13 Feb 2009, shiriru0...@hotmail.com wrote:
> - I was manipulating @INC in a BEGIN block but wasn't working.
> The main app index.pl is very basic:
>
> use strict;
> use warnings;
>
> use App::Core Run => 'App::Engine';
>
> I was doing the manip of @INC in the App::Engine module
> within
On Tue, 10 Feb 2009, Solutio at Gmail wrote:
> First of all, I thank you both for your expert opinion on the topic. I have
> never had to fiddle with this sort of Apache customization, so I'm learning in
> the process...
>
> As for the way to communicate the file name to the filter, sure, we wo
Solutio at Gmail wrote:
> Thanks, your version works like a charm...but doesn't
> quite meets our needs. I apologize for being too vague
> regarding passing parameters on to the filter. Basically,
> we would like to somehow link the location and name of the
> response dump with the request data, li
On Sun, 8 Feb 2009, Solutio at Gmail wrote:
> I wonder if there is a workaround for this without adding
> a connection filter?
Try using something like the all-in-one FilterSnoop handler
on the same page at
http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter
- I had goo
On Thu, 29 Jan 2009, David Ihnen wrote:
>
> I have encountered this 'back call into execution context' a few times.
> Generally to me this means you have a singleton pattern.
>
> In a short concise code expression:
>
> package Cart;
> my $instance;
> sub new { return $instance ||= bless {}, $self
> the next request. Objects are useful because they form
> discrete containers of data in the blessed references that
> represent unique entities of a particular class, and they
> (typically) would not persist across requests unless you use
> a persistent object storage mechanism that keeps them
On Thu, 29 Jan 2009, Steven Siebert wrote:
> On Thu, Jan 29, 2009 at 2:11 PM, kropotkin wrote:
> > class A is the Catalogue and B is the Cart. Usually they
> > are separate but I want to show a flag relating to the
> > basket/cart in the catalogue against each product.
> > Really I am putting th
On Thu, 29 Jan 2009, Marilyn Burgess wrote:
> I really like this example too, though it lacks a class
> method example:
>
> if(DOG::number_of_dogs_in_the_pound() > 1){
> foreach my $dog (@Pound){
> if($dog->is_male()){
> print "I though so";
> }
> }
> }
>
> Sor
Trying to get perldoc running in some fashion under Apache2
with libapreq2.
I thought I'd use Apache2::Pod::HTML but no luck:
[Tue Jan 27 14:55:04 2009] [error] [client 70.143.68.29]
Can't locate object method "send_http_header" via package
"Apache2::RequestRec" at
/usr/lib/perl5/site_perl/5.8.8
On Tue, 20 Jan 2009, Yuan Zhang wrote:
> My email doesn't display any headers. Sorry it bothers
> people. I've got the right address to unsubscribe.
>
> Yuan
>
> >>> fREW Schmidt 01/20/09 1:43 PM >>>
> > How many times to people have to tell you to look at the
> > headers of the e-mail for the
How many times to people have to tell you to look at the
headers of the e-mail for the list management addresses?
--mark--
On Tue, 20 Jan 2009, Yuan Zhang wrote:
> unsubscribe
>
On Thu, 15 Jan 2009, Michael Ludwig wrote:
> PerlRequire /home/milu/www/eumel/startup.pl
> PerlChildInitHandler Eumel::Gurke::bla;
> PerlChildExitHandler Eumel::Gurke2::bla;
No trailing semicolons?
Probably if you first do PerlLoadModule Foo::Bar it will
fail and inform you
> > my $container
On Wed, 14 Jan 2009, Patrick Rutkowski wrote:
> Hmm, I see. Interesting points, all noted.
>
> I also just realized it might have to do with which of the many apache
> children get which requests and when.
>
> I'm hoping that setting MaxRequestsPerChild to something like 1 or 2 (as
> opposed to
On Wed, 14 Jan 2009, Michael Ludwig wrote:
> I want to build a mod_perl2 application using
> Sleepycat::DbXml. This is
>
> However, I don't know how to do this. Currently, I'm
> trying to set up things in startup.pl (loaded via
> PerlPostConfigRequire), store the database environment
> handle in
On Sat, 10 Jan 2009, Rohan Carly wrote:
> I use mod_perl 2.0.3, Apache/2.2.4, Perl 5.8.8 on Linux. I encountered some
> problems that would have been easier to solve with more documentation.
There is a separate documentation mailing list:
http://perl.apache.org/maillist/docs-dev.html
> > Per
On Thu, 8 Jan 2009, Odysseas Pentakalos, Ph.D. wrote:
> Thanks so much for your help. That was not the problem but
> it helped me see the problem. I was not importing the
> Constants at the top so regardless of whether I was
> returning FORBIDDEN or DECLINED, or HTTP_UNAUTHORIZED the
> value was
On Wed, 7 Jan 2009, Odysseas Pentakalos, Ph.D. wrote:
>
> sub handler {
> my($r) = @_;
>
> my $log = $r->log;
>
> return FORBIDDEN unless $r->is_main;
>
> my $subr = $r->lookup_uri($r->uri);
> my $dn = $subr->subprocess_env('SSL_CLIENT_S_DN');
>
> $r->log_reason("In CertAu
On Thu, 8 Jan 2009, Adam Prime wrote:
> Personally, i think libapreq should be part of core httpd
> (or at least a 'normal' module, and libapreq2's perl
> bindings should be part of stock mod_perl.
Yeah I've run into systems multiple times where the boss was
too afraid of change to allow building
On Wed, 7 Jan 2009, Michael Ludwig wrote:
> In 2.0, is there a way to access the current request object using one of
> the classes in the following fashion?
>
> my $r = Apache2::RequestRec->current(); # INVALID!
>
>From `man Apache2::RequestUtil`:
# get the global request object (requires Pe
> > On Thu, 1 Jan 2009, Mark Hedges wrote: Talking to myself
> > again. I think I can make it work either way.
> > Apache2::Controller won't use Apache2::Request as a
> > base, but it will still instantiate the Apache2::Request
> > object and put it in $self
On Fri, 2 Jan 2009, David Ihnen wrote:
> Mark Hedges wrote:
> > I wonder how easy it would be to add controller
> > subroutine attributes for which ones are allowed or not,
> > ala Catalyst, instead of the controller having to
> > provide an 'allowed_methods
On Thu, 1 Jan 2009, Mark Hedges wrote:
>
> Regarding your comment about inheritance vs. references -
> something I hadn't thought much about. A) I need to prefix
> all my internal method names with 'a2c_' to stay out of
> the controller namespace. B) You can'
> > - a lot of times people use references to other
> > structures when they should subclass... these references
> > function only to re-map arguments to other modules,
> > which is ridiculous.
>
>
> Careful on the should. It can seem extra and possibly
> confusing but isn't always. Delegation is
> > Oh no, the framework doesn't depend on using a session
> > at all. Just this particular auth module depends on
> > plugging in the session beforehand.
>
> So I have to have a persistant backstoring session in
> order to use the auth module?
Well, now, but as you recommended, maybe not neces
On Wed, 31 Dec 2008, Foo JH wrote:
> Mark Hedges wrote:
> > http://search.cpan.org/~markle/Apache2-Controller-1.000.001/
> Very interesting. I have a controller which functions in a
> slightly different way, but it's good to see alternative
> approaches. I think yours mak
On Tue, 30 Dec 2008, David Ihnen wrote:
>
> in the meantime server 556 dublin suffered a network
> connector air gap issue. A trouble ticket has been
> created. These things happen.
>
> client -> GET -> load balancer ->
> server 22 london -> looks up saved requestbody !!!
>
> This is the proble
Thanks I really do appreciate your comments.
On Mon, 29 Dec 2008, David Ihnen wrote:
> Yes, I am aware of how OpenID works. And it works in-band
> unless the application explicitly sidelines it - there is
> no inherent side-band communication that the client and
> server will use - otherwise, yo
On Mon, 29 Dec 2008, David Ihnen wrote:
>
> Though that is, of course, specific to the application
> being programmed, utilizing client-side javascript active
> stuff rather than particular web server programming to
> transparently handle it on the server side using basic
> html2.0 type structure.
On Mon, 29 Dec 2008, David Ihnen wrote:
> > Say the application's session times out, but the user
> > posts something by clicking submit.
> >
> > They are redirected to the OpenID server but it says
> > they are still logged in and returns a positive
> > response.
>
> But you can't know that they
On Sun, 28 Dec 2008, André Warnier wrote:
> > > > But when they come back from the OpenID server, how
> > > > do I put the saved request body or post params into
> > > > the new request?
> >
> In Apache2::AuthCookie, the author uses a trick : convert
> your POST to a GET see the sub convert_to_ge
On Sat, 27 Dec 2008, Mark Hedges wrote:
> Hi, I'm trying to figure out how to preserve the request
> body across an OpenID login redirect cycle.
> ...
> But when they come back from the OpenID server, how do I put
> the saved request body or post params into the new request?
Hi, I'm trying to figure out how to preserve the request
body across an OpenID login redirect cycle.
This handler is running as a PerlHeaderParserHandler.
Say the application's session times out, but the user posts
something by clicking submit.
They are redirected to the OpenID server but it sa
I have achieved controller nirvana. Merry Christmas, world!
OpenID auth handler doesn't preserve get/post vars across
the openid server redirect sequence yet, but it will in the
next version.
http://search.cpan.org/~markle/Apache2-Controller-1.000.001/
Mark
On Fri, 19 Dec 2008, Mark Hedges wrote:
> In order to do this I have to run a Net::OpenID::Server via
> an HTTP::Server::Simple which forks the test script and runs
> the test OpenID server into the background.
> ...
> Any idea how I could do this so the forked child of the
&g
On Sat, 20 Dec 2008, Mark Hedges wrote:
> probably a bug at line 114 of ToObject.pm... have you
> considered using a more recent version of Mason?
err .. this is the most recent version
On Thu, 18 Dec 2008, Felipe de Jesús Molina Bravo wrote:
> 2008/12/18 db
> try with nobody...
> replace ownership of /etc/httpd/mason to 'nobody:nobody', and/or
> change User/Group settup to 'nobody' in httpd.conf
>
> DIDN'T solve the issue. web page returns same error.
>
> My
Hi. I'm using Apache::Test to develop tests for my OpenID
in-line session-based auth for the upcoming production
release of Apache2::Controller.
In order to do this I have to run a Net::OpenID::Server via
an HTTP::Server::Simple which forks the test script and runs
the test OpenID server into th
On Mon, 21 Jul 2008, Stephen Howard wrote:
> I have a form validator PerlResponseHandler (using
> Data::FormValidator) that needs to repopulate a form upon
> failure. Problem is, the original form is not generated
> by the handler, but by other pages on the site. My
> thinking is that I ought
On Thu, 17 Jul 2008, [EMAIL PROTECTED] wrote:
> I found that Catalyst is too huge to use. Other than
> Catalyst, do you have any other framework suggested for MP
> applications? thanks.
You could help me debug Apache2::Controller. It is still
unstable and incomplete, though. YAAF. --mark--
On Thu, 10 Jul 2008, David Kaufman wrote:
>
> my $foo = 'bar' if $baz;
>
> I wish it would still DWIM, and by that I mean the compiler should detect
> my declaration + assignment + conditional and rewrite it for me as what I
> meant which was simply:
>
> my $foo = $baz ? 'bar' : undef;
>
I d
On Sun, 6 Jul 2008, Geoffrey Young wrote:
> Mark Hedges wrote:
> >
> > How do I get the Apache2::Controller::Directives module to
> > work from t/conf/extra.conf.in? Try commenting out the
> > PerlSetVar for the same named thing and enabling the line to
>
That's a normal thing. All installed modules put their
config into mods-available. Then you use `a2enmod` to
manage those symlinks and turn them on or off in
mods-enabled.
Mark
On Mon, 7 Jul 2008, Paul Cameron wrote:
> Yes, it's there. I just found the problem.
>
> The 'aptitude' package mana
Ugh, I am so flummoxed by this.
How do I get the Apache2::Controller::Directives module to
work from t/conf/extra.conf.in? Try commenting out the
PerlSetVar for the same named thing and enabling the line to
load the directives and set A2CRenderTemplateDir.
Wacky! I will buy beer for anyone who
Excellent! Thanks everyone for the pointers! --mark--
On Thu, 3 Jul 2008, Fred Moyer wrote:
> > I've been getting cpan-testers results like this. What
> > should I do? Thanks... --m--
>
> See sub test in:
>
> http://search.cpan.org/src/PHRED/Apache-Dispatch-0.10/Makefile.PL
Wouldn't that Makefile.PL die if mod_perl is not installed,
instead of req
How am I supposed to tell CPAN that the distribution
requires Apache::TestMM when Makefile.PL uses it before
`make` is even executed? So I can't use
ExtUtils::MakeMaker's PREREQ_FATAL flag because Makefile.PL
does not get that far.
http://search.cpan.org/src/MARKLE/Apache2-Controller-0.0002/Make
* \[.*?\] }{}xms;
s{ , \s referer: \s http:// .*? \z }{}xms;
print LAME $_;
}
On Fri, 11 Aug 2006, Mark Hedges wrote:
> From: Mark Hedges <[EMAIL PROTECTED]>
> To: Philip M. Gollucci <[EMAIL PROTECTED]>
> Cc: modperl@perl.apache.org
> Date: Fri, 11 Aug 2006 17:47:
t out.
Glad you got it working!
Mark
On Fri, 11 Aug 2006, Mark Hedges wrote:
> From: Mark Hedges <[EMAIL PROTECTED]>
> To: Andre <[EMAIL PROTECTED]>
> Cc: modperl@perl.apache.org
> Date: Fri, 11 Aug 2006 17:48:45 -0700 (PDT)
> Subject: Re: Redhat up2date breaking mod_p
a fully non-commercial operating
system that isn't years out of date. (up2date my butt)
Mark
>
> - Original Message -
> From: "Mark Hedges" <[EMAIL PROTECTED]>
> To: "Jonathan" <[EMAIL PROTECTED]>
> Cc: "mod_perl mod
On Fri, 11 Aug 2006, Philip M. Gollucci wrote:
>
> Mark Hedges wrote:
> > Maybe this is a regular apache users list question, sorry, but I figure
> > someone here might now.
> >
> > Server: Apache/2.0.55 (Debian) mod_apreq2-20051231/2.5.7 mod_perl/2.0.2
>
Maybe this is a regular apache users list question, sorry, but I
figure someone here might now.
Server: Apache/2.0.55 (Debian) mod_apreq2-20051231/2.5.7 mod_perl/2.0.2
Perl/v5.8.8
Using the regular cgi handler (no mod_perl fancy stuff), my
warning messages have this format:
[Fri Aug 11 13:25
> On Aug 11, 2006, at 7:06 PM, Mark Hedges wrote:
> > This happened to me when running up2date on rhel4 too.
> >
> > Had to re-install all CPAN modules.
> >
> > We used Apache2/Mod_perl2 compiled from source because the
> > RedHate vendor lib distr
FWIW I sometimes found that if an error occured somewhere, even
an incorrect use of an undefined value, it screwed up mod perl's
subroutine wrapper caching and caused the handler to run again.
So you could be seeing the results of the second or third time
the handler was hit. If you have warni
On Fri, 11 Aug 2006, Jonathan wrote:
>
> Your box is now running
> apache: httpd 2.0.52 28.ent i386
> perl: perl 5.8.5 36.RHEL4 i386
> i don't see any mod_perl port (httpd-perl /modperl/etc)
>
> my guess is that mod_perl was compiled from source, against the old perl and
> th
99 matches
Mail list logo