Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Foo Ji-Haw
Try: return Apache2::Const::OK; ;) Ronni wrote: I have spent many days now searching through the archives and although they are close to what I am seeing none are exactly like what I have. I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1 box. Apache 2 is a recent insta

Re: Apache::VMonitor and Apache::Scoreboard

2005-06-28 Thread Malcolm J Harwood
On Tuesday 28 June 2005 04:21 pm, Nielsen, Steve wrote: > I can get all 3 to compile. > > But a question on scoreboard: > > I have to explicitly add in the following INC paths to Makefile.PL so it > will compile: > > INC => '-I/usr/include/httpd -I/usr/include/apr-0 > > Is there a better to

Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Ronni
Philip! You already know this but you're a genius! It worked just as you said. I used the rm -rf commands to remove any reference to Apache2 in the perl directories then reinstalled mod_perl-2.0.1 and all is well - okay, so far. I have a TON to learn about how to use it but it works as prom

Re: t/report: 'make test' ERRORS on latest mod_perl HEAD on OSX 10.4.1

2005-06-28 Thread OpenMacNews
hi geoff, t/apache/content_length_header.t 273 11.11% 2 5 17 that test is known to fail on httpd 2.1. ... so, I committed a change that skips the test on 2.1 until I have the time to figure out what the right answer is from httpd's point of view. with your commit in r2022

RE: Apache::VMonitor and Apache::Scoreboard

2005-06-28 Thread Nielsen, Steve
I can get all 3 to compile. But a question on scoreboard: I have to explicitly add in the following INC paths to Makefile.PL so it will compile: INC => '-I/usr/include/httpd -I/usr/include/apr-0 Is there a better to do this (without having to apply this change)? Steve -Original

Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Stas Bekman
folks, please truncate your followup messages to the necessary minimum. You don't realise how bad it is until you try to solve a problem by reading through a thread in the archive, which is 100 pages long, but most of it is a quoted stuff :( Thanks. --

Re: t/report: 'make test' ERRORS on latest mod_perl HEAD on OSX 10.4.1

2005-06-28 Thread Stas Bekman
Geoffrey Young wrote: [...] t/modules/proxy.t 255 65280 12 200.00% 1 I can't speak about that one. We had a few similar reports for Apache 2.1... -- __ Stas BekmanJAm_pH --> Just Another

RE: Apache::VMonitor and Apache::Scoreboard

2005-06-28 Thread Nielsen, Steve
Thanks I will check these out! Steve -Original Message- From: Malcolm J Harwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 2:06 PM To: modperl@perl.apache.org Subject: Re: Apache::VMonitor and Apache::Scoreboard On Tuesday 28 June 2005 02:59 pm, Nielsen, Steve wrote: > Apac

Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Philip M. Gollucci
Ronni wrote: Philip M. Gollucci wrote: Ronni wrote: I have spent many days now searching through the archives and although they are close to what I am seeing none are exactly like what I have. I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1 box. Apache 2 is a rec

Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Ronni
Philip M. Gollucci wrote: Ronni wrote: I have spent many days now searching through the archives and although they are close to what I am seeing none are exactly like what I have. I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1 box. Apache 2 is a recent install and

Re: t/report: 'make test' ERRORS on latest mod_perl HEAD on OSX 10.4.1

2005-06-28 Thread Geoffrey Young
> t/apache/content_length_header.t 273 11.11% 2 5 17 that test is known to fail on httpd 2.1. as an FYI the t/apache directory contains tests that we use to monitor the behavior of Apache proper in areas that interest us. way back we took the time to trace how httpd 2.0 hand

Re: Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Philip M. Gollucci
Ronni wrote: I have spent many days now searching through the archives and although they are close to what I am seeing none are exactly like what I have. I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1 box. Apache 2 is a recent install and ModPerl 2 is something I would

Bareword "Apache::OK" not allowed while "strict subs" in use

2005-06-28 Thread Ronni
I have spent many days now searching through the archives and although they are close to what I am seeing none are exactly like what I have. I am using Apache 2 and installing ModPerl 2 on a Linux Mandrake 10.1 box. Apache 2 is a recent install and ModPerl 2 is something I would like to get w

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

2005-06-28 Thread Geoffrey Young
Michael Peters wrote: > 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::Co

Re: Apache::VMonitor and Apache::Scoreboard

2005-06-28 Thread Malcolm J Harwood
On Tuesday 28 June 2005 02:59 pm, Nielsen, Steve wrote: > Apache::VMonitor and Apache::Scoreboard do not want to compile cleanly > under mod_perl 2.0.1. Did you try the release candidates? http://www.liminalflux.net/perl/Apache-Scoreboard-2.08-RC1.tar.gz http://www.liminalflux.net/perl/Apache-

Apache::VMonitor and Apache::Scoreboard

