Re: [MP2] 1.999024 fails on OS X

2005-05-17 Thread Stas Bekman
In any case, go ahead and commit your fix for now to get it working on OSX. we will figure out the special case posted by Dominique after 2.0.0 is released. No point to keep on postponing the release date. -- __ Stas Bekman

Re: [MP2] 1.999024 fails on OS X

2005-05-17 Thread Stas Bekman
Philippe M. Chiasson wrote: Stas Bekman wrote: Philippe M. Chiasson wrote: [...] After a long promised investigation session, I believe I have pinned it down. It seems to have been introduced by change r160562 when the anon_cnt initialization code was moved around as a result. Didn't have enough t

Re: Problems get DATA part from POST requests.

2005-05-17 Thread Willem Jan Withagen
Gerald Richter wrote: Hi, Which version of Perl and CGI.pm you are using? Hi Gerald, Both are relatively recent, since I'm using FreeBSD packages. And I've even used cpan to upgrade to the most recent CGI.pm Perl 5.8.6 $CGI::VERSION='3.10'; But opening up CGI.pm shows me also: # HARD-CODED LOCATION

Re: [MP2] 1.999024 fails on OS X

2005-05-17 Thread Philippe M. Chiasson
Stas Bekman wrote: > Philippe M. Chiasson wrote: > [...] > >> After a long promised investigation session, I believe I have pinned >> it down. It seems to have been introduced by change r160562 when the >> anon_cnt initialization code was moved around as a result. Didn't have >> enough time tonigh

RE: Problems get DATA part from POST requests.

2005-05-17 Thread Gerald Richter
Hi, Which version of Perl and CGI.pm you are using? Gerald --- Gerald Richterecos electronic communication services gmbh IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl Post: Tulpe

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> May be you aren't loading it, while you think that you do. Please observe: > > % perl -le 'use warnings; use strict; use Apache2::Const; \ > sub foo {return Apache2::Const::OK }' > > % perl -le 'use warnings; use strict; \ > sub foo {return Apache2::Const::OK }' > Bareword "Apache2::Const::OK"

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Stas Bekman
Grant wrote: [...] A weird thing: I'm getting those same bareword errors in error_log but I haven't even updated Interchange::Link yet. That module doesn't say "Apache2::Const:OK" anywhere in it and I'm still getting the same error. That means that you - either still have pre-mp2-RC5 Apache2/Cons

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> >>Try: > >> > >>perl -le 'use warnings; use strict; use Apache2::Const; print > >>Apache2::Const::OK' > >>0 > >> > >>Apache2::Const is one of the modules which will happily run from the > >>command line. > >> > >>Please CC me in your replies to the list so we won't have to wait for 8 > >>hours to

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Stas Bekman
Grant wrote: mp2bug says: CGI : 3.05, 3.09 so I uninstalled CGI and I'm left with: CGI : 3.05 and Gentoo thinks there is no CGI installed. Could this be the problem? Gentoo not properly removing CGI-3.05? I'm not using Gentoo, so I can't tell. May be you've installed it ma

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Stas Bekman
Grant wrote: Ok I did everything including uninstalling 1.99.17 but I'm getting this error: Bareword "Apache2::Const::OK" not allowed while "strict subs" in use I guess that means it wasn't fully uninstalled? How can I check on that? No, if it wasn't installed, you would have not been able to load

Re: new mod_perl more optimized?

2005-05-17 Thread Igor Chudov
--- Stas Bekman <[EMAIL PROTECTED]> wrote: > Igor Chudov wrote: > > I switched my main site algebra.com to new > mod_perl > > last weekend. It has to handle about 3-4 http > requests > > per second. > > > > First thing that I noticed was that process memory > > growth has stopped. > > > > Sec

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> > Ok I did everything including uninstalling 1.99.17 but I'm getting this > > error: > > > > Bareword "Apache2::Const::OK" not allowed while "strict subs" in use > > > > I guess that means it wasn't fully uninstalled? How can I check on that? > > No, if it wasn't installed, you would have not

