otion. mod_perls ability to hook into any step of the
process apache uses to serve up a page makes it easy to design a web
solution that can be tailored for any solution.
regards, paul
--
Paul trader.ptra...@igolinux.com
IGO Linux Solutions
'Linux for the rest of us'
http://www.igolinux.com
On Thu, Jan 09, 2020 at 10:36:19AM +0800, Wesley Peng wrote:
> $str = "2 3 6";
>
> I want to match with:
>
> true if $str =~ /(\d+)\s(\d+)\s($1*$2)/;
>
> that's to say, the thrid column would be (firstCol * SecondCol).
>
> How to write regex for this?
I don't think you can do it directly in t
On 2/21/2019 9:46 AM, Michael Schout wrote:
Another common thing I've seen people do is return an invalid
Apache2::Const value from an Authz provider. You must return one of a
Yup, been there done that :).
I pieced this together, if my memory is correct, from apache mailing
list posts, as w
On Wed, Feb 20, 2019 at 05:56:48PM -0500, Edward J. Sabol wrote:
> Any pointers to a working AuthzProvider written in Perl (like for the
> "species" one) in your examples? It's not perfectly clear to me how to
> go about that.
I wrote one for CAS auth a while back:
https://github.com/pbhenson/Ap
On 2/19/2019 6:02 PM, Jie Gao wrote:
Found this on CPAN:
Module < Authen::Simple::IMAP (DMARTIN/Authen-Simple-IMAP-0.1.2.tar.gz)
Hmm, perhaps I should have searched CPAN directly rather than relying on
Google :). Thanks for the pointer…
The last update for this module was in 2009; Apa
On 2/19/2019 5:33 PM, Jobst Schmalenbach wrote:
While I have fixed most of the issues realted to the upgrade of
Apache one I cannot solve is the "PerlAuthenHandler
Authen::Simple::IMAP" in .htaccess files.
The authentication/authorization API changed between 2.2/2.4, if this
module has not been
On 1/28/2019 1:53 PM, Mark Blackman wrote:
https://perldoc.perl.org/threads.html#WARNING Threads are discouraged
in Perl these days
Yes, that is indeed what the documentation says; however, there is a far
cry between "Perl is single-threaded by design and history and has no
reliable suppor
On 1/28/2019 12:38 PM, Mark Blackman wrote:
>
Given that Perl is single-threaded by design and history and has no
reliable support for threading, I think that mod_perl and direct http/2
Perhaps I am confused, but I do not necessarily agree with this
statement. See, for example:
https://perl
On 1/25/2019 11:00 AM, Michael A. Capone wrote:
I have to add my voice to the growing chorus here.
Me too. Frequently when the topic of mod_perl going stale comes up
somebody jumps in with "That's old stuff, you should be using
PSGI/Plack". Those people simply don't understand the overall uti
, Aug 1, 2018 at 11:30 AM, Robert Smith
> wrote:
>
>> Who in the world would want to abandon mod_perl?
>>
>> What is this world coming to?
>>
>> -Robert
>>
>> > On Jul 30, 2018, at 5:44 PM, André Warnier (tomcat)
>> wrote:
>> >
>&g
On Sun, Jul 29, 2018 at 04:18:54PM -0400, Paul Silevitch wrote:
> Like Dr. James Smith, I'm hooking into multiple handlers and using filters.
Yep, me too; Plack is really not a feature equivilent replacement for
mod_perl :(.
Like Dr. James Smith, I'm hooking into multiple handlers and using filters.
I'm currently using prefork but thought people were using worker in
production (assuming the application is thread safe). Is that not the case?
Paul
On Sat, Jun 9, 2018 at 7:03 AM, Dr James Smith wrote:
>
Looks like I'm running into:
https://rt.cpan.org/Public/Bug/Display.html?id=122988
which was reported back in 9/2017. There doesn't seem to be a resolution
to it? I diff'd 2.0.10 (released in 10/2016) against current svn head,
and there really don't seem to be any changes of significance. Is
mod_
p exactly as I
> want them
And they very generously provide free hosting for metacpan.org and
cpancover.com. So if you want to go that route and feel like saying
thanks, follow the link from one of those sites.
--
Paul Johnson - p...@pjcj.net
http://www.pjcj.net
n that
respect. See also http://shadow.cat/blog/matt-s-trout/mstpan-1/
I'd probably choose Dancer2 for new work now myself, but if you want 20
year support you might prefer looking towards Catalyst, or perhaps even
building something for yourself on top of Plack.
--
Paul Johnson - p...@pjcj.net
http://www.pjcj.net
subprocess_env method will let you get apache's env:
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_
On Fri, Oct 2, 2015 at 6:24 PM, Michael A. Capone <
mcap...@cablewholesale.com> wrote:
> In my code, I do:
>
>
> SetEnvIf Request_URI \.gif$ gif-image
> Set
Weird.
Try the following instead:
$r->headers_out->set('Pragma' => 'no-cache');
$r->headers_out->set('Cache-Control' => 'no-cache');
I've actually never used 'no_cache' before but instead used the above two
lines.
Let me
Hello Michel,
Are you calling $r->no_cache before any response data has been sent? When
you say the browser receives a '0' in the response, what do you mean
exactly?
Thanks,
Paul
On Mon, Sep 7, 2015 at 4:15 PM, Michel Jansen
wrote:
> if i add $r->no_cache(1) to an ajax re
Hello mod_perl-ers,
Subject says it all. I was working on a project where I wanted to tell if
a request was a HEAD method and was surprised to see no constant for it.
Any ideas why it is missing?
Thanks,
Paul
ycle). To cover the race condition where the disconnect happens right
before the cancel, you could check to make sure the database connection is
active right after the cancel is called.
HTH,
Paul
On Wed, Nov 12, 2014 at 9:36 PM, Xinhuan Zheng
wrote:
> Hello,
>
> I am having a
"%s got: %s", func,
modperl_error_strerror(aTHX_ rc));
}
else {
modperl_croak(aTHX_ rc, func);
}
}
What cases fall into the else-block? What is the best way to debug?
Thanks,
Paul
"%s got: %s", func,
modperl_error_strerror(aTHX_ rc));
}
else {
modperl_croak(aTHX_ rc, func);
}
}
What cases fall into the else-block? What is the best way to debug?
Thanks,
Paul
.
Put anything not dealing specifically with the web into separate
modules. Those modules can be tested extensively in the usual fashion,
and the web layer should be so thin that it's hard to have bugs in it.
However, both Dancer and Mojolicious have testing modules for those
parts too.
--
Pa
ogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio
CustomLog "logs/access_log" common
ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
AllowOverride None
Options None
Order allow,deny
Allow from all
DefaultType text/plain
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
--
Paul Burton paulburt...@gmail.com
-Original Message-
From: Fred Moyer [mailto:f...@redhotpenguin.com]
Sent: Tuesday, March 02, 2010 4:55 PM
To: Torsten Förtsch
Cc: modperl@perl.apache.org
Subject: Re: Just Uploaded: ModPerl2::Tools
2010/3/2 Torsten Förtsch :
> Not much, just a few problems solved. Comments are welcome.
I am attempting to use Apache2::compat on a dedicated windows to get an old
open source application, that does run under apache1/mod-perl1, running.
Hopefully, I can easily port this application, or is it easier to give up?
>>> Adam Prime <[EMAIL PROTECTED]> 11/14/2008 8:07 AM >>>
Michael Peter
I didn't find resolution, if already resolved sorry:
http://rt.cpan.org/Public/Bug/Display.html?id=40749
Yes, it's not obvious that you need to enable the module after
installing it. Why doesn't the installer enable it automatically?
-Original Message-
From: Colin Wetherbee [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 July 2008 12:52 PM
To: Mark Hedges
Cc: Paul Camero
en the server started, it
didn't load mod_apreq2.so.
Thanks for your help, anyway.
-Original Message-
From: Heiko Jansen [mailto:[EMAIL PROTECTED]
Sent: Monday, 7 July 2008 5:15 PM
To: modperl@perl.apache.org
Subject: Re: Apache2::Request undefined symbol
Am Montag, den 07.07.2008, 08
che2.so: undefined symbol:
apreq_handle_apache2'.
I ran 'nm' on libapreq2.so.3 and it returned "nm:
/usr/lib/libapreq2.so.3: no symbols".
Can anyone help with this?
Thanks,
Paul Cameron
Email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
Phone:(07) 3102 5687
Mobile: 0410 442 756
cpan tells me that apache2::build is part of the mod_perl-2.0.3
package, which is installed on my fedora 7 system.
however, there seems to be no apache/build.pm module anywhere in
/usr/lib/perl5.
am i missing something here?
regards, paul
me
to the conclusion that it was because I ran 'make test' as root, switching to a
non-root user, the test that failed succeeded, but the other tests in daemon.t
failed.
Paul
--
[EMAIL PROTECTED]
Global Client Engineering - GM
EDS Corporation
248-365-9615
From: Cédric Terrier [mai
-8<-- Start Bug Report 8<--
1. Problem Description:
During 'make test' I see errors and I don't know what to do to solve
it. There's no error_log created.
/em/opt/wserve/bin/httpd -d /em/tmp/downloads/mod_perl-2.0.3/t -f
/em/tmp/downloads/mod_perl-2
On Sat, Nov 18, 2006 at 06:17:18PM -0800, Philip M. Gollucci wrote:
> A release candidate for mod_perl 2.0.3-rc3 is now available for testing.
All tests OK on linux 2.6.15 i686, perl 5.8.8, apache 2.0.59/2.2.3
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
On Mon, 28 Aug 2006, Geoffrey Young wrote:
Paul Raines wrote:
I am having an extrememly frustrating experience getting my old
mod_perl1 scripts from a RedHat 7.3 server working on a new CentOS4 box
with Apache 2.0.52 server with mod_perl 2.0.1 with CGI.pm 3.11
I'm sorry to hear tha
e a header of content type "text/plain".
How can I get the header I want to be the true HTTP header sent?
--
---
Paul Rainesemail: raines at nmr.mgh.harvard.edu
MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging
149 (2301) 13th Street Charlestown, MA 02129USA
e module ModPerl::Registry or ModPerl::RegistryPreFork
?
Thxs
Paul
Tom Schindl wrote:
If you'd show us the error I'm sure we can help you ;-)
I think I've found a further error elsewhere. If I have any other
problems, I'm definitely coming back here! :)
I forgot that the Perl community is one of the friendliest and most
helpful
Tom,
Will have a play with that then. I did try something similar but for
some reason it was erroring out.
Thanks
Paul
Tom Schindl wrote:
PerlModule ModPerl::Registry
--8<--
# Handle all files ending in .pl with mp2
SetHandler perl-scr
ase help with apache setup for this purpose. If it's complex
and means running *all* files that are under the virtual host root
through mod_perl then so be it. I don't see why it should be though.
Would really appreciate your help.
Thanks
Paul
It fixed it. Thxs
Cure
-Original Message-
From: Paul Harrison [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 7:58 AM
To: 'Martin Moss'; 'modperl@perl.apache.org'
Subject: RE: Apache::DBI
It's a default clean install. I'll try $Apache::DBI:
It's a default clean install. I'll try $Apache::DBI::DEBUG=0 to see if that
works.
Thxs
Cure
-Original Message-
From: Martin Moss [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 5:00 AM
To: Paul Harrison; modperl@perl.apache.org
Subject: Re: Apache::DBI
Not sur
I installed Apache::DBI - 0.98 on FreeBSD 5.4 with mod_perl
1.
Apache::DBI logs an entry in apache error log file every
time it create(s) a new connection or using an existing connection to the
database server.
Is this normal with this version? And how do I turn
that feature off?
I installed Apache::DBI - 0.98 on FreeBSD 5.4 with mod_perl
1.
Apache::DBI logs an entry in apache error log file every
time it create(s) a new connection or using an existing connection to the
database server.
Is this normal with this version? And how do I turn that
feature off?
Apache2 namespace are wrappers of the APR namespace. Where
can I find information about APR namespace, that will allow me to invoke the
same methods that Apache2 namespace allows ?
Example:
use Apache2::RequestRec ();
# set supported by the handler HTTP methods
$allowed =
How come in ModPerl 2, we don’t have to send the http
headers and print versus $r->print() compared to ModPerl1 ?
## ModPerl 2
sub handler {
my $r = shift;
$r->content_type('text/plain');
print "mod_perl 2.0
rocks!\n";
return Apache2::Const::OK;
}
Thx u so much
Cure
-Original Message-
From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 10:40 AM
To: Paul Harrison
Cc: 'Enno'; [EMAIL PROTECTED]; modperl@perl.apache.org
Subject: Re: Apache-DBI
Paul Harrison wrote:
> p5-Apache-DBI-0.94_1
p5-Apache-DBI-0.94_1 <-- I got it from the ports-tree FreeBSD
Cure
-Original Message-
From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 10:33 AM
To: Paul Harrison
Cc: 'Enno'; [EMAIL PROTECTED]; modperl@perl.apache.org
Subject: Re: Apa
if (defined $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} == 2)
{
<-- that fixed the error.
Thxs
Cure
-Original Message-
From: Paul Harrison [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 10:22 AM
To: 'Enno'
Cc: [EMAIL PROTECTED]; modperl@pe
I will try that thxs.
On my other box, I have mp2 and p5-Apache-DBI-0.94_1 works just fine.
But then again, I don't preload the connections on server startup.
Cure
-Original Message-
From: Enno [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 10:17 AM
To: Paul Harris
--Original Message-
From: Christopher H. Laco [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 9:51 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Apache-DBI
Paul Harrison wrote:
> p5-DBD-mysql50-3.0002
>
> p5-DBI-1.48
>
> p5-Apache-DBI-0.94_1
>
>
I'm currently running mp1, so I'm lost here.
Cure
-Original Message-
From: Enno [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 9:51 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Apache-DBI
you need Apache::DBI 0.96 or higher for mp2 compatibil
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 the
Apache error log -->
[Tue Nov 8 1
Message-
From: Frank Wiles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 14, 2005 5:08 PM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mod_perl2
On Wed, 14 Sep 2005 16:56:16 -0500
"Paul Harrison" <[EMAIL PROTECTED]> wrote:
> I tried installing libapr
lto:[EMAIL PROTECTED]
Sent: Wednesday, September 14, 2005 4:37 PM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mod_perl2
On Wed, 14 Sep 2005 16:29:51 -0500
"Paul Harrison" <[EMAIL PROTECTED]> wrote:
> Same compiler, yes
>
> In installed it from F
Same compiler, yes
In installed it from FreeBSD ports tree
PORTNAME= libapreq2
PORTVERSION=2.05
CATEGORIES= www perl5 devel
Cure
-Original Message-
From: Frank Wiles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 14, 2005 4:19 PM
To: Paul Harrison
Cc: modperl
In mod_perl 1.29 version, I preload the following modules at
startup à
use Apache::Request ();
use Apache::Cookie ();
It works perfect…
I’m currently learning how to use mod_perl2-2.0.1,
when I try to preload the following modules at startup à
use Apache2::Request ();
use
So what's the best mime-type then to use ?
Paul
-Original Message-
From: Tom Schindl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 11:32 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mime Type
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As already
Is there a way I can change the mine type in apache so when
a user clicks on a mp3 link it would pop_up the save window instead of playing
it ?
Maybe trick the browser into thinking the mp3 file is a zip
file so it will pop_up a save as window, so the user can save it to their
desktop.
Yes, thx you
Cure
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 12:04 PM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: APR
Paul Harrison wrote:
> Hi All, I thought the APR module was use for ==> to load mod
Hi All, I thought the APR module was use for ==> to load
mod_perl2 outside of Apache(command line). I'm lost when I see modules like
==> use APR::Table () inside of Apache(not the command line)
Please Explain, thxs
Cure
esn't exist
and the "testing" suite is also non-existent.
Paul Kraus
oking through the archives for this list I've seem mails that mention
checking if calls to glob() fail in a similar fashion. I've check and
they don't - glob() works fine.
Cheers
Paul
age and I suspect
TT2 is creating a closure, but I haven't tracked the reasons fully.
I fixed the problem with a call to clear_object_index at the start of
the handler. I'd be pleased to hear of a slightly more subtle approach
though.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
;m sure several people have done this before). Any suggestions?
Using mod_perl 2.0.0-RC4, Apache 2.0.52, GNU Make (tried Solaris Make as
well, but that didn't help) on Solaris 9
Thanks,
Paul
==
===
sub EnteteHTML
#===
===
{
return if ($ENTETE_HTML);
print $q->header('text/html');
print "\n";
print "";
$ENTETE_HTML++;
}
#
exec/openssh/gnome-ssh-askpass
HOME=/root
SHLVL=2
BASH_ENV=/root/.bashrc
LOGNAME=root
SSH_CONNECTION=192.168.2.101 4325 192.168.2.120 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/usr/local/apache2/bin/httpd
ORACLE_HOME=/opt/oracle/product/10g/OraDB10g
dbh=DBI::db=HASH(0x96e9578)
ERROR ?
connect
ORACLE_HOME=/opt/oracle/product/10g/OraDB10g
NLS_LANG=
and then I can connect but "été" becomes "ete"
Many Thanks for yoyr help.
- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Jean-Paul COGNET" <[EMAIL PROTECTE
uoted string not properly
terminated'
- Original Message -
From: "Arnaud Blancher" <[EMAIL PROTECTED]>
To: "Jean-Paul COGNET" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 26, 2004 3:48 PM
Subject: Re: pb setting NLS_LANG wit
che::Connection
;use Apache::Log ;
use APR::Table ;
use ModPerl::Registry ;
use Apache::Const -compile => ':common';use APR::Const -compile
=> ':common';use DBI; # On va utiliser la base de donneesuse
DBD::Oracle;
$ENV{ORACLE_HOME}='/opt/oracle/product/10g/O
Congratulations to you and your wife!
Hopefully you won't have to debug too many child process core dumps!
Paul E Wilt
Senior Principal Software Engineer
ProQuest Information and Learning
-
http://www.proquest.com mailto:[EMAIL PROT
ress
[EMAIL PROTECTED]
http://www.sixapart.com/jobs/#engineer1
--
Paul Lindner| | | | | | | | | |
[EMAIL PROTECTED]
pgpJHkDGD2NZr.pgp
Description: PGP signature
On Thu, 06 May 2004 12:22:49 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote:
If someone can write a section explaining how to do that properly, I
think it'll be a great addition to our docs. Just post the pod here and
I'll add it. Thanks.
OK, I'm not exactly a hand at writing pod but I had a g
On Thu, 6 May 2004 16:12:16 +, <[EMAIL PROTECTED]> wrote:
James Moore claimed to have gotten it right:
http://groups.google.ch/groups?q=emacs+mod_perl&hl=en&lr=lang_en|lang_de&ie=UTF-8&oe=UTF-8&selm=1051404465.5094
+85%40yasure&rnum=1
It partially works for me. The last part doesn't:
James Moor
pedef"
In file included from /usr/include/libgtop-2.0/glibtop.h:42,
from daemon.h:28,
from io.c:23:
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
hat if you're using Apache::DBI, restarting Apache would
> appear to fix the connection, leading you to suspect a mod_perl problem.
>
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
pgp0.pgp
Description: PGP signature
rt up again!
If i remove the Load line it again works. but with no mod_perl...
thx for your help
paul
Error messages:
7 Apache:: modules loaded
[Wed Mar 17 16:37:10 2004] [info] 5 APR:: modules loaded
[Wed Mar 17 16:37:10 2004] [info] base server + 17 vhosts ready to run
uild.pm line 41.
BEGIN failed--compilation aborted at lib/Apache/Build.pm line 41.
Compilation failed in require at Makefile.PL line 32.
BEGIN failed--compilation aborted at Makefile.PL line 32.
Hope you can help!
Thx a lot
paul
sepp
--
Report problems: http://perl.apache.org/bugs/
Mail
se of use.
>
> Any ideas?
Movable Type is what you are probably looking for. It has one of the
world's easiest installers, supports all the blog functionality and is
quite easy on the eyes out of the box.
http://www.movabletype.org
--
Paul Lindner[EMAIL PROTECTED] | |
rlOptions +ParseHeaders
PerlSetVar ReloadDebug On
Is there something that I am missing?
Thanks,
paul
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
the upgrade process was installing Apache Server 1.3.27. Has
anyone else encountered this error before, and if so, please help me out in
fixing it.
Thank you
Paul
This e-mail is sent on the Terms and Conditions that can be accessed by
Clicking on this link http://www.vodacom.net/legal
osing a Templating System -
http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html
ModPerl::Registry -
http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html
Paul
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Is it possible to take a request object
(from a posted html form) and
bounce it to something else?
For instance, we've got a form that submits to a perl
script (running
under mod_perl)
We do something w/ the form data that's posted, but we
then need
access to that posted form content elsewhere (wi
mes");
+is($thread_2, $thread_1, "got the same connection both times");
Thanks, Paul
--
Paul Makepeace http://paulm.com/ecademy
"What is your haddock called? 42."
-- http://paulm.com/toys/surrealism/
--
Reporting bugs: http:/
On Mon, 22 Dec 2003 15:26:53 -0800, Stas Bekman <[EMAIL PROTECTED]> wrote:
You don't need to walk the config tree to accomplish that. There is a
much simpler way:
sub post_config {
my($conf_pool, $log_pool, $temp_pool, $s) = @_;
for (my $vhost_s = $s->next; $vhost_s; $vhost_s = $vhost
PerlAddVar. It would be nice if
Apache::Directive was extended so that one could do the equivalent of
$node->dir_config("value").
-P
On Sun, 21 Dec 2003 19:46:15 -0800, Stas Bekman <[EMAIL PROTECTED]> wrote:
Stas Bekman wrote:
Paul G. Weiss wrote:
Rats! PerlPostConfig
and the file written to only when PerlPostConfigHandler is
outside the scope. By the way, this is also true with
PostOpenLogsHandler. In fact, when I set
PerlTrace all
in my configuration file, I see the line:
modperl_callback_run_handlers: no PerlPostConfigHandler handlers
configured ()
in the errors log.
stion on to the maintainer of Apache::PageKit (that is, if
he doesn't read this list), because it will affect his documentation.
-Paul
On Fri, 19 Dec 2003 18:32:46 -0800, Stas Bekman <[EMAIL PROTECTED]> wrote:
Paul G. Weiss wrote:
[...]
The reason this is important is that I'm trying to
e reason this is important is that I'm trying to get Apache::PageKit to
run in virtual hosts, and it depends on the availability of PerlSetVar
variables on startup.
-Paul
On Fri, 19 Dec 2003 06:28:10 -0500, Paul G. Weiss <[EMAIL PROTECTED]> wrote:
I have something like this:
Perl
SetVar
and move it outside the VirtualHost, then $value is "def".
I'm using 2.0.47 + 1.99_10, only because I have rpms build for them (for
RH9). Has this problem been noticed and fixed in the latest release? I
don't see any mention of it in the mail archives.
-Paul Weiss
--
Repo
Another porting issue for mod_perl2, admittedly this is a libapreq2 change
but it might be worth including in the mod_perl porting documentation as
anyone porting an application might well run into it (well, I did)
Apache::Cookie->fetch in libapreq2 requires that the request object
is passed to it
Setup: mod_perl-1.99_11, libapreq2-2.02, Apache 2.0.47, RedHat 9.
Running Apache::Status gives the attached output. There's no trace
of an error in the logs & I'm guessing that it's just an inappropriate
return code.
I _think_ this might be an appropriate patch?
--- Apache/Status.pm.orig2003-
Stas Bekman wrote:
Paul Flinders wrote:
At present I'm not getting much further than the start-up code. The
sequence
my $s = Apache->server;
my $uid = $s->uid;
my $gid = $s->gid;
gives me
Syntax error at /etc/httpd/conf.d/perl.conf:66
Can't locate object method "
I'm currently investigating using Apache::PageKit to develop
a web application.
I'm more-or-less constrained to use Apache 2 by the environmental
requirements for the project which means mod_perl2 and libapreq2.
I realise that this is something of an experimental brew, especially
as PageKit doesn't
27;s Cookbook.
It dumps the request onto a file on disk based on the URL. If the
file is removed then the content is regenerated. The module does not
cache headers, instead it uses Apache's built-in file-serving code to
serve up cached content written to disk.
Give it a try... OO handlers a
Stas:
Actually there is continued overhead due to the fact that different
instructions (that require a larger number of cycles to decode / dispatch)
are used when calling subroutines and / or accessing memory in a shared
environment.
Paul E Wilt
Senior Principal Software Engineer
ProQuest
If speed/performance is your concern, then you might
want to look into Apache2/mod_perl2. My understanding
is that Apache 1.x isn't anything but a novelty on
Windows.
paul
--- Todd <[EMAIL PROTECTED]> wrote:
> I recently migrated my perl/CGI.pm scripts from an
> IIS server to
I had found those. No _10 version.
I'm currently trying to modify the srpm for mod_perl-1.99_07, which is
available from RedHat, to use the .tar.gz for _10. I'm hopeful it will
work.
-P
On Tue, 30 Sep 2003 14:09:10 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote:
Paul G. Wei
would like to build new rpms and
replace the old ones.
Any pointers to instructions on how to do this? Or advice on whether or
not this is advisable?
-Paul
99 matches
Mail list logo