Re: modules and pragmas - part II

2002-09-26 Thread Rick Myers
On Sep 24, 2002 at 23:14:02 +0200, [EMAIL PROTECTED] wrote: > > At the first request each instance prints out the no_xhtml-header, but > at the second call the no_xhtml-pragma is forgotten and the > xhtml-header is printed out. > > Is this a problem in the CGI-module or is there a deeper reason

Re: same module with different pragmas

2002-09-23 Thread Rick Myers
On Sep 23, 2002 at 17:05:07 -0400, Perrin Harkins wrote: > [EMAIL PROTECTED] wrote: > > In the sets of applications that runs under mod_perl on our webserver > > we need the same modules twice, but with different pragmas. > > > > app1: use module qw(standard pragma1); > > app2: use module qw(st

Re: Handler Concept / Question

2002-08-12 Thread Rick Myers
On Aug 12, 2002 at 11:50:56 -0600, Thomas Whitney wrote: > I was following this thread with interest because I want to do something > like this. I started searching on list archive for the above mentioned > syntax, I searched for 'static content', then 'default handler', but with > no luck

Re: PerlChildInitHandler doesn't work inside VirtualHost?

2002-08-08 Thread Rick Myers
On Aug 09, 2002 at 12:16:45 +1000, Cees Hek wrote: > Quoting Jason W May <[EMAIL PROTECTED]>: > > Running mod_perl 1.26 on Apache 1.3.24. > > > > I've found that if I place my PerlChildInitHandler inside a VirtualHost > > block, it is never called. > > It doesn't really make sense to put a PerlC

Re: virtual host "server root"

2002-03-01 Thread Rick Myers
On Mar 01, 2002 at 19:30:37 +, Ged Haywood wrote: > Hi there, > > On Wed, 27 Feb 2002, Rick Myers wrote: > > > I'm trying to create a "root" directory for each of my virtuals. > > the realm of the virtual that certainly shouldn't be within &g

Re: how to disable mod_perl in a subdir? Directory vs Location

2002-02-28 Thread Rick Myers
On Feb 28, 2002 at 05:54:07 -0700, Dan Baker wrote: > > Rick Myers wrote: > > > > On Feb 27, 2002 at 21:14:00 -0700, Dan Baker wrote: > > > > > > I am working with a host that has everything under /cgi-bin running > > > mod_perl by default, and w

virtual host "server root"

2002-02-27 Thread Rick Myers
I'm trying to create a "root" directory for each of my virtuals. The reason is that there's plenty of stuff within the realm of the virtual that certainly shouldn't be within the document root -- templates, cache, logs, etc. Plus, I might want to point a virtual into a user dir somewhere. I've co

Re: When handlers misfire

2002-02-21 Thread Rick Myers
On Feb 21, 2002 at 15:23:04 -0800, Milo Hyson wrote: > > On Wednesday 20 February 2002 07:55 pm, Geoffrey Young wrote: > > > > > > If the redirected request needs that session > > > data, there's a small chance it won't be there yet. > > > > have you seen this? I don't recall this ever coming up

Re: Make test issue with the URI module

2002-02-04 Thread Rick Myers
On Feb 04, 2002 at 16:24:38 +0100, Thomas Klausner wrote: > > Does anyone know why this fails or how to fix it properly? This question was originally asked back in August. http://mathforum.org/epigone/modperl/sehpholzhex With some followup... http://mathforum.org/epigone/modperl/zhenp

Re: Has anyone else seen this?

2001-12-15 Thread Rick Myers
On Dec 13, 2001 at 20:02:03 -0500, Rick Myers wrote: > > I'm referring to Term::Readline problems. A while back I had > all sorts of trouble with Term::Readline and was basically > deleting it any time this that or the other module insisted > it be there. Recently things ha

Has anyone else seen this?

2001-12-13 Thread Rick Myers
was adding some top level directives to a mod_perl module, Apache::DB quit working with the spew below the sig. I know I can back out my work or maybe delete Term::Readline again (and recompile the whole works *sigh*), but that's not the point. If anyone's seen or heard of this, I'd

Re: [OT] log analyzing programs

2001-12-02 Thread Rick Myers
On Dec 02, 2001 at 07:33:55 -0800, Bill Moseley wrote: > Date: Sun, 02 Dec 2001 07:33:55 -0800 > To: [EMAIL PROTECTED] > From: Bill Moseley <[EMAIL PROTECTED]> > Subject: Re: [OT] log analyzing programs > > At 10:09 AM 12/2/2001 +, Matt Sergeant wrote: > >> > >> PID USERNAME THR PRI NICE S

Re: Mac OSX 10.1 - mod_perl build instructions

2001-11-10 Thread Rick Myers
- unless($DO_HTTPD) { + unless($DO_HTTPD || $PREP_HTTPD && $NO_HTTPD) { $ans = prompt("Configure mod_perl with $adir ?", "y"); next unless $ans =~ /^y$/i; } Rick Myers[EMAIL PROTECTED] ---

Re: libapreq problem: solved

2001-10-13 Thread Rick Myers
On Oct 14, 2001 at 01:19:05 +0200, Issac Goldstand wrote: > > Apparantly, I made a major mistake with the UPLOAD_HOOK > error... While it still doesn't work, I found out what > caused the mysterious error... The name space I happen to > be using is TFile::*, and all of my upload-related handler

[OT] perl mailing lists

2001-05-12 Thread Rick Myers
Sorry for the off-topic question, so I'll make it quick. Does anyone have pointers to any intermediate to advanced level perl mailing lists? Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write dow

Re: can't build with 1.3.14 apache?

2000-10-14 Thread Rick Myers
Hello again bleeding edge. :) Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.

Re: CGI.pm problem

2000-08-29 Thread Rick Myers
ndard :cgi-lib); CGI::_reset_globals; > #my $args = Vars; _reset_globals() is normally called when you create a new CGI object. In this context though, your object lives on between script runs so you have to manually tell CGI to reset it. Rick Myers

