Re: PerlInitHandler and PerlSetEnv

2001-07-11 Thread Gerald Richter
There is no directory, .htaccess in the context and that's like it really behaves. (unless they changed it in a very recent version and didn't update the docs, which I don't expect) PerlSetEnv is the only chance to have different values in different directories. i think the docs

Re: can't start apache-1.3.20 with mod_perl and Mason

2001-07-11 Thread Louis-David Mitterrand
* On Tue, Jul 10, 2001 at 07:13:30PM -0700, Doug MacEachern wrote: On Mon, 9 Jul 2001, Louis-David Mitterrand wrote: After upgrading my installation to Apache-1.3.20 and mod_perl-1.25 as as a module I can't start apache anymore when httpd.conf contains: PerlRequire

Apache::Upload filehandle

2001-07-11 Thread Jay Buffington
I'm trying to use image magick to manipulate images that are uploaded via http. To handle the uploaded images I'm using libapreq's Apache::Upload. I wrote the below simple example script to help explain my problem. When an image is uploaded to it I get this error in the apache error log:

Re[2]: upgrading mod_perl/CGI.pm shows some weirdness

2001-07-11 Thread Mike Miller
On Wednesday, July 11, 2001, Doug MacEachern wrote the following about upgrading mod_perl/CGI.pm shows some weirdness DM On 6 Jul 2001, Peter Rooney wrote: machine 1: CGI.pm version 2.46 machine 2 (the new machine): CGI.pm version 3.02 DM 3.02 is alpha, the README says: DM Version 3

[DIGEST] mod_perl digest 2001/07/07

2001-07-11 Thread Geoffrey Young
-- mod_perl digest July 1, 2001 - July 7, 2001 -- Recent happenings in the mod_perl world... Features o

Re: help about ap_pool in Perl

2001-07-11 Thread Alberto Canzi
Doug MacEachern wrote: On Tue, 10 Jul 2001, Alberto Canzi wrote: Hi I need to use the ap_pool structure. In my Apache Module writing book is explained how to use it in C but nothing is said about using it in Perl. How does it work ? How may I use it in Perl? what do you need

Re: help about ap_pool in Perl

