Re: Apache, PERL, Mod_Perl Install Issues

2005-08-25 Thread Philip M. Gollucci
Jonathan Steffan wrote: I had installed perl to /usr/local/lib/perl5/5.8.7 in a previous exercise. The main system perl is supposed to be 5.8.0. This issues seems to be lingering around from that install? I only removed the /usr/local/lib/perl5/5.8.7 and all related files I could find for perl

Re: Apache::Test not finding global config file

2005-08-25 Thread Philip M. Gollucci
William McKee wrote: I was able to get a trace from a failing case after using './Build && t/TEST'. Calling just 't/TEST' finds the config file correctly. So it appears that calling ./Build is where the trouble occurs for me (though I've never seen this behavior before). From the trace below, you

Re: Apache, PERL, Mod_Perl Install Issues

2005-08-25 Thread Jonathan Steffan
Philip M. Gollucci wrote: Jonathan Steffan wrote: no conflicting prior mod_perl version found - good. [ error] '/opt/httpd/bin/apxs -q INCLUDEDIR' failed: [ error] Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7 /usr/local/lib

Re: Apache::Test not finding global config file

2005-08-25 Thread Philip M. Gollucci
William McKee wrote: I was able to get a trace from a failing case after using './Build && t/TEST'. Calling just 't/TEST' finds the config file correctly. So it appears that calling ./Build is where the trouble occurs for me (though I've never seen this behavior before). From the trace below, you

Re: Apache, PERL, Mod_Perl Install Issues

2005-08-25 Thread Philip M. Gollucci
Jonathan Steffan wrote: no conflicting prior mod_perl version found - good. [ error] '/opt/httpd/bin/apxs -q INCLUDEDIR' failed: [ error] Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/i686-l

Re: Apache::Test not finding global config file

2005-08-25 Thread William McKee
I was able to get a trace from a failing case after using './Build && t/TEST'. Calling just 't/TEST' finds the config file correctly. So it appears that calling ./Build is where the trouble occurs for me (though I've never seen this behavior before). From the trace below, you can see that A::T thin

Apache, PERL, Mod_Perl Install Issues

2005-08-25 Thread Jonathan Steffan
Thanks everyone for all your help. I am still having issues. When installing to /opt everything works fine untill I go to install mod_perl. I am erroring out on the line... /opt/perl/bin/perl Makefile.PL MP_APXS=/opt/httpd/bin/apxs -fails with- Reading Makefile.PL args from @ARGV MP_APXS =

Best approach for allowing googlebot past the AuthCookie barrier (MP2)?

2005-08-25 Thread Barry Hoggard
I have a site where I want to let Google index the articles that are behind a login wall. I'm using AuthCookie (with MP2). I'm sure many people have solved this already. What is the best approach? I didn't find any info in the archives. -- Barry Hoggard Tristan Media LLC w: www.tristanme

Re: Apache::Test not finding global config file

2005-08-25 Thread William McKee
On Thu, Aug 25, 2005 at 04:04:13PM -0400, Philip M. Gollucci wrote: > >I've looked through the Apache::TestConfig.pm file to try to find where > >the problem may be but cannot figure out where that module obtains the > >configuration file or how to dump out the configuration file it is > >automatic

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Philip M. Gollucci
Philip M. Gollucci wrote: Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value => $value, -path => '/', ); $cookie->bake($r

Re: Apache::Test not finding global config file

2005-08-25 Thread Philip M. Gollucci
\William McKee wrote: I've looked through the Apache::TestConfig.pm file to try to find where the problem may be but cannot figure out where that module obtains the configuration file or how to dump out the configuration file it is automatically finding. ~/.apache-test/TestConfigData.pm, then @I

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Philip M. Gollucci
Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value => $value, -path => '/', ); $cookie->bake($r) > Apache/2.0.54 > mod_per

Apache::Test not finding global config file

2005-08-25 Thread William McKee
Hey folks, I'm having a bit of a struggle with Apache::Test on a Mandriva Linux 10.1 server. I'm using A::T v1.26 with Apache2.0.50 + mod_perl2.0.1. For some reason, the configuration process is not finding the global config file which causes my tests which are working under a Debian workstation t

mod_perl2 custom form handler and Motorola i530 phone

2005-08-25 Thread Rodger Castle
This is likely not a strictly mod_perl2 problem, but I'm not finding resolution elsewhere. I have written a custom form data submission parser for our site. Admittedly, not one of my wiser decisions, but it works .. until now. We have a customer trying to use a Motorola i530 phone with a portio

Re: maintaining shared memory size (was: Re:swampedwithconnection?)

2005-08-25 Thread Perrin Harkins
On Thu, 2005-08-25 at 17:46 +1000, Badai Aqrandista wrote: > To reduce memory consumption -> look for ways to do more things on compile > time Also avoid loading large things into memory all at once (e.g. slurping files), pass references instead of copies, use the disk more, etc. > To reduce CP

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Ted
Sorry if I posted to the wrong list, but to answer your question. Apache/2.0.54 mod_perl 2.01 libapreq2-2.06-dev Solaris 9 Jonathan Vanasco wrote: Which versions of : Apache mod_perl libapreq2 ? also, what os this might be better suited to the libapreq list - but that info is

Re: maintaining shared memory size (was: Re:swampedwithconnection?)

2005-08-25 Thread Badai Aqrandista
If the performance you get is not enough for you, look for the bottleneck. This could be running out of CPU, running out of memory, or contention for a shared resource like a database. Then you fix it, by changing code or buying hardware. I think I've got the point now: To reduce memory con

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread John ORourke
No solution but a work-around is to set the value to something and set -expires=>0, which should delete the cookie from the browser. Blank values are contrary to the RFC anyway so you probably shouldn't be trying to use them. cheers John Ted wrote: Blank value in cookie causes server to d