Re: modperl 2.0: apache crashes when running modperl script

2003-06-03 Thread arunappa
-8-- Start Bug Report 8-- 1. Problem Description: apache crashes when accessing this modperl script: package Apache::hello; use strict; use Apache::RequestRec (); use Apache::RequestIO (); use Apache::Const -compile = 'OK'; sub handler { my $request =

Apache::Cookie

2003-06-03 Thread cap
i have an application that uses CGI and sets the cookie values as a hashref. im then attempting to retreive the values with Apache::Cookie with: $cookies = Apache::Cookie-fetch; $ccokies is a hashref so i should be able to get the individual values with: $cookies-{uid}; right? however, this

Re: Apache::Cookie

2003-06-03 Thread Jason Galea
Have you consulted the documentation? http://search.cpan.org/author/JIMW/libapreq-1.1/Cookie/Cookie.pm#value cap wrote: i have an application that uses CGI and sets the cookie values as a hashref. im then attempting to retreive the values with Apache::Cookie with: $cookies =

Not reading $ENV variable

2003-06-03 Thread Chris Pizzo
Hi all, I'm seeing a weird thing. Sometimes my script sees nothing in the $ENV{HTTP_REFERER} variable. Im not sure what is causing this. It works some of the time. I do this at the begining of the script...heres the code: my $r = Apache-request; use DBI;# for connecting to the

Re: Missing html code using dynagzip

2003-06-03 Thread Slava Bizyayev
I guess, your problem is out of Apache::Dynagzip. Please, try to follow: 1. Make sure your script is producing correct response under Apache::Registry. 2. Make sure your script does not have any internal conditional branches on whether it runs under Apache::Registry, or under

Using Apache::ReadConfig and method handlers

2003-06-03 Thread Issac Goldstand
I want to assign a method handler from within the Apache::ReadConfig namespace. Right now, what I have is some function which somewhat resembles: package My::Object; sub method1 { my $self=shift; package Apache::ReadConfig; no strict; $Location{'/some/URL/'} = { Options = '+ExecCGI',

[ANNOUNCE] Mason-CM 1.1, Current Mason Adaption and Fixes

2003-06-03 Thread Christian Hauser
Finally I upgraded all my sites to Mason 1.20 and so Mason-CM has been updated too. At the same time I could fix a few little things. DESCRIPTION Mason-CM is a web content management system built on Apache/ mod_perl. It's optimized arbitrary any file based web productions. ItÂ’s

Re: Not reading $ENV variable

2003-06-03 Thread Andrew Ho
Hello, CPI'm seeing a weird thing. Sometimes my script sees nothing in the CP$ENV{HTTP_REFERER} variable. Im not sure what is causing this. It CPworks some of the time. You are never guaranteed to receive a Referer header; first of all, it is sent by the client, and the HTTP client involved has

Re: Using Apache::ReadConfig and method handlers

2003-06-03 Thread Perrin Harkins
On Mon, 2003-06-02 at 11:36, Issac Goldstand wrote: I want to assign a method handler from within the Apache::ReadConfig namespace. Right now, what I have is some function which somewhat resembles: package My::Object; sub method1 { my $self=shift; package Apache::ReadConfig; no

Re: Using Apache::ReadConfig and method handlers

2003-06-03 Thread Issac Goldstand
- Original Message - From: Perrin Harkins [EMAIL PROTECTED] On Mon, 2003-06-02 at 11:36, Issac Goldstand wrote: I want to assign a method handler from within the Apache::ReadConfig namespace. Right now, what I have is some function which somewhat resembles: package My::Object;

Re: Using Apache::ReadConfig and method handlers

2003-06-03 Thread Perrin Harkins
On Mon, 2003-06-02 at 15:19, Issac Goldstand wrote: No - this is at startup. It's also, to the best of my knowledge, the *only* way to push handlers onto a dynamic URL (eg, where the URL is a variable) - which is what I'm trying to do. I was referring to the $r-push_handlers method which you

[mp2] make test fails on redhat 8.0 with 1.99_09 and 1.99_10-devsources

2003-06-03 Thread Haroon Rafique
system details are posted as cut-and-paste from t/REPORT output at the end of the email. Background: 1. make test passes 100% with 1.99_08 2. make test fails to start the webservers with 1.99_09 3. make test fails to start the webservers with 1.99_10-dev (cvs) In the case of 1.99_09, following

Re: Using Apache::ReadConfig and method handlers

2003-06-03 Thread Issac Goldstand
- Original Message - From: Perrin Harkins [EMAIL PROTECTED] On Mon, 2003-06-02 at 15:19, Issac Goldstand wrote: No - this is at startup. It's also, to the best of my knowledge, the *only* way to push handlers onto a dynamic URL (eg, where the URL is a variable) - which is what I'm

[DIGEST] mod_perl digest 2003/05/19

2003-06-03 Thread jgsmith
-- mod_perl digest May 19, 2003 - June 1, 2003 -- Recent happenings in the mod_perl world... Features o

RE: Apache::Cookie

2003-06-03 Thread cap
Yes, but: use Apache::Cookie; my $cookie = Apache::Cookie-fetch; my @values = $cookie-value; returns errors. -Original Message- From: Jason Galea [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 5:56 AM To: [EMAIL PROTECTED] Cc: modperl Subject: Re: Apache::Cookie Have you

[patch] Apache::DBI can't be made to always ping

2003-06-03 Thread dennis . ingram
We've been having some problems with our Oracle 8.1.5 database on AIX, which has highlighted what looks like a problem with Apache::DBI. To cut a very long story short, due to an Oracle problem database handles are becoming invalid reasonably frequently. In this case, we would expect Apache::DBI

RE: Apache::Cookie

2003-06-03 Thread Perrin Harkins
On Mon, 2003-06-02 at 16:30, cap wrote: Yes, but: use Apache::Cookie; my $cookie = Apache::Cookie-fetch; my @values = $cookie-value; returns errors. The value() call isn't meant to be used with fetch(). Your original example looked fine to me. What was not working about it? Did you

Re: trouble with using $r-lookup_uri()

2003-06-03 Thread Ryan Muldoon
Aaron, It looks like this did the trickmy module doesn't quite work yet, but it isn't segfaulting anymore. Thanks! --Ryan On Fri, 2003-05-30 at 22:24, Aaron Ross wrote: my $uri = $r-uri; my $subr = $r-lookup_uri($uri); Is this recursing? the subrequest will

Re: Apache::Cookie

2003-06-03 Thread Perrin Harkins
On Mon, 2003-06-02 at 09:05, cap wrote: i have an application that uses CGI and sets the cookie values as a hashref. im then attempting to retreive the values with Apache::Cookie with: $cookies = Apache::Cookie-fetch; $ccokies is a hashref so i should be able to get the individual values

Re: modperl 2.0: apache crashes when running modperl script

2003-06-03 Thread Stas Bekman
[EMAIL PROTECTED] wrote: -8-- Start Bug Report 8-- 1. Problem Description: apache crashes when accessing this modperl script: package Apache::hello; use strict; use Apache::RequestRec (); use Apache::RequestIO (); use Apache::Const -compile = 'OK'; sub

Apache::Status for 2.0 ?

2003-06-03 Thread WC -Sx- Jones
Please bear with me -- I have recently picked up Apache2 and now trying out mod_perl2 I see Apache::Status listed under the mod_perl2 docs - http://perl.apache.org/docs/2.0/api/Apache/Status.html But I only see mod_perl 1.27 on the CPAN site; Is there another place to obtain a mod_perl2 type

Re: Apache::Status for 2.0 ?

2003-06-03 Thread Stas Bekman
WC -Sx- Jones wrote: Please bear with me -- I have recently picked up Apache2 and now trying out mod_perl2 I see Apache::Status listed under the mod_perl2 docs - http://perl.apache.org/docs/2.0/api/Apache/Status.html But I only see mod_perl 1.27 on the CPAN site; mod_perl-1.99_09 is not indexed

Re: Apache::Status for 2.0 ?

2003-06-03 Thread WC -Sx- Jones
On Monday, June 2, 2003, at 08:29 PM, Stas Bekman wrote: WC -Sx- Jones wrote: I see Apache::Status listed under the mod_perl2 docs - http://perl.apache.org/docs/2.0/api/Apache/Status.html mod_perl-1.99_09 is not indexed by PAUSE, hence you can't see it. (because of _09). If you have

Re: Apache::Status for 2.0 ?

2003-06-03 Thread Stas Bekman
WC -Sx- Jones wrote: On Monday, June 2, 2003, at 08:29 PM, Stas Bekman wrote: WC -Sx- Jones wrote: I see Apache::Status listed under the mod_perl2 docs - http://perl.apache.org/docs/2.0/api/Apache/Status.html mod_perl-1.99_09 is not indexed by PAUSE, hence you can't see it. (because of

Re: Apache::Status for 2.0 ?

2003-06-03 Thread WC -Sx- Jones
On Monday, June 2, 2003, at 09:19 PM, Stas Bekman wrote: Have you looked? http://perl.apache.org/dist/mod_perl-2.0-current/lib/Apache/Status.pm Yes, of course. :) My question: Was it not installed when I built mod_perl2 ? So, on my server I looked for Apache -- [ results edited to remove

Re: Apache::Status for 2.0 ?

2003-06-03 Thread WC -Sx- Jones
On Monday, June 2, 2003, at 09:19 PM, Stas Bekman wrote: http://perl.apache.org/download/index.html Shouldn't there be a warning about mod_perl2 and CPAN then? CPAN definitely wants to download and install mod_perl1 -- even over a valid mod_perl2 installation... Regarding the following off

Re: Apache::Status for 2.0 ?

2003-06-03 Thread WC -Sx- Jones
Ignore me - On Monday, June 2, 2003, at 09:37 PM, WC -Sx- Jones wrote: Yes, of course. :) My question: Was it not installed when I built mod_perl2 ? I found (something) at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int/ Apache/Status.pm Now all I have to do is

Re: Apache::Status for 2.0 ?

2003-06-03 Thread Stas Bekman
WC -Sx- Jones wrote: On Monday, June 2, 2003, at 09:19 PM, Stas Bekman wrote: Have you looked? http://perl.apache.org/dist/mod_perl-2.0-current/lib/Apache/Status.pm Yes, of course. :) My question: Was it not installed when I built mod_perl2 ? So, on my server I looked for Apache -- [

Re: Apache::Status for 2.0 ?

2003-06-03 Thread Stas Bekman
WC -Sx- Jones wrote: On Monday, June 2, 2003, at 09:19 PM, Stas Bekman wrote: http://perl.apache.org/download/index.html Shouldn't there be a warning about mod_perl2 and CPAN then? CPAN definitely wants to download and install mod_perl1 -- even over a valid mod_perl2 installation...

Re: Apache::Status for 2.0 ?

2003-06-03 Thread Stas Bekman
WC -Sx- Jones wrote: Ignore me - On Monday, June 2, 2003, at 09:37 PM, WC -Sx- Jones wrote: Yes, of course. :) My question: Was it not installed when I built mod_perl2 ? I found (something) at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi-64int/ Apache/Status.pm Now

Re: [mp2] make test fails on redhat 8.0 with 1.99_09 and 1.99_10-devsources

2003-06-03 Thread Stas Bekman
Haroon Rafique wrote: system details are posted as cut-and-paste from t/REPORT output at the end of the email. Background: 1. make test passes 100% with 1.99_08 2. make test fails to start the webservers with 1.99_09 3. make test fails to start the webservers with 1.99_10-dev (cvs) Right, the

RE: Apache::Cookie

2003-06-03 Thread cap
Well, here's what I have to do to get direct access to values from the original cookie hash: my $cookies = Apache::Cookie-fetch; my %hash = defined $cookies-{'session'} ? $cookies-{'session'}-value : undef; Strange. Thanks for the lead. -Original Message- From: Perrin Harkins

Re: Apache::Cookie

2003-06-03 Thread Stas Bekman
cap wrote: Well, here's what I have to do to get direct access to values from the original cookie hash: my $cookies = Apache::Cookie-fetch; my %hash = defined $cookies-{'session'} ? $cookies-{'session'}-value : undef; Strange. Thanks for the lead. That's a bogus code. Obviously you are running

Re: Missing html code using dynagzip

2003-06-03 Thread Scott Alexander
On Mon, 2 Jun 2003, Slava Bizyayev wrote: I guess, your problem is out of Apache::Dynagzip. Please, try to follow: 1. Make sure your script is producing correct response under Apache::Registry. Yes it does 2. Make sure your script does not have any internal conditional branches on

Re: Missing html code using dynagzip

2003-06-03 Thread Slava Bizyayev
From: Scott Alexander [EMAIL PROTECTED] To: Slava Bizyayev [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:31 AM Subject: Re: Missing html code using dynagzip Okay now it works! So problem was in my httpd.conf file. Now I only have Directory /usr/local/systems/work/

USE_ENVIRON_ARRAY

2003-06-03 Thread Beau E. Cox
Hi - I'm working on an embedding project, and using mod_perl as a tutorial (OK, I'm sometimes blatantly stealing code :)). My tests on a WIN32 box (Win2K) are somewhat flaky. Linux is solid. A grep of mod perl source on WIN32 led me to so pretty strange environment array spoofing based upon

ANNOUNCE: CGI::Application 3.1

2003-06-03 Thread Jesse Erlbaum
Version 3.1 of CGI::Application is now available via CPAN! Download site for CGI::Application: http://search.cpan.org/dist/CGI-Application/ CHANGES SINCE VERSION 3.0: - Changed dump_html default run-mode to be referenced by name instead of sub-ref. This allows dump_html() to be

Problem with a custom response handler and mod_perl 2

2003-06-03 Thread Alejandro Galue
Hello, I'm using redhat 8.0 (mod_perl-1.99_05-3, httpd-2.0.40-11.3). I created a custom handler for http responses, and I get this error in httpd log: [Tue Jun 03 07:42:53 2003] [error] [client 127.0.0.1] Can't locate object method header_in via package Apache::RequestRec at

mod_perl and CGI.pm and version 1.x and hell

2003-06-03 Thread Henrique Pantarotto
Hello! after being a long time away (over 4 years since my last post on this list), I started again with some development with mod_perl for this company that I currently work for. I'm having some trouble with CGI.pm working with mod_perl2. I searched the mailing-list for this and I found many