2001-07-11 Thread Perrin Harkins
I need to save some status informations about each request (in my filter each request passes through 3 phases : PerlTransHandler, PerlAccessHandler and PerlHandler. You want $r-pnotes. - Perrin

Errors when trying to use AuthAny.pm

2001-07-11 Thread Justin Rains
Hi all. I am relatively new to mod_perl so try to bear with me. I am trying to use the AuthAny.pm module to provide some basic authentication. First off.. Do I put it in the same directory as Registry.pm? That is where I have it now. In my httpd.conf file I put the following in:

Re: boot_IO error

2001-07-11 Thread Jens-Uwe Mager
On Tue, Jul 10, 2001 at 09:34:18PM -0500, Matt Glosson wrote: Hello. I've searched the internet and found many things relating to this, but I thought I would present my own specific problem. I'm trying to install mod_perl with IBM HTTP Server (which is really just apache 1.3.12) on AIX 4.3.3.

Re: can't start apache-1.3.20 with mod_perl and Mason

2001-07-11 Thread Doug MacEachern
On Wed, 11 Jul 2001, Louis-David Mitterrand wrote: Will I have to build a debugging-enabled libperl to get relevant information? Or is this enough to understand the problem? libperld would help, all i can tell is that something in %SIG is being caught, which normally shouldn't happen at

Re: Error in PerlRun

2001-07-11 Thread Doug MacEachern
On Mon, 9 Jul 2001, Surat Singh Bhati wrote: Hi, I am not able to run the mod_perl scriptsd as with Apache::PerlRun, Apache::Registry is working fine. PerlRun says : filename not found or unable to stat and gives the 404 error. The file is exists there with proper

RE: detecting ssl

2001-07-11 Thread Webmaster
- Original Message - From: Issac Goldstand [EMAIL PROTECTED] To: Geoffrey Young [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 3:58 PM Subject: Re: detecting ssl -Original Message- From: Issac Goldstand [mailto:[EMAIL PROTECTED]] Sent:

RE: announce: mod_perl-1.25_01

2001-07-11 Thread Webmaster
- Original Message - From: Doug MacEachern [EMAIL PROTECTED] To: Christian Gilmore [EMAIL PROTECTED] Cc: 'Modperl Mailing List (E-mail)' [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 12:47 PM Subject: RE: announce: mod_perl-1.25_01 On Tue, 10 Jul 2001, Christian Gilmore wrote:

Re: detecting ssl

2001-07-11 Thread David Young
I agree with Vivek. With an URL in the format: protocol://hostname:port The browser will use protocol to connect to hostname on port. If you don't specify port, then the browser will pick the default port for protocol, but if the server is not serving the specified protocol on the default port,

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Philip Mak
One thing caught my eye; how come mod_perl handler (808.4 hits per second) performed better than HTML static (768.2 hits per second)? And sorry for my newbie-ish question, but what is the difference between mod_perl handler and Apache::Registry mod_perl?

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Perrin Harkins
Good work as usual, Joshua. mod_caucho used to look a lot faster, but my testing methodology changed. I used to take the results of the second benchmark run, and publish those, but this time only ran the -test for minor caching after starting resin ( tomcat ). So, I'm

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Perrin Harkins
Good work as usual, Joshua. mod_caucho used to look a lot faster, but my testing methodology changed. I used to take the results of the second benchmark run, and publish those, but this time only ran the -test for minor caching after starting resin ( tomcat ). So, I'm

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Joshua Chamas
Perrin Harkins wrote: mod_caucho used to look a lot faster, but my testing methodology changed. I used to take the results of the second benchmark run, and publish those, but this time only ran the -test for minor caching after starting resin ( tomcat ). So, I'm

Using mod_perl handlers for max speed?

2001-07-11 Thread Philip Mak
In the recent Hello World 2000 benchmark posted by Joshua Chamas, mod_perl handler was shown to be even faster than static HTML (at least for running hello world), and twice as fast as using Apache::Registry to run a perl script. Does this mean that if there's a heavily used script on my system

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Perrin Harkins
I do feel that compile time matters, but really with 60 seconds and high MaxRequestsPerChild, these systems are getting plenty of compiling caching. The thing is, if mod_caucho takes 5 seconds the first time it hits each template, but is the fastest afterwards, these numbers don't give a very

Re: Using mod_perl handlers for max speed?

2001-07-11 Thread Perrin Harkins
Does this mean that if there's a heavily used script on my system that needs to be VERY fast, then it may be worth making it into a mod_perl handler? Not unless you get astonishing amounts of traffic and your script does almost nothing. These are very simple test cases, so they exaggerate

Re: Using mod_perl handlers for max speed?

2001-07-11 Thread Joshua Chamas
Philip Mak wrote: In the recent Hello World 2000 benchmark posted by Joshua Chamas, mod_perl handler was shown to be even faster than static HTML (at least for running hello world), and twice as fast as using Apache::Registry to run a perl script. Does this mean that if there's a heavily

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Joshua Chamas
Perrin Harkins wrote: I do feel that compile time matters, but really with 60 seconds and high MaxRequestsPerChild, these systems are getting plenty of compiling caching. The thing is, if mod_caucho takes 5 seconds the first time it hits each template, but is the fastest afterwards,

Re: [ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Stas Bekman
On Wed, 11 Jul 2001, Philip Mak wrote: And sorry for my newbie-ish question, but what is the difference between mod_perl handler and Apache::Registry mod_perl? http://perl.apache.org/guide/performance.html#Apache_Registry_PerlHandler_vs_ including the benchmarks

Re: Using mod_perl handlers for max speed?

2001-07-11 Thread Ken Williams
[EMAIL PROTECTED] (Philip Mak) wrote: Does this mean that if there's a heavily used script on my system that needs to be VERY fast, then it may be worth making it into a mod_perl handler? What are the caveats of using mod_perl handlers instead of normal scripts? The basic idea is this: with a

APXS make problems with mod_perl 1.26

2001-07-11 Thread Neil Mansilla
I've successfully performed the same APXS make with mod_perl 1.25 and 1.25_01, but it breaks with the following error with 1.26: perl Makefile.PL USE_APXS=1 \ WITH_APXS=/usr/local/apache_1.3.20/bin/apxs \ PERL_STACKED_HANDLERS=1 PERL_USELARGEFILES=0 [standard Makefile.PL output is

Re: APXS make problems with mod_perl 1.26

2001-07-11 Thread Doug MacEachern
On Wed, 11 Jul 2001, Neil Mansilla wrote: I've successfully performed the same APXS make with mod_perl 1.25 and 1.25_01, but it breaks with the following error with 1.26: perl Makefile.PL USE_APXS=1 \ WITH_APXS=/usr/local/apache_1.3.20/bin/apxs \ PERL_STACKED_HANDLERS=1

[ANNOUNCE] Apache::ASP v2.19

2001-07-11 Thread Joshua Chamas
Hey, The latest release of Apache::ASP, v2.19, is out. You can get it in your local CPAN or here: http://www.perl.com/CPAN-local/modules/by-module/Apache/ The big development in the module is a standalone CGI mode that works without mod_perl, at least on Linux where I tested it. The rest

[ANNOUNCE] Hello World Benchmarks, updated

2001-07-11 Thread Joshua Chamas
Hey, The latest Hello World benchmarks at available at: http://www.chamas.com/bench/hello.tar.gz To reproduce the BELOW results on your platform, for whatever tests are available, run: ./bench.pl -test ./bench.pl -version -time=60 --Josh DISCLAIMER: these benchmarks test only what they

cvs commit: modperl Changes

2001-07-11 Thread dougm
dougm 01/07/11 08:12:11 Modified:lib/Apache PerlRun.pm .Changes Log: remove $r-finfo usage from Apache::PerlRun, clearly finfo isn't as stable as it should be Revision ChangesPath 1.37 +3 -1 modperl/lib/Apache/PerlRun.pm Index:

cvs commit: modperl/lib mod_perl.pm

2001-07-11 Thread dougm
dougm 01/07/11 19:12:04 Modified:.Changes lib mod_perl.pm Log: 1.26 Revision ChangesPath 1.615 +1 -1 modperl/Changes Index: Changes === RCS file:

cvs commit: modperl/lib mod_perl.pm

2001-07-11 Thread dougm
dougm 01/07/11 19:27:29 Modified:.Changes lib mod_perl.pm Log: bump version Revision ChangesPath 1.616 +2 -0 modperl/Changes Index: Changes === RCS file:

cvs commit: modperl/t/net/perl test

2001-07-11 Thread dougm
dougm 01/07/11 18:32:59 Modified:.Changes t/net/perl test Log: fix 'make test' problem seen with Perl 5.005_03 Revision ChangesPath 1.614 +2 -0 modperl/Changes Index: Changes

cvs commit: modperl Makefile.PL

2001-07-11 Thread dougm
dougm 01/07/11 18:34:46 Modified:.Makefile.PL Log: fixes for building with 5.004 Revision ChangesPath 1.193 +4 -2 modperl/Makefile.PL Index: Makefile.PL === RCS file: