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
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
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
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
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
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)
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
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
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
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
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
[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
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
[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/
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
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)
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
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
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
[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
20 matches
Mail list logo