Re: mod_perl 1.99_13 - IO:Socket::INET works only once - other side d efunct thereafter

2004-01-11 Thread Perrin Harkins
On Sun, 2004-01-11 at 22:39, John DeBenedette wrote: > The following works flawlessly under CGI but when attempting under Registry > as module or PerlRun as script, it works once perfectly, then continues to > work with no discernable error but causes the listening server's accept() > process to go

Re: mod_perl 1.99_13 - IO:Socket::INET works only once - other si de d efunct thereafter

2004-01-11 Thread Stas Bekman
John DeBenedette wrote: correction of typo in my example at INET->new $dbpoolport s/b $poolport $dbhost s/b $host What would it take to paste the real minimal script that fails? It's full of problems. You have '>' in: $poolport, Proto => "tcp", Type => SOCK_STREAM) > or die "could not you don'

RE: mod_perl 1.99_13 - IO:Socket::INET works only once - other si de d efunct thereafter

2004-01-11 Thread John DeBenedette
correction of typo in my example at INET->new $dbpoolport s/b $poolport $dbhost s/b $host -Original Message- From: John DeBenedette [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 10:40 PM To: '[EMAIL PROTECTED]' Subject: mod_perl 1.99_13 - IO:Socket::INET works only once - other

mod_perl 1.99_13 - IO:Socket::INET works only once - other side d efunct thereafter

2004-01-11 Thread John DeBenedette
SERVER_SOFTWARE = "Apache/2.0.48 (Win32) mod_perl/1.99_13-dev Perl/v5.8.2 PHP/4.3.4 mod_ssl/2.0.48 OpenSSL/0.9.7c" The following works flawlessly under CGI but when attempting under Registry as module or PerlRun as script, it works once perfectly, then continues to work with no discernable error

Re: Modperl 2.0 Not finding correct *.conf

2004-01-11 Thread Stas Bekman
steve larson wrote: "mod_python.c" is not compatible with this version of Apache (found 20020628, need 20020903). Please contact the vendor for the correct version. Can you please do: % grep mod_python t/conf/httpd.conf and post the result here? [EMAIL PROTECTED] modperl-2.0]# grep mod_python

Modperl 2.0 Not finding correct *.conf

2004-01-11 Thread steve larson
Hello, Output desired embedded: --- Stas Bekman <[EMAIL PROTECTED]> wrote: > steve larson wrote: > > Hello, > > make test produced error, looking for > > /etc/httpd/*.conf > > it's a warning, not an error. It'd have died if it > was an error. I can see > where the problem is, I'll fix that s

Re: mod_perl + PHP not logging $r->user

2004-01-11 Thread Stuart Jansen
On Wed, 2004-01-07 at 20:06, Geoffrey Young wrote: > Stuart Jansen wrote: > > I'm using Apache 2.0.48, mod_perl 1.99_12, and Apache::AuthCookie to > > create a custom authentication scheme. I've noticed that while apache > > normally logs the $REMOTE_USER, it doesn't log it when accessing PHP > > p

Re: Modperl 2.0 Not finding correct *.conf

2004-01-11 Thread Stas Bekman
Stas Bekman wrote: steve larson wrote: Hello, make test produced error, looking for /etc/httpd/*.conf it's a warning, not an error. It'd have died if it was an error. I can see where the problem is, I'll fix that soonish. It's unrelated to the problem preventing you from running the test sui

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-11 Thread Jay R. Ashworth
On Sun, Jan 11, 2004 at 01:45:39PM -0800, Stas Bekman wrote: > Jay R. Ashworth wrote: > [...] > > If I weren't so busy trying to get WebGUI to run overtop it (the > > upgrade of mp2 didn't fix my problem), I'd observe that there are > > probably lots of other sysopens in the scaffold that ought to

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-11 Thread Stas Bekman
Jay R. Ashworth wrote: [...] If I weren't so busy trying to get WebGUI to run overtop it (the upgrade of mp2 didn't fix my problem), I'd observe that there are probably lots of other sysopens in the scaffold that ought to be checked for error handling... but a) I'd probably be encouraged to generat

Re: Modperl 2.0 Not finding correct *.conf

2004-01-11 Thread Stas Bekman
steve larson wrote: Hello, make test produced error, looking for /etc/httpd/*.conf it's a warning, not an error. It'd have died if it was an error. I can see where the problem is, I'll fix that soonish. It's unrelated to the problem preventing you from running the test suite. and also let us k

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-11 Thread Jay R. Ashworth
On Sun, Jan 11, 2004 at 12:36:33PM -0800, Stas Bekman wrote: > Jay R. Ashworth wrote: > > Thank ghod for tgrep. TMPDIR falls back to /tmp, and mine, probably > > because of a drive failure and subsequent unmounting, was 755 instead > > of 777; I presume that the comment above should actually be "t

Re: Run script for directory index

2004-01-11 Thread Stas Bekman
Chris Faust wrote: Hey All, I'm trying to have my MP2 script that displays HTML run when someone hits the docroot (http://www.mydomain.com).. It may be considered somewhat off-topic, but when using standard CGI I didn't have any problems doing this by just having: "DirectoryIndex /cgi-bin/index.cg

Re: [mp2) mp1.99_12 fails 9/18 in apache_file.t

2004-01-11 Thread Stas Bekman
Jay R. Ashworth wrote: On Sat, Jan 10, 2004 at 07:23:12PM -0500, Jay R. Ashworth wrote: On Sat, Jan 10, 2004 at 01:10:49PM -0800, Stas Bekman wrote: *** sysopen error: Permission denied at /usr/src/other/mod_perl-1.99_12/blib/l ib/Apache/compat.pm line 596. it fails to open the temp file and we

Re: Run script for directory index

2004-01-11 Thread Chris Faust
> > try changing > > SetHandler perl-script > to > AddHandler perl-script > > I had a similar problem and my understanding is that AddHandler won't clobber > any existing default handlers for things like images so that they will get > handled correctly. > > Michael Peters > Venzia