Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Douglas Riordan
On 6/27/05, Vincent Moneymaker <[EMAIL PROTECTED]> wrote: > > Douglas Riordan wrote: > > >On 6/27/05, Vincent Moneymaker <[EMAIL PROTECTED]> wrote: > > Douglas Riordan wrote: > > >On 6/27/05, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > > > Douglas Riordan wrote: > > > > > > >from Apache2::Con

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Vincent Moneymaker
Douglas Riordan wrote: >On 6/27/05, Vincent Moneymaker <[EMAIL PROTECTED]> wrote: > Douglas Riordan wrote: > >On 6/27/05, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > > Douglas Riordan wrote: > > > > >from Apache2::Const's perldoc > > >use Apache2::Const qw(OK); > > >compiles imports the OK co

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Douglas Riordan
On 6/27/05, Vincent Moneymaker <[EMAIL PROTECTED]> wrote: > Douglas Riordan wrote: > >On 6/27/05, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > > Douglas Riordan wrote: > > > > >from Apache2::Const's perldoc > > >use Apache2::Const qw(OK); > > >compiles imports the OK constant. > > > > > >use Apa

RE: Declaring variables in a required script

2005-06-27 Thread Frank Maas
Bram, > I'm sorry if this question has already been answered, but I couldn't > find the answer. It looks very much as if you are not using mod_perl. Your code does not contain handlers gives that away. So your problem is most likely not going to be solved on this list. If you are really using mo

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Vincent Moneymaker
Douglas Riordan wrote: >On 6/27/05, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > Douglas Riordan wrote: > > >from Apache2::Const's perldoc > >use Apache2::Const qw(OK); > >compiles imports the OK constant. > > > >use Apache2::Const -compile => qw(OK); > >only compiles the OK constant in which ca

Re: module requires either Apache::Foo or Apache2::Foo

2005-06-27 Thread Scott Gifford
I don't have an answer for your original question, but... Michael Peters <[EMAIL PROTECTED]> writes: [...] > As a side note, I know I can split it up into 2 different distributions > using the 'Apache' and 'Apache2' names, but I really don't want to do > that since 99% or the modules code is the

module requires either Apache::Foo or Apache2::Foo

2005-06-27 Thread Michael Peters
Hello all, I have a module that can be run either under mod_perl 1 and 2. This works great when running and testing using Apache-Test, but the bit I'm having problems with is the install. For it to run properly it needs either Apache::Constants or Apache2::Const. This is easy enough to figure out

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Douglas Riordan
On 6/27/05, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > Douglas Riordan wrote: > > >from Apache2::Const's perldoc > >use Apache2::Const qw(OK); > >compiles imports the OK constant. > > > >use Apache2::Const -compile => qw(OK); > >only compiles the OK constant in which case i would have to use

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Philip M. Gollucci
Douglas Riordan wrote: from Apache2::Const's perldoc use Apache2::Const qw(OK); compiles imports the OK constant. use Apache2::Const -compile => qw(OK); only compiles the OK constant in which case i would have to use return Apache2::Const::OK I agree with the perldoc. Whats this coming fro

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Douglas Riordan
On 6/27/05, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > Douglas Riordan wrote: > > >greetings, > > > >so i was trying to get a small mp2 method handler working: > > > >package My; > >use strict; > >use warnings; > > > >use base qw(Base); > >use Apache2::RequestRec(); > >use Apache2::RequestIO(

Re: [mp2] apache2::reload causing segfault?

2005-06-27 Thread Philip M. Gollucci
Douglas Riordan wrote: greetings, so i was trying to get a small mp2 method handler working: package My; use strict; use warnings; use base qw(Base); use Apache2::RequestRec(); use Apache2::RequestIO(); use Apache2::Const qw(OK); sub handler : method { my ($self, $r) = @_; $r->content_typ

[mp2] apache2::reload causing segfault?

2005-06-27 Thread Douglas Riordan
greetings, so i was trying to get a small mp2 method handler working: package My; use strict; use warnings; use base qw(Base); use Apache2::RequestRec(); use Apache2::RequestIO(); use Apache2::Const qw(OK); sub handler : method { my ($self, $r) = @_; $r->content_type("text/plain"); $r->

Declaring variables in a required script

2005-06-27 Thread x x
I'm sorry if this question has already been answered, but I couldn't find the answer. Here is my problem. I have a script that looks like this: #!/usr/local/bin/perl -Tw use strict; use CGI; my $q = new CGI; my $var = $q->param("var"); $var =~ m/(.*)/; #just to don't get any tainted errors, d

mod_perl, php, mason segmentation fault

2005-06-27 Thread jiesheng zhang
Hi, My system is as this Apache/1.3.33 (Darwin) PHP/4.3.11 mod_perl/1.26. The system worked fine until I installed mason script on it recently. When I tried to browse a page backed up by mason script, I get an empty page and the apache error log has this message "[Mon Jun 27 06:24:35 2005] [noti

Re: [mp2] can't make or make test mod_perl 2.0.1 for cygwin 1.5.17

2005-06-27 Thread Douglas Riordan
On 6/27/05, Nick *** <[EMAIL PROTECTED]> wrote: > >hello all, > > > >i've been trying to work through installing apache 2.0.54 + mp 2.0.1 > >over the weekend for cygwin 1.5.17- and it's been kinda bumpy. any > >help would be appreciated. it doesn't appear apache2 + mp2 installs > >are common for cy

Re: [mp2] can't make or make test mod_perl 2.0.1 for cygwin 1.5.17

2005-06-27 Thread Nick ***
>hello all, > >i've been trying to work through installing apache 2.0.54 + mp 2.0.1 >over the weekend for cygwin 1.5.17- and it's been kinda bumpy. any >help would be appreciated. it doesn't appear apache2 + mp2 installs >are common for cygwin (or if they are they go quite smoothly because >digging

Re: BerkeleyDB as a cache backend

2005-06-27 Thread Dan Wilga
At 6:09 PM -0400 6/24/05, Arshavir Grigorian wrote: Hello list, I coded a caching system using BerkeleyDB::Hash as the backend. It was working fine until the database file became fairly large (850M). At some point the performance degraded and the web server process accessing the database start

Re: BerkeleyDB as a cache backend

2005-06-27 Thread Frank Wiles
On Fri, 24 Jun 2005 18:09:16 -0400 Arshavir Grigorian <[EMAIL PROTECTED]> wrote: > Hello list, > > I coded a caching system using BerkeleyDB::Hash as the backend. It was > > working fine until the database file became fairly large (850M). > At some point the performance degraded and the web serv