On Sun, Jul 15, 2001 at 10:49:30AM -0400, darren chamberlain wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] said something to this effect on 07/14/2001:
I am having a nightmare trying to get some PHP into the output of
a Perl script. PHP. I've heard rumours of Apache 2.0 allowing multiple
On Fri, Jul 06, 2001 at 11:53:52AM +0100, Paul Sharpe wrote:
Presumably $s-finfo would be more efficient?
Yes, if it's stable for your config. I've had coredumps with it in the
past some time and have since stayed away from it by habit. 'course
that was several versions of mod_perl and perl
On Fri, Jul 06, 2001 at 09:54:12AM -0400, Geoffrey Young wrote:
-Original Message-
From: barries [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 9:38 AM
To: Paul Sharpe
Cc: [EMAIL PROTECTED]
Subject: $r-finfo stability? [Was: lookup_uri() returns 200 when 404
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
sub handler {
my $r = shift;
my $uri = 'foo.html';
$r-content_type('text/plain');
$r-send_http_header;
On Thu, Jul 05, 2001 at 04:03:00PM +0100, Paul Sharpe wrote:
barries wrote:
On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
Here's my handler...
package Foo::Test;
use strict;
use warnings;
use Apache::Constants qw(:common HTTP_OK);
sub handler {
my
On Thu, Jul 05, 2001 at 04:57:13PM +0100, Paul Sharpe wrote:
What would happen if the URI translated to something other than a file
e.g. CGI?
You get the filename of the script.
- Barrie
On Wed, May 30, 2001 at 05:21:22PM +0200, Issac Goldstand wrote:
Does anyone know if there is a perl module that implements the features of Apache's
mod_mime_magic module? (e.g., you give it a file handle, or data and it tries to
autodetect the correct mime-type)
Here's a module (File::Type)
On Thu, May 31, 2001 at 03:08:03PM +0200, Issac Goldstand wrote:
Aside from that lack, it's perfect for me.
Feel like patching in a magic-file parser? I'm swamped at the moment.
- Barrie
On Fri, May 18, 2001 at 11:28:06PM -0400, Neil Conway wrote:
Is there a simple (fast, light) module that generates HTML
in a similar style to CGI.pm, for use with mod_perl?
You can check out HTML::EasyTags[1] and HTML::TagMaker[2]. They're all kinda
heavyweight, the first requires OO
On Wed, May 16, 2001 at 12:07:28PM -0400, Vivek Khera wrote:
I don't think location takes a glob pattern.
A nit: it can. Directory, Location and File can all take
shell-like globs using ?, *, and []/[!...]/[^...] operators, looks like.
No equivalent to {a,b,c} alternation, AFAICS.
- Barrie
On Thu, May 10, 2001 at 03:28:16PM -0700, Doug MacEachern wrote:
http://perl.apache.org/~dougm/condsub-0.01.tar.gz
see test.pl for the examples.
i'm open to names/interface changes
I've had good luck (on non performance critical code) doing something
like (from memory):
use
On Thu, May 10, 2001 at 03:28:16PM -0700, Doug MacEachern wrote:
On Tue, 10 Apr 2001, Paul Lindner wrote:
DBG debug('whoa there boy');
FWIW, you may find the opcode-identical
debug 'whoa there boy' if DBG ;
more readable. Don't go to values other than 0 or 1 (not even 0 or
1) for
On Sun, Apr 29, 2001 at 01:37:52PM +0800, Gunther Birznieks wrote:
At 09:06 AM 4/28/01 -0400, barries wrote:
Not sure either, except that this would be more targeted towards
specific research projects, as opposed to the build a venue and they
will come SourceXchange model.
I guess my
On Sat, Apr 28, 2001 at 12:16:18PM +0800, Gunther Birznieks wrote:
If the person being sponsored by grants is a foreigner to the US, but
wishes to be in the US
Agreed, but I don't think that's a roadblock, just a situation to be
dealt with. mod_perl infrastructure seems to be the kind of
On Fri, Apr 27, 2001 at 11:44:49PM +0800, Stas Bekman wrote:
Since mod_perl is an open source, it's a tough quest. Basically what I
want is get some company that will benefit from me working on open source
project full time and pay me a salary. Of course it's probably hard to get
a full
Not OT at all...
On Thu, Apr 26, 2001 at 06:24:41PM +0200, Issac Goldstand wrote:
Can any of the mod_perl 2 people provide some feedbak on this, as I'm
sure you guys have looked at this much deeper than I have.
Well, I'm not a mod_perl 2 person, but I can say that PerlInterpScope
(it's been
On Sun, Apr 08, 2001 at 12:07:01PM +0200, Per Einar wrote:
What I was suggesting was that I could do the SMTP connection myself. But
you're right, that might involve queuing problems.
If you do this, make sure that the SMTP connection is to your local MTA,
since 'net delays could mean a
On Wed, Jan 31, 2001 at 03:03:56AM +0100, Robin Berjon wrote:
Alzabo (which is somewhat the opposite of Tangram) is designed with
mod_perl in mind. XML serialization will be coming real soon now (as soon
as Barrie Slaymaker finishes work on DBML).
Cool. More pressure ;-).
Anyway, we're
On Mon, Jan 08, 2001 at 11:48:36PM -0800, Joshua Chamas wrote:
UNSHARED_SIZE = CURRENT_SIZE - CHILD_INIT_SIZE
How would that account for pages that were shared post forked, but later
copied-on-write?
- Barrie
On Fri, Dec 22, 2000 at 09:51:55PM -0500, brian d foy wrote:
however, i have been talking to a few people about something like a
mod_makefile. :)
I've used this approach succesfully on a lower volume site where the it
was taking lots of time to build the final HTML but the data sources
On Mon, Dec 11, 2000 at 05:08:29PM +0100, Stas Bekman wrote:
At 22:11 10/12/2000 +0100, Stas Bekman wrote:
I don't know whether or not you're correct as I haven't tested this (which
I guess is the only way to really know :). I don't much about fd's either,
I tested sharing fds beteen
On Sun, Dec 10, 2000 at 05:42:28PM +0100, Robin Berjon wrote:
I find installing mod_perl trivial in that it doesn't
require anything that's actually hard to do.
Just thinking is hard to do sometimes ;-).
A config front end and a way of caching config settings would both be
nice. I find
On Thu, Dec 07, 2000 at 09:20:55AM +, Matt Sergeant wrote:
On Wed, 6 Dec 2000, Matt Sergeant wrote:
OK, so this isn't really much of an announcement, since its still the same
web site. Anyway, I'm renaming modperl.sergeant.org to take23.org.
DNS should propogate shortly. Until then
On Thu, Dec 07, 2000 at 07:56:09AM -0700, Nathan Torkington wrote:
J. J. Horner writes:
I'd be interested in something like this.
Certification is a quagmire. If it's done well, it takes a lot of
work by the certification authority, and that makes it expensive for
those certified. If
On Thu, Dec 07, 2000 at 03:52:01PM +0100, Stas Bekman wrote:
What's so complicated about this:
When everything goes right, and when you happen to have lwp installed
and a tar that uncompresses :-).
Seems like a good process to encode in a build_my_mod_perl.pl, FWIW.
- Barrie
On Wed, Dec 06, 2000 at 12:08:59PM +, Matt Sergeant wrote:
We could do
that with AxKit - just ship it with Apache, mod_perl, the whole lot. But I
don't think that would appeal to Perl people somehow. Thoughts?
We're not (really) talking about appealing to "Perl people" here, I
think, but
On Wed, Dec 06, 2000 at 01:33:29AM -0500, Ed Park wrote:
I've been using mod_perl for two years, and I'm currently particularly
interested in:
1) Definitively establishing mod_perl as a credible player in the enterprise
space.
2) Discussing enterprise-level architecture considerations,
On Wed, Dec 06, 2000 at 04:55:37PM +0800, Gunther Birznieks wrote:
Has anyone written a Perl IDE in Perl?
Tom Christiansen wrote an IDE-like lash-up of vi and perl, IIRC, but I
don't recall the specifics and I can't find in on-web right now. You
might search the perl5-porters archives for
On Wed, Dec 06, 2000 at 10:57:44AM -0800, [EMAIL PROTECTED] wrote:
hello
Does anyone know of a xml parsing module that validates using built-in
functionality, or is there a method to validate xml using XML::Parser
with another module?
XML::Checker::Parser?
- Barrie
On Tue, Dec 05, 2000 at 03:54:36PM +, David Hodgkinson wrote:
Is the RH7.0 installation stable? It comes with everything as a DSO
and _should_ work...
That's the problem: DSOs aren't stable enough, so it all too often
doesn't just work :(.
On Tue, Dec 05, 2000 at 05:31:49PM -0500, Drew Taylor wrote:
I've used XML::Checker::Parser with no big issues.
My biggest problem with XML::Writer (and hence XML::ValidWriter) is that
I can't write to a string, unless there is some hackish workaround.
XML::ValidWriter writes to a string
On Tue, Dec 05, 2000 at 07:03:58PM -0500, Drew Taylor wrote:
barries wrote:
I stand corrected. :-) I'll play around with XML::ValidWriter and see
what happens.
It also requires a more recent XML::Parser to slurp up DTDs, but DTDs
can be saved as Perl modules and you don't need to load XML
On Tue, Dec 05, 2000 at 04:10:01PM -0500, Drew Taylor wrote:
I know this goes a little off topic, so I apologize in advance.
One big sticking point with Perl I'm just starting to run into is XML.
Yes, Perl has great XML modules, and many more promising ones. But where
is the _validating_
On Fri, Nov 17, 2000 at 03:51:03PM +0100, Roger Espel Llima wrote:
Internally sysopen() does a plain libc
open(), but then it follows with a fdopen() call to get a stdio handle
anyway.
That explains the results I saw, thanks.
- Barrie
On Fri, Nov 17, 2000 at 11:53:05AM -0800, Bill Moseley wrote:
Now, I'd like to use a few of my modules under CGI -- for an administration
part of the application that's bigger and not used enough to use up space
in the mod_perl server. But it would be nice to have a common code base.
One
On Thu, Nov 16, 2000 at 01:37:41AM -0500, Dan McCormick wrote:
I came up with some documentation below by sifting through the
source code.
Excellent, thanks!
If a malformed Expires: prevents mod_proxy from caching a response (
The response will then be
cached UNLESS any of the following
On Fri, Nov 17, 2000 at 02:42:43PM +1100, Steve Smith wrote:
Hi,
All I get is an empty document. My understanding is that the data
written to the tmpfile should be available immediately through the
filehandle even if it hasn't been flushed.
I wouldn't bet on it flushing: mod_perl may not
On Fri, Nov 17, 2000 at 03:51:35PM +1100, Steve Smith wrote:
"Steve" == Steve Smith [EMAIL PROTECTED] writes:
Hi, Could somebody tell me why the following testcase doesn't work?
snip
Nevermind, I got it from the archives eventually :
seek $f, 0, 0;
Had a look in
On Fri, Nov 17, 2000 at 12:32:33AM -0500, barries wrote:
On Fri, Nov 17, 2000 at 03:51:35PM +1100, Steve Smith wrote:
seek $f, 0, 0;
Had a look in Apache::File (below), and it sysopens, so you might want
to sysseek(...) instead.
No, nevermind, don't: sysseek won't flush
On Sun, Nov 12, 2000 at 09:09:49PM +0800, Alson Wong wrote:
The $ENV{'REMOTE_ADDR'}of server B still return the real ip address of
server A.
Check out the link I sent to The Guide (tm), there's a Perl snippet
to recover the IP and do the -remote_ip() call:
From: barries [EMAIL PROTECTED
On Sun, Nov 12, 2000 at 11:07:59AM +0800, Alson Wong wrote:
So, how do I pass/set the environment variable of REMOTE_ADDR from
server A ? So that I can control the env of remote_addr at the server
B ?
Well, you could do it several ways. The "normal" way is to set a
header in the request
On Thu, Nov 09, 2000 at 04:24:31PM -0800, Bill Moseley wrote:
And here's comparing the totals returned by the pmap program that should
detail shared and private memory (according to the paper cited above).
Address Kbytes Resident Shared Private
-- -- ---
On Thu, Nov 09, 2000 at 10:12:10PM -0800, Joshua Chamas wrote:
It would likely begin with our first cluster built out in
California in the next year - year + 1/2, and grow on from
there. Many thanks for your help.
Cool. Best of luck.
1. How many dynamic web requests do you serve per
On Fri, Nov 10, 2000 at 10:46:03AM -0800, Jason Liu wrote:
Is a package global var, such as %CACHE in the code below, persistent during
the life of a child process?
Yup.
Does each child get a copy of %CACHE after the parent forks?
For all intents and purposes, yes. Most OSs will mark those
On Wed, Nov 08, 2000 at 10:49:00AM -0800, Perrin Harkins wrote:
Also, you could try using mmap for reading the files, or possibly the
Cache::Mmap module.
If you do play with mmap, note that it can lose some or all of it's
effeciency in SMP environments, or so I've read.
- Barrie
Have you found a workable approach yet? Just curious :-).
- Barrie
On Sun, Nov 05, 2000 at 01:48:04AM +0200, Eric Smith wrote:
Nasty way of effecting this communication is to have each mail message
saved to a file and do a readdir every time interval.
Ugh. You're not talking mod_perl here, though, are you?
Is it possible to have the mod_perl process
47 matches
Mail list logo