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
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
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
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
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
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
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
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
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
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
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
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
- 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]
---
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
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
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.
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
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
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
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
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
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
$!";
-++$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.
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
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
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.
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
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
> 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
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.
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
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&
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.
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
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.
);
if ($Is_dougm) {
Rick Myers[EMAIL PROTECTED]
The Feynman Problem 1) Write down the problem.
Solving Algorithm 2) Think real hard.
~
~
~
~
~
~
Rick Myers[EMAIL
_)[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]
---
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
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]
--
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
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
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
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-
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.
44 matches
Mail list logo