Re: Apache2 Testing with AuthDBI 0.96 with SHA1/MD5 Patch

2005-06-23 Thread Philip M. Gollucci
Frank Wiles wrote: Philip (or anyone): Can you send me your startup.pl you are using with mod_perl2? As requested: httpd.conf mod_perl.conf startup.pl are available here along with the 0.96 Apache::DBI http://p6m7g8.net/Apache-DBI Let me know if I can help more. -- END -

Re: Switch and mod_perl

2005-06-23 Thread Dorian Taylor
On Thu, Jun 23, 2005 at 03:19:22PM -0400, Perrin Harkins wrote: > On Thu, 2005-06-23 at 10:46 +0200, Jan Eden wrote: > > could it be that mod_perl doesn't play nice with the Switch module? > > Isn't it a source filter? Those don't work with mod_perl. > > You probably shouldn't use Switch for any

Re: [UPGRADE]: Apache::DBI 0.96 for mod_perl 2.0 RC5

2005-06-23 Thread Dan Sully
* Philip M. Gollucci shaped the electrons to say... http://p6m7g8.net/Apache-DBI-0.96.tar.gz was supposed to be http://p6m7g8.net/Apache-DBI/Apache-DBI-0.96.tar.gz I symlinked it in my site so both should be valid now. Ask - Can this version be released to CPAN? Apache::DBI as shipped from

Re: [mp2] Small "bug" / feature request / documentation in make test needed

2005-06-23 Thread Brian Huxtable
Kevin A. McGrail wrote: still waiting for server to warm up: . the server is down, giving up after 121 secs [ error] failed to start server! (please examine t/logs/error_log)

Re: Apache2 Testing with AuthDBI 0.96 with SHA1/MD5 Patch

2005-06-23 Thread Frank Wiles
On Thu, 23 Jun 2005 18:40:19 -0400 "Kevin A. McGrail" <[EMAIL PROTECTED]> wrote: > Evening: > > I'm trying to testing AuthDBI for both mp1 and mp2 and I'm having poor > luck trying to test this with mp2. > > Philip (or anyone): Can you send me your startup.pl you are using with > mod_perl2? > >

Re: Apache::DBI and mod_perl

2005-06-23 Thread Philippe M. Chiasson
Perrin Harkins wrote: > On Thu, 2005-06-23 at 11:29 +0200, Jan Eden wrote: > >>Everything works - but how can I know if Apache::DBI really keeps my >>database connection alive? > > Turn on the debugging for Apache::DBI and check your error_log. See the > Apache::DBI docs for instructions. Alter

Apache2 Testing with AuthDBI 0.96 with SHA1/MD5 Patch

2005-06-23 Thread Kevin A. McGrail
Evening: I'm trying to testing AuthDBI for both mp1 and mp2 and I'm having poor luck trying to test this with mp2. Philip (or anyone): Can you send me your startup.pl you are using with mod_perl2? Currently, I am getting: [Thu Jun 23 18:27:11 2005] [error] [client 10.10.10.204] Can't locate obj

Re: [mp2] Small "bug" / feature request / documentation in make test needed

2005-06-23 Thread Kevin A. McGrail
I didn't include the logs because they were pretty pointless towards the actual situation but I've included relevant sections below this time. What happened is: Had Apache1 running on 80 Ran make test. Test Failed on "still waiting for server to warm up:

Re: [mp2] Small "bug" / feature request / documentation in make test needed

2005-06-23 Thread Geoffrey Young
Kevin A. McGrail wrote: > Wow, mod perl 2.0.1's make test is slick! That way it runs httpd with a > configuration for testing is very cool. that would be because of Apache-Test, available to you from your local CPAN mirror for your personal use as well. > The bad part is that it just ran > a

[mp2] Small "bug" / feature request / documentation in make test needed

2005-06-23 Thread Kevin A. McGrail
Wow, mod perl 2.0.1's make test is slick! That way it runs httpd with a configuration for testing is very cool. The bad part is that it just ran and didn't check if something else is bound on port 80. Adding a check for that would be good and adding a make test port=81 or something would be grea

Re: Apache2::Reload weird stuff

2005-06-23 Thread Perrin Harkins
On Thu, 2005-06-23 at 03:10 +, Ben Duncan wrote: > I've also modified all the scripts that use the module to call it > like: > > use Atmail::Config; > > to: > > require Atmail::Config; Atmail::Config->import(); I don't think reloading will work well with exports. It seems likely to screw u