Re: new mod_perl more optimized?

2005-05-17 Thread Perrin Harkins
On Tue, 2005-05-17 at 09:18 -0700, Igor Chudov wrote: > I am curious, just what did you guys do to get to this > point? It's an entirely new piece of software, since apache2 is entirely new as well. There probably is still room for optimization, since most work so far has been focused just on get

Re: Apache2::Status bug?

2005-05-17 Thread Stas Bekman
Stas Bekman wrote: Octavian Rasnita wrote: Hello, I have finished (I hope) installing mod_perl rc5 under Windows 2000, and I have tried the server using http://localhost/perl-status. I was able to use it very well, until I have tried to see the following links in order: Loaded Modules - Apache::C

Re: [mp2] [PATCH] implement ap_save_brigade

2005-05-17 Thread Dorian Taylor
> I'm not getting very far with this, Dorian. Neither httpd-dev nor apr-dev > are taking it anywhere. So at the moment ap_save_brigade is sort of an > unstable API, so other developers think we shouldn't expose it in the core > API. So at the moment you have two options: hm, this is unfortunate

Re: new mod_perl more optimized?

2005-05-17 Thread Stas Bekman
Igor Chudov wrote: I switched my main site algebra.com to new mod_perl last weekend. It has to handle about 3-4 http requests per second. First thing that I noticed was that process memory growth has stopped. Second thing that I noticed was that load average went down from about 0.3 to about 0.

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Stas Bekman
Grant wrote: [...] Ok I did everything including uninstalling 1.99.17 but I'm getting this error: Bareword "Apache2::Const::OK" not allowed while "strict subs" in use I guess that means it wasn't fully uninstalled? How can I check on that? No, if it wasn't installed, you would have not been able t

Re: [mp2] [PATCH] implement ap_save_brigade

2005-05-17 Thread Stas Bekman
Dorian Taylor wrote: I'm not getting very far with this, Dorian. Neither httpd-dev nor apr-dev are taking it anywhere. So at the moment ap_save_brigade is sort of an unstable API, so other developers think we shouldn't expose it in the core API. So at the moment you have two options: hm, this i

rotatelog on win32

2005-05-17 Thread allan juul
hello i have run into a strange problem on windows mod_perl2 RC6 using rotaleog.exe i have this in httpd.conf CustomLog "|D:/rotatelogs.exe \ d:/logs/apache2/http/apache.%Y-%m-%d-%H_%M_%S 86400" combined if i don't load mod_perl there are never a problem. if i load mod_perl, i can (sometimes) st

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> > mp2bug says: > > > > CGI : 3.05, 3.09 > > > > so I uninstalled CGI and I'm left with: > > > > CGI : 3.05 > > > > and Gentoo thinks there is no CGI installed. Could this be the > > problem? Gentoo not properly removing CGI-3.05? > > I'm not using Gentoo, so I can't tel

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Stas Bekman
Grant wrote: mp2bug says: CGI : 3.05, 3.09 so I uninstalled CGI and I'm left with: CGI : 3.05 and Gentoo thinks there is no CGI installed. Could this be the problem? Gentoo not properly removing CGI-3.05? I'm not using Gentoo, so I can't tell. May be you've installed it ma

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> >>>It looks like my current 1.99.17 configuration has Registry.pm here: > >>> > >>>/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2/ModPerl/Registry.pm > >>> > >>>and according to the logs the new one was installed here: > >>> > >>>/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/ModPerl/Registry.p

Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-17 Thread Gert Jan Schipper
Hi All, I have a RedHat 3.0AS with apache 2.48 When I surf to a folder on my apache that I have set to be authenticated from my domain. My Internet Explorer 6 gets and windows login popup, where it ask me to fill in User Name Password Domain but I want the login to be transparent.. this

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> > > mp2bug says: > > > > > > CGI : 3.05, 3.09 > > > > > > so I uninstalled CGI and I'm left with: > > > > > > CGI : 3.05 > > > > > > and Gentoo thinks there is no CGI installed. Could this be the > > > problem? Gentoo not properly removing CGI-3.05? > > > > I'm not using

