Re: [QUESTION] Modperl setup problem.

2004-05-24 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I see what you mean. I didn't add that into the httpd.conf file because I didn't think I was using registry scripts. Is a required modification for Modperl 2? It's required for any mod_perl generation. Though in mod_perl 1 it's called Apache::Registry. In mod_perl 2, M

Re: Turning off modperl in specific directories

2004-05-24 Thread Tom Schindl
Hi, have either set a ScriptAlias like ---8<--- ScriptAlias /cgi-bin/ "/var/www/main/sub/cgi-bin/" ---8<--- or an AddHandler ---8<--- AddHandler cgi-script .cgi ---8<--- s

Re: Forking and Database Handles

2004-05-24 Thread William McCabe
On 5/24/04 at 2:38 PM, [EMAIL PROTECTED] (Matt Christian) wrote: > Because most of the errors I get are database-flavored, I'm thinking > that the issue has to do with sharing the database handle across the > fork. Have you tried not sharing them? I mean, if you're already expecting a long runn

RE: [QUESTION] Modperl setup problem.

2004-05-24 Thread zmfeuerborn
I see what you mean. I didn't add that into the httpd.conf file because I didn't think I was using registry scripts. Is a required modification for Modperl 2? When adding the Registry script section to httpd.conf, should 'Alias /perl/ /home/httpd/httpd-2.0/perl/' point to the perl installation o

Re: [mp2] 1.99_14: socket problem

2004-05-24 Thread Stas Bekman
Jie Gao wrote: On Mon, 24 May 2004, Stas Bekman wrote: Date: Mon, 24 May 2004 10:18:22 -0700 From: Stas Bekman <[EMAIL PROTECTED]> To: Jie Gao <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: [mp2] 1.99_14: socket problem Jie Gao wrote: Hi All, This used to work: $socket->recv($line, 34)

Re: [mp2] 1.99_14: socket problem

2004-05-24 Thread Jie Gao
On Mon, 24 May 2004, Stas Bekman wrote: > Date: Mon, 24 May 2004 10:18:22 -0700 > From: Stas Bekman <[EMAIL PROTECTED]> > To: Jie Gao <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [mp2] 1.99_14: socket problem > > Jie Gao wrote: > > Hi All, > > > > This used to work: > > > > $s

Re: [QUESTION] Modperl setup problem.

2004-05-24 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I apologize if this the wrong area for the question. I figured this was more a problem with my configuration than an actual bug. What do you mean by registry handler? I'm still new to Apache. Thanks, I mean ModPerl::Registry handler: http://perl.apache.org/docs/2.0/user/

RE: [QUESTION] Modperl setup problem.

2004-05-24 Thread zmfeuerborn
I apologize if this the wrong area for the question. I figured this was more a problem with my configuration than an actual bug. What do you mean by registry handler? I'm still new to Apache. Thanks, Zac -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Monday, May

Re: [QUESTION] Modperl setup problem.

2004-05-24 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Hello all, I'm having a problem with Modperl (1.99_12) and am hoping someone can help. I'm running Apache 2.0.48 on a Slackware 9.1 box, and it is serving up HTML and PHP pages correctly. However, I'm trying to get Perl working through the server as well, and have not had

Re: Forking and Database Handles

2004-05-24 Thread Perrin Harkins
On Mon, 2004-05-24 at 15:38, Matt Christian wrote: > Because most of the errors I get are database-flavored, I'm thinking > that the issue has to do with sharing the database handle across the > fork. Yes, in general you shouldn't do that. > The DBI documentation says that setting InactiveDestr

Re: [ANNOUNCE] mod_perl-1.99_14

2004-05-24 Thread Stas Bekman
Stefan Loones wrote: Stas Bekman wrote: Stuart Jansen wrote: On Fri, 2004-05-21 at 12:42, Geoffrey Young wrote: http://perl.apache.org/~geoff/mod_perl-1.99_14.tar.gz and is also available from: http://apache.org/dist/perl/mod_perl-1.99_14.tar.gz http://apache.org/dist/perl/mod_perl-1.99_14

[QUESTION] Modperl setup problem.

2004-05-24 Thread zmfeuerborn
Title: [QUESTION] Modperl setup problem. Hello all, I'm having a problem with Modperl (1.99_12) and am hoping someone can help. I'm running Apache 2.0.48 on a Slackware 9.1 box, and it is serving up HTML and PHP pages correctly. However, I'm trying to get Perl working through the server as

Forking and Database Handles

2004-05-24 Thread Matt Christian
Greetings, First things first: I'm running mod_perl 1.29 with Apache 1.3 on FreeBSD 5.1. I have been developing a mod_perl application (showing a "We're processing your request" page while running a lengthy database query) that requires forking. I've read through the mod_perl forking docs and

Re: Turning off modperl in specific directories

2004-05-24 Thread Drew Taylor
I believe you want "cgi-script" instead of "default-handler". Drew Chad Arimura wrote: Thanks Stas. That makes sense, but when I set the handler to default-handler, running the cgi in a browser just displays the code of the script on the screen... do you know what I'm missing? chad -Original

Re: [ANNOUNCE] mod_perl-1.99_14

2004-05-24 Thread Stefan Loones
Stas Bekman wrote: Stuart Jansen wrote: On Fri, 2004-05-21 at 12:42, Geoffrey Young wrote: http://perl.apache.org/~geoff/mod_perl-1.99_14.tar.gz and is also available from: http://apache.org/dist/perl/mod_perl-1.99_14.tar.gz http://apache.org/dist/perl/mod_perl-1.99_14.tar.gz.asc (pgp sig)

Re: Turning off modperl in specific directories

2004-05-24 Thread Tom Schindl
Hi, have either set a ScriptAlias like ---8<--- ScriptAlias /cgi-bin/ "/var/www/main/sub/cgi-bin/" ---8<--- or an AddHandler ---8<--- AddHandler cgi-script .cgi ---8<--- s

Re: Turning off modperl in specific directories

2004-05-24 Thread Stas Bekman
Chad Arimura wrote: Thanks Stas. That makes sense, but when I set the handler to default-handler, running the cgi in a browser just displays the code of the script on the screen... do you know what I'm missing? http://perl.apache.org/docs/1.0/guide/config.html#Alias_Configurations chad -Origi

Re: [mp2] 1.99_14: socket problem

2004-05-24 Thread Stas Bekman
Jie Gao wrote: Hi All, This used to work: $socket->recv($line, 34); but the syntax has changed in 1.99_14, so I modified it to be: $line = $socket->recv(34); But I am getting this error: [error] APR::Socket::recv: Resource temporarily unavailable at ...pm line 117 OBAny other obvious c

RE: Turning off modperl in specific directories

2004-05-24 Thread Chad Arimura
Thanks Stas. That makes sense, but when I set the handler to default-handler, running the cgi in a browser just displays the code of the script on the screen... do you know what I'm missing? chad -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2

[mp2] 1.99_14: socket problem

2004-05-24 Thread Jie Gao
Hi All, This used to work: $socket->recv($line, 34); but the syntax has changed in 1.99_14, so I modified it to be: $line = $socket->recv(34); But I am getting this error: [error] APR::Socket::recv: Resource temporarily unavailable at ...pm line 117 OBAny other obvious changes i