apache::session::mysql: layout

2004-08-01 Thread Mark Copper
I created a table "sessions" in my db with columns "id" and "a_session" per the Apache::Session::Store::MySQL pod, in particular, "a_session" is of type text. Everything worked fine but I have a (rather silly) question: Why can't I see the key/value pairs when I simply "select a_session from sess

unreadable output after internal redirect

2009-08-20 Thread Mark Copper
Hi, I have a Mason dhandler that generates an HTML page containing a form. The action of the form is to get the same page that is displayed. If the URL contains a certain parameter, an internal redirect is issued: URL: mydomain.com/information/dhandler/variable.html?modification=update <%args>

Re: unreadable output after internal redirect

2009-08-21 Thread Mark Copper
On Thu, Aug 20, 2009 at 11:47:56PM -0700, Fred Moyer wrote: > On Thu, Aug 20, 2009 at 7:54 AM, Mark Copper > wrote: > > Hi, > > > > I have a Mason dhandler that generates an HTML page containing a form. > > The action of the form is to get the same page that is displ

intermittent segfaults, ssl?

2010-01-12 Thread Mark Copper
Hi, I have a server like this: Server Version: Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 I'm also using HTML::Mason I've been getting intermittent segfaults like this: child pid 10142 exit signal Segmentation fault (11)

Re: intermittent segfaults, ssl?

2010-01-13 Thread Mark Copper
Despite what I said, this seems to be CPAN bug 37027 or, in my case, Debian bug #520406 involving module DBD-mysql. Mark On Tue, Jan 12, 2010 at 12:24:17PM -0600, Mark Copper wrote: > Hi, > > I have a server like this: > Server Version: Apache/2.2.9 (Debian) mod_ssl/2.2.9 Op

Re: mod_perl-2.0.4 with Apache 2.2.9 and perl 5.10.0 intermittent crashing

2010-01-28 Thread Mark Copper
On Thu, Jan 28, 2010 at 04:30:04PM -0500, Pas Argenio wrote: >I resolved it, finally. Stupidly, we had created a symbolic link: >libmysqlclient.so.15 -> libmysqlclient.so.16.0.0 >(I guess our source build of mysql-5.1.32 only provides >libmysqlclient.so.16.0.0 but DBD-mysql

logging $! with $r->log_error

2010-12-11 Thread Mark Copper
Hi all, I stole this snippet years ago (and probably modified it improperly) only to learn yesterday it has a serious problem: unless(open MAIL, "| /usr/sbin/sendmail -t -i -F'...' -f'...''"){ $main::r->log_error("Couldn't open mail: $!"); return DECLINED; } namely this error: [Th

Apache2::SizeLimit for threaded MPM's

2010-12-30 Thread Mark Copper
removed, but I don't see anything about it in the CPAN module changes file. Thanks. Mark Copper

Re: Apache2::SizeLimit for threaded MPM's

2010-12-30 Thread Mark Copper
I should have searched the source file for that "die" command myself. Sorry for the noise; thanks for the gentle reply. MC On Thu, Dec 30, 2010 at 3:07 PM, Fred Moyer wrote: > On Thu, Dec 30, 2010 at 9:50 AM, Mark Copper wrote: >> >> Do the the Apache2::SizeLimit m

config? internal_redirect wants internal_re.al

2009-04-21 Thread Mark Copper
Hi, I'm getting the following error in response to a call to internal_redirect of Apache2::SubRequest: Can't locate auto/Apache2/Request/internal_re.al in @INC which, of course, it won't since, on my Debian Lenny system, /usr/lib/perl5/auto/Apache2 doesn't even have a Request subdirectory.

Re: config? internal_redirect wants internal_re.al

2009-04-22 Thread Mark Copper
Thank you. Adding "use Apache2::SubRequest ();" to my startup.pl solves the problem, and it explains the divergent behavior between the two virtual hosts. Mark On Wed, Apr 22, 2009 at 09:03:50AM -0400, Adam Prime wrote: > Mark Copper wrote: > >Hi, > > > >I&#