Re: RC6 build problems

2005-05-17 Thread Stas Bekman
Malcolm J Harwood wrote: And the next one... "make test" fails with the following: .Syntax error on line 101 of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0.0-RC6/t/conf/httpd.conf: Invalid command 'TypesConfig', perhaps mis-spelled or defined by a module not included in the server

Re: RC6 build problems

2005-05-17 Thread Stas Bekman
Malcolm J Harwood wrote: [...] The same thing happens with mod_env disabled: Syntax error on line 862 of /home/mjh/devel/abs/local/apache-mod_perl/src/mod_perl-2.0.0-dev/t/conf/httpd.conf: Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not included in the server configuratio

Re: Apache::File and setting filename

2005-05-17 Thread Scott Alexander
Scott Alexander wrote: Hi, Is it possible with Apache::File to set the name of the filename? (Apache/1.3.31 (Unix) mod_perl/1.29 configured) For the record: $fh = Apache::File->new($file) or warn "Can't open $file $!"; $r->content_type('application/octet-stream'); $r->headers_out->set('Content-D

new mod_perl more optimized?

2005-05-17 Thread Igor Chudov
I switched my main site algebra.com to new mod_perl last weekend. It has to handle about 3-4 http requests per second. First thing that I noticed was that process memory growth has stopped. Second thing that I noticed was that load average went down from about 0.3 to about 0.1. (I run some othe

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> >>>It looks like my current 1.99.17 configuration has Registry.pm here: > >>> > >>>/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2/ModPerl/Registry.pm > >>> > >>>and according to the logs the new one was installed here: > >>> > >>>/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/ModPerl/Registry.p

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Grant
> > Hi Stas, > > > > I removed it with the Gentoo mechanism: > > > > emerge -C mod_perl > > > > What makes you think it wasn't removed properly? It is my current > > 1.99.17 installation that has Registry.pm under Apache2. 2.0.0rc5 > > installed it to: > > > > /usr/lib/perl5/vendor_perl/5.8.5/i68

Apache::File and setting filename

2005-05-17 Thread Scott Alexander
Hi, Is it possible with Apache::File to set the name of the filename? (Apache/1.3.31 (Unix) mod_perl/1.29 configured) I have print "Content-type: application/octet-stream\n\n" ; $file = "myfile_to_send.doc" ; $fh = Apache::File->new($file) or warn "Can't open $file $!"; $r->headers_out->set("Conten

Re: mod_perl causing seg faults in apache2?

2005-05-17 Thread Stas Bekman
Grant wrote: It looks like my current 1.99.17 configuration has Registry.pm here: /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2/ModPerl/Registry.pm and according to the logs the new one was installed here: /usr/lib/perl5/vendor_perl/5.8.5/i686-linux/ModPerl/Registry.pm Interchange::Link has a

Re: [QUESTION] Overloading/overriding print() when subclassing Apache

2005-05-17 Thread Arne Skjaerholt
Ok, sorry for the previous two (rather horrible) mails it's getting to be the time of night where (really bad) good ideas abound, so I'll just leave this information before going to bed: mod_perl-1.27 according to gentoo portage, mod_perl 1.29 according to my Apache server string. perl-5.8.5 Arne

Re: [QUESTION] Overloading/overriding print() when subclassing Apache

2005-05-17 Thread Arne Skjaerholt
> You don't say which mod_perl version you are using, Arne. D'oh! I really should've remembered to add that info. So basically Apache does everything I want on it's own. How clever and, well, obvious. Thanks for bothering with what I honestly should've figured out on my own. Arne :wq