Re: Why is Apache::PerlRun a subclass of Apache?

2000-08-24 Thread Ken Williams
... *crickets* ... Here's a patch for the implementation I'm looking for. It passes the 'make test' stuff in CVS. I'd love to see this change done, or a discussion of why it's not a good idea. Patch pasted below. [EMAIL PROTECTED] (Ken Williams) wrote: Hi, I've got to ask this because I'm

Apache.pm failed to load!.

2000-08-24 Thread Alexander Farber (EED)
Hi, I am trying to install Apache 1.3.12 and mod_perl 1.24 in my home directory as a non-root user and probably missing something obvious: I run "/home/eedalf/apache/bin/apachectl start" and see the message "/home/eedalf/apache/bin/apachectl start: httpd started" but I am unable to connect to

Re: Apache.pm failed to load!.

2000-08-24 Thread Alexander Farber (EED)
Sorry, I have forgotten to set PERL5LIB. After setenv PERL5LIB /home/eedalf/lib/perl5/site_perl/5.005/sun4-solaris everything seems to work. Can I specify this location somewhere in httpd.conf?

Re: Apache.pm failed to load!.

2000-08-24 Thread Stas Bekman
On Thu, 24 Aug 2000, Alexander Farber (EED) wrote: Sorry, I have forgotten to set PERL5LIB. After setenv PERL5LIB /home/eedalf/lib/perl5/site_perl/5.005/sun4-solaris everything seems to work. Can I specify this location somewhere in httpd.conf?

Apache::Config

2000-08-24 Thread Jerrad Pierce
Is it just me or has there been discussionof something along the lines of Apache::Config here before? Where might I accquire it? I could not find it on CPAN...

Re: executing a cgi from within a handler (templating redux)