Re: Patch to t/modules/request.t

2000-08-27 Thread Rick Myers
On Aug 27, 2000 at 12:17:41 -0500, Ken Williams twiddled the keys to say: > [EMAIL PROTECTED] (Rick Myers) wrote: > >I would lean towards the second one since upload_test() is called > >similarly from three different places within request.t. > > > >The reasoning behin

Re: Patch to t/modules/request.t

2000-08-26 Thread Rick Myers
On Aug 26, 2000 at 14:07:26 +0200, Stas Bekman twiddled the keys to say: > On Fri, 25 Aug 2000, Rick Myers wrote: > > > On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say: > > > [EMAIL PROTECTED] (Rick Myers) wrote: > > > >On Aug 24, 200

Re: Patch to t/modules/request.t

2000-08-25 Thread Rick Myers
On Aug 25, 2000 at 21:25:59 -0400, Rick Myers twiddled the keys to say: > On Aug 25, 2000 at 21:02:32 -0400, Billy Donahue twiddled the keys to say: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Fri, 25 Aug 2000, Rick Myers wrote: > > > &g

Re: Patch to t/modules/request.t

2000-08-25 Thread Rick Myers
On Aug 25, 2000 at 21:02:32 -0400, Billy Donahue twiddled the keys to say: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 25 Aug 2000, Rick Myers wrote: > > > From: Rick Myers <[EMAIL PROTECTED]> > > > > On Aug 24, 2000 at 23:15:15 -0500

Re: Patch to t/modules/request.t

2000-08-25 Thread Rick Myers
On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say: > [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 'V

Re: Patch to t/modules/request.t

2000-08-24 Thread Rick Myers
$!"; -++$lines while (my $dummy = ); +++$lines while defined ; close FH; my(@headers); if ($Is_dougm) { Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.

Re: When will PerlLogHandler *not* run

2000-08-21 Thread Rick Myers
at $r->register_cleanup() will stop responding sometimes. After a while a whole pile of cleanups from one given child will just do their thing one after another. I've always wondered why that is. Why doesn't that child just hang instead of storing up all the registered cleanups? Rick Myer

Re: cgis and subrequests

2000-08-20 Thread Rick Myers
Yes. run() no longer sends headers (as far as I know). I don't know when it was changed, but it pre-dates my experience. I've had the following working just fine for close to a year now (or maybe my sense of time is warped :). my $lookup = $r->look

Re: make test failure

2000-08-08 Thread Rick Myers
AIL PROTECTED]">http://forum.swathmore.edu/epigone/modperl/fringkyby/[EMAIL PROTECTED] Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.

Re: Weird behaviour

2000-07-20 Thread Rick Myers
On Jul 20, 2000 at 11:16:47 +0300, Alex Shnitman twiddled the keys to say: > On Wed, Jul 19, 2000 at 10:24:24PM -0400, Rick Myers wrote: > > > After fooling with this for several hours I've finally come to the > > conclusion that this is prob

Re: Weird behaviour