2005-06-28 Thread Nielsen, Steve
Apache::VMonitor and Apache::Scoreboard do not want to compile cleanly under mod_perl 2.0.1. I am running: Centos 4.0 (really Redhat Enterprise Linux 4.0) with the following: httpd-2.0.52-9.ent.centos4.1 perl-5.8.5-12.1 mod_perl-2.0.1-1 Just curious if there are

Re: t/report: 'make test' ERRORS on latest mod_perl HEAD on OSX 10.4.1

2005-06-28 Thread OpenMacNews
hi stas, Richard, please take a look at: http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures and resend the report the way it's suggested in this section. Thanks. ah. got it, sorry. here you go ... Failed Test Stat Wstat Total Fail Failed List

Re: ModPerl 2.0.0 RC5: Not starting httpd in make test

2005-06-28 Thread Stas Bekman
ODELL, TODD E (SWBT) wrote: Geoff, If I run the normal apachectl start as nobody I'm able to start the httpd. When I run the exact command below it seems to fail. It shows this: [Tue Jun 14 08:45:50 2005] [info] 6 Apache2:: modules loaded [Tue Jun 14 08:45:50 2005] [info] 0 APR:: modules loade

Re: t/report: 'make test' ERRORS on latest mod_perl HEAD on OSX 10.4.1

2005-06-28 Thread Stas Bekman
OpenMacNews wrote: hi all, configure, make & install are all look generally pretty clean, but 'make test' shows some errors. here's the report; happy to help. Richard, please take a look at: http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures and resend the report th

Re: how to run a startup script once (redux)

2005-06-28 Thread Stas Bekman
http://perl.apache.org/docs/2.0/user/handlers/server.html#Dealing_with_Restarts -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL

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

2005-06-28 Thread Stas Bekman
Michael Peters wrote: 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 e

r->get_basic_auth_pw(...)

2005-06-28 Thread raja agireddy
Hello, I have implemented modperl2.0, Apache2.0 and AuthenSmb0.72. I have modified AuthenSmb to include timeout conditions. Everthing works fine, with an exception. When the user logs in first does any wrong thing with the password and user entry the r->get_basic_auth_pw(...) returns 01. After th

Re: Declaring variables in a required script

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Schindl schrieb: | Bram x schrieb: | |> From: Tom Schindl <[EMAIL PROTECTED]> [...] | | en.pl: | --8<-- | package i18n::pl; ~^^^ Should be en. | | my %vars = ( lang => 'nl' ); | |

Re: Declaring variables in a required script

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bram x schrieb: |> From: Tom Schindl <[EMAIL PROTECTED]> |> |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |> You should learn how perl works. I suppose you are running the script as |> an Apache::Reqistry but you miss the version. |> |> You p

Re: Declaring variables in a required script

2005-06-28 Thread Bram x
From: Tom Schindl <[EMAIL PROTECTED]> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should learn how perl works. I suppose you are running the script as an Apache::Reqistry but you miss the version. You problem is that if en.pl is loaded using require in a process is will not be reloaded on

RE: Declaring variables in a required script

2005-06-28 Thread Bram x
From: "Frank Maas" <[EMAIL PROTECTED]> Bram, 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 mod_perl (and not only using a mod_perl enabled httpd

Re: how to trap connection reset/abort in Apache::Filter?

2005-06-28 Thread Stas Bekman
Jeff Ambrosino wrote: > Stas, just a quick "closure"... the patch has survived several ScanAlert > scans without any aborted httpd children. This was the original way I > discovered the problem (www.scanalert.com - they periodically throw > all sorts of weird hack/exploit traffic at our server a

Re: how to trap connection reset/abort in Apache::Filter?

2005-06-28 Thread Stas Bekman
Jeff Ambrosino wrote: > Stas, just a quick "closure"... the patch has survived several ScanAlert > scans without any aborted httpd children. This was the original way I > discovered the problem (www.scanalert.com - they periodically throw > all sorts of weird hack/exploit traffic at our server a

Re: Apache/1.3.33 (Unix) mod_perl/1.29 on Red Hat Linux release 7.3 (Valhalla) causes segmentation fault (11)

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seiji T schrieb: | I am trying to get mod_perl to work /w apache w/o success. Is there | any one who can tell me what I am doing wrong? | | - Apache/1.3.33 (Unix) mod_perl/1.29 on Red Hat Linux release 7.3 (Valhalla) | - mod_perl is compiled w/o D

Re: Declaring variables in a required script

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should learn how perl works. I suppose you are running the script as an Apache::Reqistry but you miss the version. You problem is that if en.pl is loaded using require in a process is will not be reloaded once more hence you lines of code won't b

Re: Apache/1.3.33 (Unix) mod_perl/1.29 on Red Hat Linux release 7.3 (Valhalla) causes segmentation fault (11)

2005-06-28 Thread Seiji T
Hi. I am still trying to get this thing to work. I've followed the suggestion (Message-ID: <[EMAIL PROTECTED]>) from another thread about setting the LANG and LC_ALL to C, recompiled perl and mod_perl/apache. This time, I changed my perl version from 5.8.6 to 5.8.7 . Still doesn't help. I've done