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 for

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(standard

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: 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 [snip] I've come up with three solutions, none of which I

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 well as using EmbPerl to run the dynamic pages This begs

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

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 before (which

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...

Has anyone else seen this?

2001-12-13 Thread Rick Myers
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 appreciate a hint. Rick

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 SIZE RES

Re: Mac OSX 10.1 - mod_perl build instructions

2001-11-10 Thread Rick Myers
(Configure mod_perl with $adir ?, y); next unless $ans =~ /^y$/i; } Rick Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the problem. Solving Algorithm 2) Think real hard

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 handlers

[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 down

Re: can't build with 1.3.14 apache?

2000-10-14 Thread Rick Myers
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
::_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[EMAIL PROTECTED

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 behind suggesting `while defined FH

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, 2000 at 01:15:57 -0500, Ken Williams twiddled

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 'Value of HANDLE construct can be &q

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, Ken Williams twiddled the keys to say: [EMAIL

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: From: Rick Myers [EMAIL PROTECTED] On Aug

Re: Patch to t/modules/request.t

2000-08-24 Thread Rick Myers
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
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 Myers[EMAIL PROTECTED] The Feynman Problem 1) Write down the proble

Re: cgis and subrequests

2000-08-20 Thread Rick Myers
(or maybe my sense of time is warped :). my $lookup = $r-lookup_uri( $uri ); $r-send_http_header( 'text/html' ); my $status = $lookup-run; $r-status( $status ); Rick Myers[EMAIL PROTECTED] The Feynman Problem

Re: make test failure

2000-08-08 Thread Rick Myers
y/[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 Perl 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}, it works! If I ever try

Re: Weird Perl behaviour

2000-07-18 Thread Rick Myers
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 Myers[EMAIL PROTECTED

Re: apache restart causes httpd to grow and grow

2000-07-13 Thread Rick Myers
/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: DIR_MERGE and .htaccess

2000-07-04 Thread Rick Myers
lobal" section of a VirtualHost. 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 missing the same thing? Rick Myers[EMAIL

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

2000-05-04 Thread Rick Myers
mething 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. M

Re: Apache::GzipChain

2000-04-11 Thread Rick Myers
ffers 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.

Re: Apache::GzipChain

2000-04-11 Thread Rick Myers
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 problem. Solving Algorithm 2) Think real

Re: all protected but one...

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

Re: System calls to return data via STDOUT

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

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_uri( $somewhere ); $r

$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) Write down

Re: multiple cookies in Apache module.

1999-10-15 Thread Rick Myers
n 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-Cookie' = $cookie ); Rick Myers

finding real path to same server uri's

1999-10-10 Thread Rick Myers
, 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.