Re: getppid() in mod_perl 1.29 returns cached value

2004-08-19 Thread Stas Bekman
Pratik wrote: I know that this has been problem with all the applications that embedd perl in it. The patch is available for mp2. Any pointers on how to solve this for mp1 ? Try this patch. It's untested (I just tested that it compiles): Index: src/modules/perl/perl_util.c =

getppid() in mod_perl 1.29 returns cached value

2004-08-19 Thread Pratik
I know that this has been problem with all the applications that embedd perl in it. The patch is available for mp2. Any pointers on how to solve this for mp1 ? -Pratik -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: ht

Determining the page title at the end of all requests.

2004-08-19 Thread Brett Dev
Gurus, For apache 1.3, is it possible during the logging or cleanup phases to ascertain the title a page has put between it's tags? For our perl/mason based pages I suspect we can leave a hint (in the subprocess_env()) or just use notes() or something like that. However we also have ColdFusion

Re: [RELEASE CANDIDATE] Apache-Test 1.13

2004-08-19 Thread David Wheeler
On Aug 19, 2004, at 12:17 PM, Stas Bekman wrote: You can download the release candidate from here: http://www.apache.org/~stas/Apache-Test-1.13-dev.tar.gz All tests pass for me, and it appears to work nicely with my module that uses Apache::TestMB. Regards, David smime.p7s Description: S/MIME c

modperl@perl.apache.org

2004-08-19 Thread Stas Bekman
Stas Bekman wrote: if (Apache::Module::loaded('Apache::Status')) { Meanwhile just replace that with: if ($Apache::Status::VERSION) { ... } ? -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

modperl@perl.apache.org

2004-08-19 Thread Shannon Eric Peevey
Quoting Geoffrey Young <[EMAIL PROTECTED]>: Shannon Eric Peevey wrote: Hi! I am in the midst of porting Apache::AuthenCache to mp2, and am having some issues getting any method from Apache::Module. I'd check the archives - john groenveld already started this and we had some discussions on list abou

modperl@perl.apache.org

2004-08-19 Thread Stas Bekman
Shannon Eric Peevey wrote: Quoting Stas Bekman <[EMAIL PROTECTED]>: I am using: use Apache::Module; if (Apache::Module::loaded('Apache::Status')) { # $r->log->debug("status: launching menu"); Apache::Status->menu_item('AuthenCache' => 'AuthenCache Menu Item', \&status

modperl@perl.apache.org

2004-08-19 Thread Shannon Eric Peevey
Quoting Stas Bekman <[EMAIL PROTECTED]>: I am using: use Apache::Module; if (Apache::Module::loaded('Apache::Status')) { # $r->log->debug("status: launching menu"); Apache::Status->menu_item('AuthenCache' => 'AuthenCache Menu Item', \&status_menu); } Looks right to me

Re: Apache::Request multivalued parameters

2004-08-19 Thread Joe Schaefer
"David Hofmann" <[EMAIL PROTECTED]> writes: > I was using this system and exporting the results to %in so that I > could use $in{VAR} in my program. > > Which allows me to do > > $temp= "BOB"; > print "$temp = $in{$temp}\n"; > > To my knowledge, which may be lacking considering I just recently

Re: Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
I was using this system and exporting the results to %in so that I could use $in{VAR} in my program. Which allows me to do $temp= "BOB"; print "$temp = $in{$temp}\n"; To my knowledge, which may be lacking considering I just recently started playing with refrences, if I use option 1 or 2 I would

modperl@perl.apache.org

2004-08-19 Thread Geoffrey Young
Shannon Eric Peevey wrote: > Hi! > > I am in the midst of porting Apache::AuthenCache to mp2, and am having some > issues getting any method from Apache::Module. I'd check the archives - john groenveld already started this and we had some discussions on list about the way to approach various st

Re: [mp2] unable to compile 1.99_14 on solaris 9 + workaround

2004-08-19 Thread Stas Bekman
Marc Slagle wrote: 1. Problem Description: When compiling mod_perl-1.99_14 on solaris 9, I get the following errors: [EMAIL PROTECTED] mod_perl-1.99_14]# perl Makefile.PL MP_AP_PREFIX=/usr/app/cham Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/app/cham Configuring Apache/2.0.50 mod_per

[mp2] unable to compile 1.99_14 on solaris 9 + workaround

2004-08-19 Thread Marc Slagle
1. Problem Description: When compiling mod_perl-1.99_14 on solaris 9, I get the following errors: [EMAIL PROTECTED] mod_perl-1.99_14]# perl Makefile.PL MP_AP_PREFIX=/usr/app/cham Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/app/cham Configuring Apache/2.0.50 mod_perl/1.99_14 Perl/v5.6

[RELEASE CANDIDATE] mod_perl 1.99_15

2004-08-19 Thread Stas Bekman
You can download the release candidate from here: http://www.apache.org/~stas/mod_perl-1.99_15-dev.tar.gz Build details can be found here: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Installation If you find any problems, please make sure to follow these guidelines to report them: h

modperl@perl.apache.org

2004-08-19 Thread Stas Bekman
Shannon Eric Peevey wrote: Hi! I am in the midst of porting Apache::AuthenCache to mp2, and am having some issues getting any method from Apache::Module. I have downloaded the newest CVS snapshot: modperl-2.0_20040819104308.tar.gz Am running: Apache/2.0.50 mod_perl/1.99_15-dev Perl/v5.8.4 If I run

Re: Apache::Request multivalued parameters

2004-08-19 Thread Tom Schindl
Hi, I've never used $query->Vars but as far as I know Apache::Request does not provide a method like this. If the rest of your app depends on this behaviour you'll have to construct it your own like this: --8<-- my %params = (); while( $apr->param ) { $params{$

Re: Apache::Request multivalued parameters

2004-08-19 Thread Joe Schaefer
"David Hofmann" <[EMAIL PROTECTED]> writes: > I have a form where several of the in hidden fields are named the same thing > with diffrent values. > > With CGI.pm the I can use %in = $readquery->Vars; to put everything in a > hash. Then I break the values base on \0. > > What the best way to do

Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
I have a form where several of the in hidden fields are named the same thing with diffrent values. With CGI.pm the I can use %in = $readquery->Vars; to put everything in a hash. Then I break the values base on \0. What the best way to do this with Apache::Request, and how does it handle multiv

modperl@perl.apache.org

2004-08-19 Thread Shannon Eric Peevey
Hi! I am in the midst of porting Apache::AuthenCache to mp2, and am having some issues getting any method from Apache::Module. I have downloaded the newest CVS snapshot: modperl-2.0_20040819104308.tar.gz Am running: Apache/2.0.50 mod_perl/1.99_15-dev Perl/v5.8.4 If I run MethodLookup, it corr

Re: Raw header and body of HTTP request

2004-08-19 Thread Honza Pazdziora
On Wed, Aug 18, 2004 at 04:59:09PM +0200, Honza Pazdziora wrote: > > I have httpd-apreq / Apache::Request in my setup, in fact what I do > is basically > > use Apache::Request (); > my $request = Apache::Request->new($r); > if ($r->method eq 'POST') { > # process $