Re: Switch and mod_perl

2005-06-23 Thread Perrin Harkins
On Thu, 2005-06-23 at 10:46 +0200, Jan Eden wrote: > could it be that mod_perl doesn't play nice with the Switch module? Isn't it a source filter? Those don't work with mod_perl. You probably shouldn't use Switch for anything serious. Even Damian says so. - Perrin

Re: Apache::DBI and mod_perl

2005-06-23 Thread Perrin Harkins
On Thu, 2005-06-23 at 11:29 +0200, Jan Eden wrote: > Everything works - but how can I know if Apache::DBI really keeps my > database connection alive? Turn on the debugging for Apache::DBI and check your error_log. See the Apache::DBI docs for instructions. - Perrin

Re: APR::* confusion in setting and retrieving cookies through libapreq2

2005-06-23 Thread Gokul P. Nair
Thanks for the response Malcom. This is what i have: my $req = $r->pool(); my $cookie = APR::Request::Cookie->new ($req, name => "test", value => { product_id => $product_id, qty => $qty }, path => '/', domain => "192.168.1.155",

Re: APR::* confusion in setting and retrieving cookies through libapreq2

2005-06-23 Thread Malcolm J Harwood
On Thursday 23 June 2005 12:29 pm, Gokul P. Nair wrote: > Also $req needs to be an object of type APR::Pool and > in the documentation for APR::Pool it is suggested > that it is good to use a request pool for these short > scoped requests. So would $req be created like this ? > $req = APR::Request

APR::* confusion in setting and retrieving cookies through libapreq2

2005-06-23 Thread Gokul P. Nair
Hello, I'm trying two simple functions i.e. to set a cookie and retrieve it. I'm using Apache2, mod_perl2 & libapreq2-2.05 to do this. I read in the libapreq2 mail archives that using APR::* is recommended over the Apache2::Cookie modules and that there was debate over dumping the Apache2::* mod

Re: [mp2] A better way to set the Expire header

2005-06-23 Thread Geoffrey Young
Foo Ji-Haw wrote: > Hello Perrin, > > Thanks for the tip. I am just surprised that setting dynamic pages to > expire immdiately is not a common line in the code for developers. $r->no_cache(1); > Don't > we want them (pages) to expire immediately, instead of worrying whether > the browser wil

Re: Apache::DBI and mod_perl

2005-06-23 Thread Sean Davis
On Jun 23, 2005, at 5:29 AM, Jan Eden wrote: Hi, please accept my apologies for spamming this list - I need to get mod_perl up and running quickly and will be more quiet in the future. The README of Apache::DBI tells me to configure mod_perl using perl Makefile.PL PERL_CHILD_INIT=1 PERL_

Apache::DBI and mod_perl

2005-06-23 Thread Jan Eden
Hi, please accept my apologies for spamming this list - I need to get mod_perl up and running quickly and will be more quiet in the future. The README of Apache::DBI tells me to configure mod_perl using perl Makefile.PL PERL_CHILD_INIT=1 PERL_AUTHEN=1 PERL_AUTHZ=1 PERL_CLE

Re: mod_perl configuration trouble

2005-06-23 Thread Jan Eden
Geoffrey Young wrote on 22.06.2005: > >>But this does not solve my real problem, i.e. that the modules are >>not found when running my scripts. >> >>[Wed Jun 22 18:04:12 2005] [error] Can't locate Apache/RequestRec.pm > >you initially said you were using mod_perl 2.0.1. if that's true >it's Apach

Switch and mod_perl

2005-06-23 Thread Jan Eden
Hi again, could it be that mod_perl doesn't play nice with the Switch module? When executing my script as cgi, it works, but with mod_perl, I get: String found where operator expected at /Users/jan/Sites/janeden/perl/edit.pl line 81, near "case 'Absenden'" (Do you need to predeclare cas

Apache2::Reload weird stuff

2005-06-23 Thread Ben Duncan
Hello! We write an application called "@Mail" - http://atmail.com/ - Which is written in Perl and configured to use mod-perl However, with the latest Fedora-core 4 with Apache2::Reload, we cannot get our application running under mod-perl to correctly detect/refresh a Config.pm file that cont