Original Message
Subject:Re: Apache2 namespace
Date: Tue, 5 Jul 2005 08:45:58 -0400
From: Kevin A. McGrail <[EMAIL PROTECTED]>
To: Philip M. Gollucci <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> <
Philip M. Gollucci wrote:
Hmmm seems like the example on that page relies on
use mod_perl;
to get $mod_perl::VERSION
However, mod_perl.pm has changed to mod_perl2.pm in the newer version
of mod_perl that's now on my system, so it doesn't appear that the
example at
http://perl.apache.org
Hmmm seems like the example on that page relies on
use mod_perl;
to get $mod_perl::VERSION
However, mod_perl.pm has changed to mod_perl2.pm in the newer version
of mod_perl that's now on my system, so it doesn't appear that the
example at
http://perl.apache.org/docs/2.0/user/porting/compa
Philip M. Gollucci wrote:
Philip M. Gollucci wrote:
Jim Albert wrote:
For example, one piece of my code has
use Apache::Const
but I had to change that to use Apache2::Const on the server running
the lastest mod_perl.
Can you give me the logic to handle that properly in a single code
file
Philip M. Gollucci wrote:
Jim Albert wrote:
For example, one piece of my code has
use Apache::Const
but I had to change that to use Apache2::Const on the server running
the lastest mod_perl.
Can you give me the logic to handle that properly in a single code
file. Thanks again.
Here's the l
Jim Albert wrote:
For example, one piece of my code has
use Apache::Const
but I had to change that to use Apache2::Const on the server running the
lastest mod_perl.
Can you give me the logic to handle that properly in a single code file.
Thanks again.
>>I think your key here is the MOD_PERL
On Jul 3, 2005, at 2:10 PM, Jim Albert wrote:
Can you give me the logic to handle that properly in a single code
file. Thanks again.
I think your key here is the MOD_PERL_API_VERSION environment variable.
BEGIN {
if ( $ENV{MOD_PERL_API_VERSION} == 2 ) {
# do mp2 stuff
}
}
-
Philip M. Gollucci wrote:
Jim Albert wrote:
Can someone point me to a URL that describes the purpose of the
Apache2 namespace?
I don't believe one exists (yet) ... possibly a good idea for the
perl.apache.org site?
The general idea as I've got it is:
1. Apache::*
Module works under
Jim Albert wrote:
Can someone point me to a URL that describes the purpose of the Apache2
namespace?
I don't believe one exists (yet) ... possibly a good idea for the
perl.apache.org site?
The general idea as I've got it is:
1. Apache::*
Module works under mp1
Possibly works
ut; mod_perl
> Subject: Re: Apache2:: namespace and AuthCookie package name.
>
>
>
> Michael J Schout wrote:
> > Hey everyone.
> >
> > I am working on updating Apache::AuthCookie to work with mod_perl
> > 2.0.0-RC5. In past releases, both the MP1 and MP2 v
Michael J Schout wrote:
Hey everyone.
I am working on updating Apache::AuthCookie to work with mod_perl
2.0.0-RC5. In past releases, both the MP1 and MP2 versions of
AuthCookie were installed as Apache::AuthCookie, even though the MP2
version of the module has several API changes in order to b
11 matches
Mail list logo