2000-07-19 Thread Rick Myers
On Jul 19, 2000 at 10:09:36 +0300, Alex Shnitman twiddled the keys to say: > On Tue, Jul 18, 2000 at 11:30:44PM -0400, Rick Myers wrote: > > > > Another interesting thing about this issue: if I assign > > > $port{$portname} + 1 to $Port, and not just $port{$portname}, i

Re: Weird behaviour

2000-07-18 Thread Rick Myers
> in any way, it doesn't work again. > > Does that give any new ideas as to the source of this issue? Yes. The source of the issue is that you sent your ErrorLog to /dev/null. Send it somewhere else where you can read it and you should find the error in short order. Rick

Re: apache restart causes httpd to grow and grow

2000-07-13 Thread Rick Myers
e, of course ;) restart /var/apache/bin/apachectl configtest && ( /var/apache/bin/apachectl stop ; sleep 2 ; /var/apache/bin/apachectl start ) Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.

Re: PerlAddVar bug

2000-07-06 Thread Rick Myers
me problem I alluded to the other day in reply to Matt's post concerning DIR_MERGE. In this example you're looking for MyVar explicitly, which is found properly. In Geoffrey's example he is trying to use $r->dir_config->do(), which will not see the global value for some reason. Hi

Re: DIR_MERGE and .htaccess

2000-07-04 Thread Rick Myers
ng seen by $r->dir_config as I'd expected. Namely, within the "global" section of a . I wrote a little module as an example, but never got around to voicing anything about it. >From what I saw then, DIR_MERGE nor SERVER_MERGE ever got called at all. Maybe we&

Re: search engine for the Guide (was Re: Why does $r->print()...)

2000-05-04 Thread Rick Myers
is not something I've thought about. The one time I tried an engine I ended up with a forking agrep, which comes as part of the Glimpse package. Glimpse itself sucks (in my opinion), but agrep works pretty good. The problem with it is you have to fork, which of course sucks. Oh well. My .02 :) Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.

Re: Apache::GzipChain

2000-04-11 Thread Rick Myers
he browsers can't cope with multiple gzip'ed chunks. If your send the content to GzipChain in one large hunk the problem goes away. Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the proble

Re: Apache::GzipChain

2000-04-11 Thread Rick Myers
l looks like it suffers from a similar problem, but I've not tried it. Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.

request.t

2000-04-01 Thread Rick Myers
); if ($Is_dougm) { Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. ~ ~ ~ ~ ~ ~ Rick Myers[EMAIL

Re: Apache::GzipChain and Netscape 4.7 doesnt work with huge files??

2000-03-31 Thread Rick Myers
_)[7]; while (){ - defined($read = sysread($fh, $buf, $BUFFERSIZE)) or return SERVER_ERROR; + defined($read = sysread($fh, $buf, $size)) or return SERVER_ERROR; last unless $read; print $buf; } Rick Myers[EMAIL PROTECTED] ---

Re: all protected but one...

1999-12-15 Thread Rick Myers
uot; dir by setting the default handler in "/register">. Unfortuntaly, I don't know the name of the default > handler. SetHandler default-handler Rick Myers[EMAIL PROTECTED] The Feyn

Re: System calls to return data via STDOUT

1999-12-07 Thread Rick Myers
y ideas?? Pipe it to a filehandle. Something like... open PIPE, "/bin/glimpse |"; while () { push @array, $_; } Not very mod_perl'ish, but it saves re-inventing the glimpse engine in perl. Rick Myers[EMAIL PROTECTED] --

Apache::Cookie v0.1 ?

1999-11-27 Thread Rick Myers
omplaints about missing bake(). I ended up manually removing it and reinstalling libapreq. Is this just some sort of namespace clash? Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. So

Re: $r->run with no headers

1999-11-11 Thread Rick Myers
On Nov 11, 1999 at 07:21:00 +, Rick Myers twiddled the keys to say: > Quite simply, I can't set headers on a ->run. I've tried before the > fact, as well as within the object itself. Anybody have any pointers? Answering my own question... $lookup = $r->lookup_u

$r->run with no headers

1999-11-10 Thread Rick Myers
Quite simply, I can't set headers on a ->run. I've tried before the fact, as well as within the object itself. Anybody have any pointers? Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) W

Re: multiple cookies in Apache module.

1999-10-14 Thread Rick Myers
e > second > cookie is sent in one "Set-Cookie" line. So I wonder is it because I'm not > familiar with > the methods in Apache module, i.e. I miss out something, or Apache->header_out > does > not support this? $r->headers_out->add( 'Set-

finding real path to same server uri's

1999-10-10 Thread Rick Myers
involved, and yes there are numerous aliases.) Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard. 3) Write down the answer.