-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 =
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
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 =
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
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
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',
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
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
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
- 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;
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
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
- 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
--
mod_perl digest
May 19, 2003 - June 1, 2003
--
Recent happenings in the mod_perl world...
Features
o
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
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
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
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
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
[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
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
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
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
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
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
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
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
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 --
[
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...
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
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
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
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
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
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/
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
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
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
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
39 matches
Mail list logo