2000-08-24 Thread Todd Finney
At 12:22 PM 8/23/00, Alex Menendez wrote: H, the do does seem a little inefficient. I solved this problem in the past by intiating a subrequest and changing the stack handler to cgi-script right before running the cgi. something like this: $subr = $r-lookup_uri($uri); if($r-filename =~

Re: STDIN and subrequests

2000-08-24 Thread Alex Menendez
thanx, Andrei That could work. However, am I not limited to a certain size GET string? Or are GET strings of unlimited size when issued internally by a SubRequest and not an actual client? One definite problem is that that cgi in question would need to know how to handle both GET and POST

Apache-request($r) broken?

2000-08-24 Thread Ken Williams
Hi all, It looks like setting Apache-request($r) doesn't work as documented. I can't get it to install a subclass of Apache as the request object. Here's some code in a handler: _ warn "blessing $r into ", __PACKAGE__;

Re: Apache::Config

2000-08-24 Thread Stas Bekman
Is it just me or has there been discussionof something along the lines of Apache::Config here before? Where might I accquire it? I could not find it on CPAN... It will appear in mod_perl-2.0 for sure, and it's on the todo list of mod_perl-1.x, so if you come up with a patch that implements

Apache::Sandwich

2000-08-24 Thread Christian Holz
Hi there! I've recently installed mod_perl and the Apache::Sandwich module using Apache1.3.12 running under FreeBSD 3.4 mod_perl installation was just fine. the Apache::Sandwich installation looked pretty good as well, make test returned an ok, but after embedding the lines PerlModule

Re: Apache::Perfmon 0.011

2000-08-24 Thread Lupe Christoph
Hello! Sorry about the lack of response. I was very busy the last few days. On Tuesday, 2000-08-22 at 11:26:00 +0200, Stas Bekman wrote: On Tue, 22 Aug 2000, Lupe Christoph wrote: I thought about it a little more. What is does is find the (cpu|real)time taken to process a request. So what

Re: Apache::Perfmon 0.011

2000-08-24 Thread Lupe Christoph
On Wednesday, 2000-08-23 at 12:32:58 +0200, Stas Bekman wrote: On Wed, 23 Aug 2000, Ask Bjoern Hansen wrote: On Tue, 22 Aug 2000, Stas Bekman wrote: [...] Sorry, it's in contrib, not the book: http://perl.apache.org/dist/contrib/Timeit.pm And I have an improved version which I for

Re: Apache::Perfmon 0.011

2000-08-24 Thread Stas Bekman
On Thu, 24 Aug 2000, Lupe Christoph wrote: Hello! Sorry about the lack of response. I was very busy the last few days. On Tuesday, 2000-08-22 at 11:26:00 +0200, Stas Bekman wrote: On Tue, 22 Aug 2000, Lupe Christoph wrote: I thought about it a little more. What is does is find the

RE: push_handlers (was: PerlCleanupHandler vs register_cleanup)

2000-08-24 Thread Geoffrey Young
a quick test showed the handlers to be FIFO, so I would expect you to get moda modb modc d e HTH --Geoff -Original Message- From: Paul G. Weiss [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 24, 2000 2:38 PM To: 'Stas Bekman' Cc: modperl Subject: push_handlers (was:

Insecure $ENV{PATH} error

2000-08-24 Thread Jamie Krasnoo
Could anyone tell me how to fix this error? [Thu Aug 24 11:29:14 2000] [error] Insecure $ENV{PATH} while running setgid at /usr/lib/perl5/5.6.0/Cwd.pm line 85. Its comming from the PerlRequire in my httpd.conf. I recently recompiled the kernel, could that be the problem? Thanks, Jamie

modperl newbie: question about unable to load File.pm

2000-08-24 Thread Hoffman , Geoffrey
I am trying to learn mod_perl, and have been going through the O'Reilly book. Got to the "footer" example, where it just simply adds some HTML to the bottom of a page. not a big deal. when I try to run it, I get issues with mod_perl not being able to find File.pm. here is some of what I see

Re: Insecure $ENV{PATH} error

2000-08-24 Thread Stas Bekman
On Thu, 24 Aug 2000, Jamie Krasnoo wrote: Could anyone tell me how to fix this error? [Thu Aug 24 11:29:14 2000] [error] Insecure $ENV{PATH} while running setgid at /usr/lib/perl5/5.6.0/Cwd.pm line 85. Its comming from the PerlRequire in my httpd.conf. I recently recompiled the kernel,

RE: modperl newbie: question about unable to load File.pm

2000-08-24 Thread Geoffrey Young
make sure that you enabled Apache::File when you built mod_perl, ie perl Makefile.PL EVERYTHING=1 or perl Makefile.PL PERL_FILE_API=1 HTH --Geoff -Original Message- From: Hoffman , Geoffrey [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 24, 2000 3:40 PM To: modperl Subject:

RE: modperl newbie: question about unable to load File.pm - fixed

2000-08-24 Thread Hoffman , Geoffrey
hey, never mind about this. It seems that it was mainly missing the: perl Makefile.pl EVERYTHING=1 thing. I actually compiled it, then did the make with everything, but forgot the make install. sorry to bother y'all. -Original Message- From: Hoffman , Geoffrey Sent: Thursday,

Re: Patch to t/modules/request.t

2000-08-24 Thread Rick Myers
On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the keys to say: The following patch eliminates a warning during 'make test' about 'Value of HANDLE construct can be "0";'. No biggie, but it should be fixed. ---

ASP Autofill RFC [WAS Re: Sticky forms for Apache::ASP]

2000-08-24 Thread Joshua Chamas
Paul Lindner wrote: Hi, We've worked out a solution to get sticky form fields inside Apache::ASP We use HTML::FillinForm and a custom tag to get the desired behaviour. Put this is in global.asa: I have thought about integrating this form autofill functionality into Apache::ASP with

Re: Bug in Apache::ASP XMLSubs when an argument includes ''-characte rs?

2000-08-24 Thread Joshua Chamas
Henrik Tougaard wrote: XML attributes can't contain "" or "" characters, or the same quote that they are surrounded by. The following are the encodings you can use (and XMLSubsMatch needs to unravel): = "lt;" = "gt;" = "amp;" " = "quot;" ' = "apos;"

Re: Patch to t/modules/request.t

2000-08-24 Thread Ken Williams
[EMAIL PROTECTED] (Rick Myers) wrote: On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the keys to say: The following patch eliminates a warning during 'make test' about 'Value of HANDLE construct can be "0";'. No biggie, but it should be fixed.

modperl build saga of bizzareness

2000-08-24 Thread Christopher Everett
Well I managed to solve my own problem. Starting with fresh sources I built up to a full mod-perl the way I wanted it. The only problem I ran into was that final build I wanted would not install over the previous version. When I finally _manually_ copied my httpd-perl binary into place, the

Re: PerlCleanupHandler vs register_cleanup

2000-08-24 Thread Stas Bekman
On Thu, 24 Aug 2000, Paul G. Weiss wrote: What is the difference between doing $r-push_handlers('PerlCleanupHandler', \function); and $r-register_cleanup(\function); The same: http://www.modperl.com/book/chapters/ch9.html#Server_Core_Functions The register_cleanup() method

push_handlers (was: PerlCleanupHandler vs register_cleanup)

2000-08-24 Thread Paul G. Weiss
While we're on the subject of handlers, if I have PerlLogHandlers moda modb modc in my conf file and I do $r-push_handlers('PerlLogHandler', \d); $r-push_handlers('PerlLogHandler', \e); during the content phase what is the order that the stacked log handlers run? -P

Patch to t/modules/request.t

2000-08-24 Thread Ken Williams
The following patch eliminates a warning during 'make test' about 'Value of HANDLE construct can be "0";'. No biggie, but it should be fixed. --- t/modules/request.t 2000/05/12 03:43:24 1.8 +++ t/modules/request.t 2000/08/24