Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-18 Thread Helmut Zeilinger
Hi, --On Tuesday, March 09, 2004 00:18:22 -0800 Stas Bekman <[EMAIL PROTECTED]> wrote: .. >> >> on Linux 2.4.22/Apache 2.48/Perl 5.9.0 the compilation of mp 1.99_13 >> failed (see below). >> >> Is it because of Perl version 5.9.0? Must i downgrade to Perl 5.8.x >> again? > > It's because you ha

Re: Groups, Multiple Domains, and AuthenSmb

2004-03-18 Thread Carlos Ramirez
Oops, I sent the wrong diff. I also updated the module on my site. http://www.quantumfx.com/software/modules/Apache-AuthenSmb.pm -Carlos Carlos Ramirez wrote: Included is the diff of the current 0.71 version the my mods. The mods include the following mods: * Allows user to use Domain\Username

Re: Apache::Session maintainership

2004-03-18 Thread Ask Bjørn Hansen
On Feb 26, 2004, at 12:29 PM, Jeffrey W. Baker wrote: SourceForget is truly terrible and I would not burden the users with the horror of having to use it. We'd be happy to host a SCM repository for Apache::Session over at perl.org. Either in CVS, like http://cvs.perl.org/viewcvs/modules/ or in

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Stas Bekman
Ged Haywood wrote: Hi Stas, On Thu, 18 Mar 2004, Stas Bekman wrote: FWIW, EVERYTHING=1 has nothing to do with Apache. I was just looking at this in mod_perl-1.27/Makefile.PL: if($EVERYTHING) { @callback_hooks{qw(PERL_STACKED_HANDLERS PERL_METHOD_HANDLERS)} = (1) x 2; for(qw(ALL_HOOKS

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ged Haywood
Hi Stas, On Thu, 18 Mar 2004, Stas Bekman wrote: > FWIW, EVERYTHING=1 has nothing to do with Apache. I was just looking at this in mod_perl-1.27/Makefile.PL: if($EVERYTHING) { @callback_hooks{qw(PERL_STACKED_HANDLERS PERL_METHOD_HANDLERS)} = (1) x 2; for(qw(ALL_HOOKS PERL_SSI PERL_SECTI

Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Stas Bekman
Marc Brooks wrote: Hello ALL, Not sure if this is possible.. So here I go.. I have a set of .pm's and .cgi scripts that are within each Virtual Host. Example: /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> http://domain1.com/community/login.cgi /home/domain2.com/com

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Stas Bekman
Ged Haywood wrote: Hi there, On Thu, 18 Mar 2004, Michael wrote: _actions_module _include_module _log_config_module I think there's stuff in apache's src/modules/standard directory which isn't being compiled. You could check if/why things in there aren't built, or maybe wipe the directory tre

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Michael wrote: > _actions_module > _include_module > _log_config_module I think there's stuff in apache's src/modules/standard directory which isn't being compiled. You could check if/why things in there aren't built, or maybe wipe the directory trees and try agai

Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Skylos the Doggie
You probably need to store the config data in a singleton class type thing and make sure its passed to your subroutines, rather than depending on it being existant in the compile-time environment... If you do a search in the archives of this list for 'singleton' you should find examples and furthe

Re: Virtual Hosts and shared Modules

2004-03-18 Thread William McKee
On Thu, Mar 18, 2004 at 12:27:19PM -0800, Marc Brooks wrote: > Any suggestions or easy ways to resolve this? In addition to Ged's suggestion, I'd also recommend reading the following: http://perl.apache.org/docs/1.0/guide/porting.html#Sometimes_it_Works__Sometimes_it_Doesn_t HTH, William -- K

Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Marc Brooks wrote: > /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> > http://domain1.com/community/login.cgi > /home/domain2.com/community/Community/Toolkit.pm -- Methods accessed by--> > http://domain2.com/community/login.cgi > /home/d

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Stas Bekman
Michael wrote: So i reran ranlib and configure and make as told in the instructions on mod_perl website. I continue to get: ld: warning -L: directory name (../modules/php4) does not exist ld: warning -L: directory name (../../modules/php4) does not exist ld: warning prebinding disabled because de

REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Marc Brooks
Hello ALL, Not sure if this is possible.. So here I go.. I have a set of .pm's and .cgi scripts that are within each Virtual Host. Example: /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> http://domain1.com/community/login.cgi /home/domain2.com/community/Community/To

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
So i reran ranlib and configure and make as told in the instructions on mod_perl website. I continue to get: ld: warning -L: directory name (../modules/php4) does not exist ld: warning -L: directory name (../../modules/php4) does not exist ld: warning prebinding disabled because dependent library

Virtual Hosts and shared Modules

2004-03-18 Thread Marc Brooks
Hello ALL, Not sure if this is possible.. So here I go.. I have a set of .pm's that are within each Virtual Host. Example: /home/domain1.com/Community/Toolkit.pm -- Methods accessed by--> http://domain1.com/community/login.cgi /home/domain2.com/Community/Toolkit.pm -- Methods accessed by--> h

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ruslan U. Zakirov
Stas wrote: SB> Ruslan U. Zakirov wrote: >> Another thing about installation guide: >> http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php >> 1) Configure Apache. >> >> % cd apache_1.3.xx >> % ./configure --prefix=/usr/local/etc/httpd >> Why should I do this, I allways skip

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Stas Bekman
Michael wrote: Hello Ged, I copied all files to my ~ and repeated all setps. After make in point 4 i now get: ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache require

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Stas Bekman
Ged Haywood wrote: Hi there, On Thu, 18 Mar 2004, Michael wrote: I have problems compiling apache under mac os x. I had no problems without php but with php it doesn't work. Furthermore i need mod_rewrite. I consulted docs at perl.apache.org and the install-guide in practical mod_perl. What i di

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Stas Bekman
Ruslan U. Zakirov wrote: Another thing about installation guide: http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php 1) Configure Apache. % cd apache_1.3.xx % ./configure --prefix=/usr/local/etc/httpd Why should I do this, I allways skip this step and everything fine. I don'

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ruslan U. Zakirov
Another thing about installation guide: http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php 1) Configure Apache. % cd apache_1.3.xx % ./configure --prefix=/usr/local/etc/httpd Why should I do this, I allways skip this step and everything fine. I don't understand why I shoul

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
OK, just saw myself that i should have run ranlib. after that and another configure and make i get: ld: warning -L: directory name (../modules/php4) does not exist ld: warning -L: directory name (../../modules/php4) does not exist ld: warning prebinding disabled because dependent library: /usr/

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
Hello Ged, I copied all files to my ~ and repeated all setps. After make in point 4 i now get: ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Com

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Michael wrote: > I have problems compiling apache under mac os x. I had no problems > without php but with php it doesn't work. Furthermore i need > mod_rewrite. I consulted docs at perl.apache.org and the install-guide > in practical mod_perl. What i did starting i

RE: "MySQL server has gone away"

2004-03-18 Thread Andrew Green
On Thu, 18 Mar 2004 10:55:29 -0500, Chris Miller wrote: > Think I should up the max packet size?? I think by default it's 1MB, so maybe. I'm not sure of why the default is what it is, and what might break through changing it. In the system I was developing, I was trying to store a serialised P

apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
Hello, I have problems compiling apache under mac os x. I had no problems without php but with php it doesn't work. Furthermore i need mod_rewrite. I consulted docs at perl.apache.org and the install-guide in practical mod_perl. What i did starting in /usr/local/src: This is a simple installat

Re: "MySQL server has gone away"

2004-03-18 Thread Andrew Green
On Thu, 18 Mar 2004 11:03:42 -0500, Perrin Harkins wrote: > Are you using Apache::DBI? It should just reconnect automatically when > this happens. I didn't know that. Mind you, I shouldn't think the too-big record would have been written to the database, which could be a problem. Cheers, Andre

Re: "MySQL server has gone away"

2004-03-18 Thread Paul Lindner
One other thing. If you don't do a DBI->connect() during each and every http request Apache::DBI's ping method will not get called, which sets you up for these errors. I had some logic that short-circuited the Apache::DBI calls like this: $DBH ||= . and got bitten by the same error. On T

Re: "MySQL server has gone away"

2004-03-18 Thread Perrin Harkins
On Thu, 2004-03-18 at 10:23, Chris Miller wrote: > DBD::mysql::st execute failed: MySQL server has gone away at > /usr/local/lib/perl/5.6.1/Mysql.pm line 175. Are you using Apache::DBI? It should just reconnect automatically when this happens. - Perrin -- Report problems: http://perl.apache.o

RE: "MySQL server has gone away"

2004-03-18 Thread Chris Miller
Think I should up the max packet size?? Thanks, Chris Miller Compuville www.compuville.net -Original Message- From: Andrew Green [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 10:55 AM To: Chris Miller Cc: [EMAIL PROTECTED] Subject: Re: "MySQL server has gone away" On Thu,

Re: "MySQL server has gone away"

2004-03-18 Thread Andrew Green
On Thu, 18 Mar 2004 10:23:42 -0500, Chris Miller wrote: > DBD::mysql::st execute failed: MySQL server has gone away at > /usr/local/lib/perl/5.6.1/Mysql.pm line 175. I was bitten by this once when trying to write records to the MySQL server that were bigger than the server's configured maximum p

"MySQL server has gone away"

2004-03-18 Thread Chris Miller
I keep getting this error:   DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/lib/perl/5.6.1/Mysql.pm line 175.   I am using mod_perl 1.29, Apache 1.3.27 and MySQL 4.0.18. This happens about once every 2-3 days. To fix it, I just restart Apache. It is DEFINTLY an