Re: Template techniques

2000-06-08 Thread Matt Sergeant
(see the guide) the string is sent to the browser. If there are exceptions, I parse/send an error template with the error in the template. I'm curious Matt, as opposed to what?, reparsing the template each run? Clearly reparsing would be a big loser in terms of performance. As opposed

Re: [performance/benchmark] printing techniques

2000-06-08 Thread Matt Sergeant
On 8 Jun 2000, Stephen Zander wrote: As Matt has already commented, in the handler the method call overheads swamps all the other activities. so concat_print aggrlist_print (yes, method invocation in perl really is that bad). When you remove that overhead the extra OPs in aggrlist_print

Re: Method overhead benchmarks [Was: [performance/benchmark] printing techniques]

2000-06-08 Thread Matt Sergeant
On Thu, 8 Jun 2000, Barrie Slaymaker wrote: Stephen Zander wrote: As Matt has already commented, in the handler the method call overheads swamps all the other activities. Just to clarify: that's only important if you are doing very few other activities, or if those other activities

Re: Newbie Questions about Perl/Apache

2000-06-07 Thread Matt Sergeant
to be respawned everytime the interpretor is needed. Thanks! Yes, mod_perl is faster than CGI. There are a few "gotcha's", but these are well documented in the guide at http://perl.apache.org/guide/ -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, X

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Matt Sergeant
r the worst case scenario of multi_print with no buffering you're managing nearly 22,000 outputs a second. Now granted, the output isn't exactly of normal size, but I think what it comes down to is that the way you choose to print is going to make almost zero difference in any real world mod_perl application. The overhead of URL parsing, resource location, and actually running your handler is going to take far more overhead by the looks of things. Perhaps this section should be (re)moved into a posterity section, for it seems fairly un-informative to me. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Matt Sergeant
of difference it makes. I'm willing to bet: barely any between averages. Perhaps I was a little strong: Lets not deprecate this part of the guide, just provide some realism in the conclusion. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Matt Sergeant
On Wed, 7 Jun 2000, Eric Cholet wrote: This said, i hurry back to s/"constant strings"/'constant strings'/g; Those two are equal. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and c

Re: Solution for: Re: $ENV{PATH} set by mod_perl script affectsmod_cgi scripts

2000-06-06 Thread Matt Sergeant
}... Go to the line that reads: eval { {$cv}($r, @_) } if $r-seqno; Ugh... Hate that syntax - can we patch it to: eval { $cv-($r, @_) } if $r-seqno; It's so much less cryptic. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase

Re: Warning about guide exceptions docs...

2000-06-05 Thread Matt Sergeant
On Sun, 4 Jun 2000, Stas Bekman wrote: On Sat, 3 Jun 2000, Matt Sergeant wrote: Just a "heads up" about the exceptions section of the guide. Don't try and create more than one generic exception handler on your server. As I've just discovered it really confuses things. Create

Re: [new module] Apache::Dispatch

2000-06-05 Thread Matt Sergeant
On Mon, 5 Jun 2000, Stas Bekman wrote: On Mon, 5 Jun 2000, Geoffrey Young wrote: hi all... I'm not sure if some you remember the idea Vivek and Matt had about creating a handler that mapped, say, http://localhost/Foo/doit to Foo-doit() anyway, the relevant part of the thread

Re: Can't create custom configuration directives

2000-06-04 Thread Matt Sergeant
I've snipped the lengthy explanation. Here's a few things you can check: There's no old version of your module in the ordinary perl lib directory, rather than the i386-foo/ directory. That you use DynaLoader. That you define $VERSION before the bootstrap line. -- Matt/ Fastnet Software Ltd

Warning about guide exceptions docs...

2000-06-03 Thread Matt Sergeant
AN release: SimpleException.pm or something? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Segfault in second time through sub request...

2000-06-02 Thread Matt Sergeant
, rather than mod_perl. Still a PITA for me ;-) Config: Apache 1.3.12, Perl 5.00503, mod_perl 1.24. Non-DSO. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http

Re: Segfault in second time through sub request...

2000-06-02 Thread Matt Sergeant
Replying to my own post... I found the problem - I was caching a subrequest in the child's memory and trying to call lookup_* again with that cached request. Doesn't work for fairly obvious reasons. On Fri, 2 Jun 2000, Matt Sergeant wrote: Running under httpd -X, first time through my

Re: jezndi (again)

2000-06-02 Thread Matt Sergeant
post one more notice in case someone responsible for that address gets this post and wants to check it to find out why my text-only messages from netscape/Yahoo!mail are being bounced. =o) Well they do contain spam/adverts in them... -- Matt/ Fastnet Software Ltd. High Performance Web

Re: [OT] Bean::*?

2000-06-01 Thread Matt Sergeant
, the language independent nature of this (other than OO being a requirement) was the real reason I bothered with it at all. My question is this -- has anyone written an implementation of the Java Bean standard in Perl? CORBA::ORBit? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

Re: JOB: Senior mod_perl/Unix engineer in San Diego

2000-05-27 Thread Matt Sergeant
. Opportunities for growth and advancement will abound for the candidate that demonstrates the ability to do the work of 20 ordinary people while still leaving lots of time for a satisfying personal life. Aww dammnit, and I can only leap tall buildings in a single bound. Shucks. ;-) -- Matt

Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Matt Sergeant
hasn't read it yet. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: URL rewriting logging

2000-05-26 Thread Matt Sergeant
method, but it seems to be read-only. Is there any simple way to make Apache log some knowN string (say $ENV{SESSION_id}) to the user field? Or do I have to write complete LogHandler for it? Thanks for your help. $r-auth_name($username); -- Matt/ Fastnet Software Ltd. High Performance Web

AxKit article

2000-05-25 Thread Matt Sergeant
http://www.xml.com/pub/2000/05/24/axkit/index.html -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: [newbie]: Catching apache output.

2000-05-25 Thread Matt Sergeant
modules you can use the techniques used by the Filter/Chain modules, or what AxKit does is overload Apache.pm's print() method and catches the output that way. Hope that helps... -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solution

RE: High-volume mod_perl based ecommerce sites?

2000-05-25 Thread Matt Sergeant
followed it's evolution, turning into a big mess. I suspect there are probably days when Chris thinks about re-writing the whole thing from scratch ;-) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy

Re: Cookies

2000-05-24 Thread Matt Sergeant
address 80 GET / HTTP/1.1 Host: virtualhost return -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: global variables and reparsing question (low priority ;)

2000-05-23 Thread Matt Sergeant
of segfaults, none of which went unsolved as far as I know... Ah well, there are still stability issues, but that's C programming for you ;-) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-23 Thread Matt Sergeant
the same kind of thing. How about HTML::FormGen? HTML::Forms? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: not porn at all !

2000-05-23 Thread Matt Sergeant
On Tue, 23 May 2000, Brigitte Defoort wrote: Hey... I hope that it is the correct address to post this : Josh is it ? ;-) It's not the correct address. You included a mod_perl mailing list, and your job has no perl content at all. -- Matt/ Fastnet Software Ltd. High Performance Web

Re: mod_perl and IPC

2000-05-23 Thread Matt Carothers
to use only had 32 segments and something like 10 semaphore identifiers. In order to scale a system, you'll need to recompile the kernel with higher limits. - Matt

Re: Project Information

2000-05-22 Thread Matt Sergeant
hunting, or looking for a free software project to work on to hone your skills? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: mod_perl and BSDi 4.1

2000-05-21 Thread Matt Carothers
On Fri, 19 May 2000, Russell Hay wrote: BSDi/4.1 ... cannot find libperl.so. Find the directory on your machine with libperl.so in it (probably /usr/libdata/perl5/i386-bsdos/5.00402/CORE or /usr/local/lib/perl5/5.00502/i386-bsdos/CORE/), add it to /etc/ld.so.conf, and run ldconfig. - Matt

Re: LARGE PERL footprint

2000-05-20 Thread Matt Sergeant
, consider using a hash - that will give you a slight speed penalty at the benefit of not consuming quite so much ram. Other things to consider: Re-write this critical bit of code in XS (not as hard as it sounds). Use a database. Use the filesystem. -- Matt/ Fastnet Software Ltd. High Performance Web

Re: [preview] Search engine for the Guide

2000-05-19 Thread Matt Sergeant
to something that could work? It's all built in perl so you're free to add and remove stopwords or change the min word length as you like. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-19 Thread Matt Sergeant
or stylesheets. just my 2p. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

[ANNOUNCE] AxKit 0.65

2000-05-19 Thread Matt Sergeant
(*) Perl supported in AxKit, Java and Javascript supported in Cocoon. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: writing code that works on machines with or without mod_perl

2000-05-18 Thread Matt Sergeant
-request; ... MOD_PERL_CODE Better still: eval { die unless $ENV{MOD_PERL}; require Apache; my $r = $Apache-request; ... }; Then you've got no (at least much less than the above) run-time overhead. -- Matt/ Fastnet Software Ltd. High Performance Web

Re: writing code that works on machines with or without mod_perl

2000-05-18 Thread Matt Sergeant
subroutine or variable names into your package. It is exactly equivalent to BEGIN { require Module; import Module LIST; } ^^^ except that Module Imust be a bareword. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, X

Re: passing Apache::File to XS code that expects FILE *?

2000-05-18 Thread Matt Sergeant
On Thu, 18 May 2000, Vivek Khera wrote: "DM" == Doug MacEachern [EMAIL PROTECTED] writes: DM On Wed, 17 May 2000, Matt Sergeant wrote: Well, this may be true, but if you load IO::File before startup then it's not too big a deal... DM but it still adds a great dea

Re: [preview] Search engine for the Guide

2000-05-18 Thread Matt Sergeant
, and should be split (IMO) on =head1's. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: [preview] Search engine for the Guide

2000-05-18 Thread Matt Sergeant
involving perl. Try searching for Apache::Constants, for example. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: Apache::DBI and autocommit

2000-05-17 Thread Matt Sergeant
() if it fails # non-db stuff that calls die() if it fails $db-commit; -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-17 Thread Matt Sergeant
ate domain (modperlguide.org?, guide.perl.apache.org?)? guide.modperl.org ? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-17 Thread Matt Sergeant
I've heard, but: * Where is it? (doing a Find on the front page doesn't show it) At the bottom of all guide pages. * Does it do highlighting? No. * Can you select a subset of the site? (e.g. just the Guide) No. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, X

Re: Guide search engine (was Re: multiple copies of a module)

2000-05-17 Thread Matt Sergeant
limitation, IMHO. However patching it to support that shouldn't be too hard. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: passing Apache::File to XS code that expects FILE *?

2000-05-17 Thread Matt Sergeant
necessary that I do this, of course, it would just be nice so I can use Apache::File-tmpfile(). Of course I can do the same basic thing with POSIX::tmpnam().) Or IO::File-new_tmpfile(); -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle

Re: passing Apache::File to XS code that expects FILE *?

2000-05-17 Thread Matt Sergeant
On Wed, 17 May 2000, Jim Winstead wrote: On May 17, Matt Sergeant wrote: Or IO::File-new_tmpfile(); I'd rather not go there. http://marc.theaimsgroup.com/?l=apache-modperlm=95454378223412w=2 Well, this may be true, but if you load IO::File before startup then it's not too big a deal

[ANNOUNCE] AxKit 0.62

2000-05-15 Thread Matt Sergeant
stylesheets). AxKit: http://xml.sergeant.org/axkit/ Download: http://xml.sergeant.org/download/ -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http

Re: an idea for a PerlFixupHandler

2000-05-14 Thread Matt Sergeant
ike useful frameworks. :) Nah - go for it. AxKit's XMLFinder does something pretty similar, only in not quite as generic a way, so it would be perfectly possible. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Emai

AxKit update

2000-05-11 Thread Matt Sergeant
nteraction. I'm also working on an XML compiler for this, that compiles XML into Perl code generating SAX events. If any of this gets your interest, then wander on over to http://xml.sergeant.org/axkit/ (xml.sergeant.org is 100% axkit built) -- Matt/ Fastnet Software Ltd. High Performance Web S

Re: may be an offtopic question..

2000-05-10 Thread Matt Sergeant
?? I have looked apache site and cpan site.. but couldn't find any documentation... Can somebody give me some idea please?? I can do better than give you some advice! http://www.modperl.com/book/chapters/ch6.html -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing

Re: [Summation] 100% sessions?

2000-05-10 Thread Matt Sergeant
"../../index.html" which seems ugly IMO) If you're doing site-wide URL re-writing, you might as well re-write outside URL's to a redirect CGI, so that the session doesn't go in the referer. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase

Wierd error log entry:

2000-05-10 Thread Matt Sergeant
Apache::StatINC: Can't locate /usr/lib/perl5/site_perl/5.0 at /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/StatINC.pm line 19. Granted this is a development server and I do some wierd stuff, but that's just bizarre... Any ideas? -- Matt/ Fastnet Software Ltd. High Performance Web

Re: Wierd error log entry:

2000-05-10 Thread Matt Sergeant
the error :) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: OT: Re: Most nonesense I've ever read about mod_perl

2000-05-08 Thread Matt Sergeant
daemon, and there's other stuff that I _can't_ use it for, like in the kernel. Do a web search for perlfs - yes someone really did embed perl into the Linux kernel ;-) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email

RE: Most nonesense I've ever read about mod_perl

2000-05-08 Thread Matt Sergeant
- that's certainly all that appears to be taught here in the UK (learning languages has to be done on your own time generally, even ones that are a core part of your course). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions

RE: [excitement :)] mod_perl rocks!

2000-05-08 Thread Matt Sergeant
h mod_perl on. Whereas more IP addresses really doesn't tell you much - especially if an ISP hosts 200 hosts or more on 1 box! -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://se

Re: Content negotiation headers

2000-05-07 Thread Matt Sergeant
? Install a handler that sets $r-filename: $r-filename($r-filename . '.xml') if -e ($r-filename . '.xml'); (note that AxKit can do all this for you, and comes with a FileSuffix style chooser which does similar to what you're after). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

Most nonesense I've ever read about mod_perl

2000-05-06 Thread Matt Sergeant
http://slashdot.org/comments.pl?sid=00/05/05/0137201cid=250 There's a real good reply below, but terribly formatted (all italics). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy

Re: Redirecting Problem --- Please look at this patiently.

2000-05-05 Thread Matt Sergeant
a PerlHandler that does $r-internal_redirect(URI); -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: PerlAddVar ?

2000-05-05 Thread Matt Sergeant
for PerlSetVar, you can have only PerlAddVar for everything. And/or PerlSetVar to reset the list to 1 element. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org

apxs and first class configuration

2000-05-05 Thread Matt Sergeant
into your server apxs:Error: binary `/usr/local/apache/bin/httpd'. But it compiles correctly anyhow. Is this just a check to make sure you have mod_so compiled in? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email

Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
/xsl' = 'Apache::AxKit::Language::XSLT' ], ... ); /Perl I don't see why not, and I haven't tested it, but I just thought I'd double check here first. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training

Re: Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
Answering myself: It works. Damn this product (mod_perl) is cool! On Fri, 5 May 2000, Matt Sergeant wrote: I have someone on the AxKit list asking if there's a way to do configuration outside of .htaccess files. I figure rather than writing some new code to do this, Perl sections could

Re: Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Stas Bekman wrote: On Fri, 5 May 2000, Matt Sergeant wrote: Answering myself: It works. Damn this product (mod_perl) is cool! On Fri, 5 May 2000, Matt Sergeant wrote: I have someone on the AxKit list asking if there's a way to do configuration outside

Re: Perl sections and custom configuration directives

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, brian moseley wrote: On Fri, 5 May 2000, Matt Sergeant wrote: Actually the idea comes from setting up the style map based on an external XML site map, which would do things similar to apache's Files and Location directives, and then put them into the appropriate

Memory leak in DBD::Connect()

2000-05-05 Thread Matt Barringer
. This problem is using the Oracle 8.1.5 libraries. Thanks, Matt

Re: PerlHandler stopped working???

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: On Tue, 25 Apr 2000, Matt Sergeant wrote: I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I guess. For example, say your config contains: oh yeah

Re: PerlAddVar ?

2000-05-05 Thread Matt Sergeant
On Fri, 5 May 2000, Doug MacEachern wrote: On Thu, 4 May 2000, Matt Sergeant wrote: How do you get at $r in a directive handler? other way around, you get at directive handler config from a handler, which has been passed $r, e.g.: sub handler { my $r = shift; my $cfg

Re: Apache::ModuleConfig

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, raptor wrote: hi, someone to know is there Apache::ModuleConfig as separate package...? No, it comes with mod_perl. I think you require mod_perl 1.17 or higher. Can anyone on the mod_perl list confirm this? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

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

2000-05-04 Thread Matt Sergeant
On Thu, 4 May 2000, Stas Bekman wrote: On Wed, 3 May 2000, Matt Sergeant wrote: On Wed, 3 May 2000, Stas Bekman wrote: Yeah, I've been thinking about it. There was one site that has offered me to provide a good search engine and they did, but the problem is that they didn't keep

Re: Templates.

2000-05-04 Thread Matt Sergeant
to convert home made tags with data, then you're probably going to love AxKit. It's an XML based solution, using W3C standards, that offers a caching template solution for you. http://xml.sergeant.org/axkit/ (hopefully soon to be axkit.org, if Demon get moving on it...) -- Matt/ Fastnet Software

Re: headless operation

2000-05-02 Thread Matt Sergeant
It's not a language use I've come across before, so maybe further explanation is required. But before you get back to me, take a look at http://xml.sergeant.org/axkit/ and see if it's in any way what you're looking for. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing m

Re: High memory usage [Was: Hi, goor morning modperlers]

2000-05-02 Thread Matt Sergeant
not a huge amount of help, but you reading the mod_perl guide will be: http://perl.apache.org/guide/ Look for the bits on memory usage (I'm sure someone here will give you a direct URL in about 5 minutes...). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML

Re: headless operation

2000-05-02 Thread Matt Sergeant
cking and suggesting, and you'll shape where it goes from here. (with AxKit, association with different media devices from the standard W3C list is automatic, and picking a stylesheet based on alternates is just a plugin away). http://xml.sergeant.org/axkit/ -- Matt/ Fastnet Software Ltd. High Perform

Re: headless operation

2000-05-02 Thread Matt Sergeant
required to deliver the sort of dynamic application that serves from databases or user input using this kind of MVC system. But I'm working on it. Hopefully others will soon too... http://xml.sergeant.org/axkit/ -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XM

PerlAddVar ?

2000-05-01 Thread Matt Sergeant
ot set on the name PerlAddVar, if that's anyone's concern - but what about the idea of it?) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
ey val Sounds cool to me. Naming things is still the hardest problem in Computer Science today... :-) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
etting multiple values for non-programmers, and it breaks as soon as you start needing spaces in values or something wierd that happens to break the parser code (from the Eagle book). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracl

Re: PerlAddVar ?

2000-05-01 Thread Matt Sergeant
rom arrays), but PerlSetArray and PerlPushArray seem quite useful to me - although I don't think the name is quite right - if I'm doing stuff for non-programmers, the name "Array" means nothing to them, and "Push" means even less! ;-) -- Matt/ Fastnet Software Ltd. High Perform

Re: Strange mod_perl output problem - Followup

2000-05-01 Thread Matt Sergeant
). Anyway, the solution I came up with was just sprintf: ##.## becomes %2.2f .## becomes %4.2f Pad all strings with (" " x 80) before using, and set their length with: %.25s for a max 25 char string. Or prefix the string with (" " x 80) for right-justifying. Works lik

Re: 2 server setup w/mod_proxy with a per-filename filter

2000-05-01 Thread Matt Carothers
for some mod_rewrite examples from a couple of weeks ago on this list. - Matt

[ANNOUNCE] AXDTK-0.05

2000-04-30 Thread Matt Sergeant
to that new package. Apache::XPathScript stylesheets are turning in at about 80 hits/sec on my development box (heavily overloaded box running Apache::StatINC and a lot of other stuff). http://xml.sergeant.org/axdtk/ -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing

Re: Apache::ASP rules [was: Sorry men]

2000-04-28 Thread Matt Sergeant
get IIS+MTS+Index Server running -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

RE: Security in displaying arbitrary HTML

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Gerald Richter wrote: Gerald, what about Embperl, does it escape \x8b? No, there is no html escape for \x8b (and I guess the other one Matt mentioned is \0x8d for ) I know, so Embperl will not escape it, but this could be simply change by an entry in epchar.c. Any

Re: Security in displaying arbitrary HTML

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Marc Slemko wrote: On Thu, 27 Apr 2000, Matt Sergeant wrote: Unfortunately there's also a browser bug to contend with. They treat \x8b (I think that's the right code) as and there's a similar code for . Since most web developers are just doing s//lt;/g

Re: Proxy front end behind 64k

2000-04-28 Thread Matt Sergeant
On Fri, 28 Apr 2000, Dave Hodgkinson wrote: Matt Sergeant wrote: I'm behind a 64k leased line here (net access is *extremely* expensive here in the UK) and I was thinking, a proxy front end is probably really not necessary for me. Worst case scenario: I get 8 clients connecting to my

[ANNOUNCE] AXDTK 0.01

2000-04-27 Thread Matt Sergeant
available at the moment, after installing type "perldoc Apache::XMLStylesheet" to get general install instructions. Discussion of AXDTK takes place on the mailing list. Sent a mail to [EMAIL PROTECTED] to subscribe, or browse the archive at http://xml.sergeant.org/cgi-bin/ezmlm-cgi/2

Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
is just making more work! Just a thought for anyone thinking about a proxy front end - evaluate your pipe too. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org

Re: Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
delivered from the cache or chain of caches it is more efficient that's for sure.. and that always is better IMHO If I can't serve pages any faster, or to more people because of bandwidth limitations - what good can it do me? -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

Re: Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
in the amount of free resources for other programs. I'm going to try it. I'll let people know... -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http

Re: Proxy front end behind 64k

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, Matt Sergeant wrote: 1 mod_perl process could handle all the load you could possibly generate, and just let the mod_proxies build up and you'll see a lot lower memory usage on your box... seriously, in low bandwidth situations if your using the box for more than

mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Matt Sergeant
DocumentRoot... ErrorLog... CustomLog... /VirtualHost ... etc, for all nbvh's. It can't be this hard, can it? I just want my vhosts config on 1 server - not both! And I don't want to be changing my setup - i.e. no mod_rewrite to rewrite to DocRoot/hostname - that's just annoying! -- Matt

Re: mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Matt Sergeant
that out - otherwise there would be a port conflict and one of the httpds wouldn't start. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: mod_proxy and Name based Virtual Hosts

2000-04-27 Thread Matt Sergeant
On Thu, 27 Apr 2000, Vivek Khera wrote: "MS" == Matt Sergeant [EMAIL PROTECTED] writes: MS OK, just to get this onto a different subject line... I can't seem to get MS mod_proxy to work on the front end with name based virtual hosts on the MS backend, I can only get it to work

Re: Security in displaying arbitrary HTML

2000-04-27 Thread Matt Sergeant
open to this bug - I think Lincoln has fixed the HTMLEncode function now though. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

Re: $r-set_handlers behavior?

2000-04-26 Thread Matt Sergeant
seeing set_handlers as persisting with the child and push_handlers as being per-request. Personally, I'd rather have set_handlers per-request as well for situations where I want to add a handler but reorder it with the existing ones as well... set_handlers is per-request. -- Matt/ Fastnet

Mailing list for AXDTK

2000-04-25 Thread Matt Sergeant
interest in this mail me direct and I'll set something up. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

AXDTK Mailing List open!

2000-04-25 Thread Matt Sergeant
I had a pretty good response to the offer of a mailing list for the Apache XML Delivery Toolkit - and very fast too! So before more people say yes go ahead... send a blank mail to mailto:[EMAIL PROTECTED] and join the list! -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

Re: [RFC] XML/Apache Templating with mod_perl

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Leslie Mikesell wrote: According to Matt Sergeant: In case you missed it - I just announce the Apache XML Delivery Toolkit to both the modperl list and the Perl-XML list. With it you can develop an XSLT Apache module in 13 lines of code (no caching, but it works

Re: PerlHandler stopped working???

2000-04-25 Thread Matt Sergeant
On Tue, 25 Apr 2000, Doug MacEachern wrote: On Sat, 22 Apr 2000, Matt Sergeant wrote: On Sat, 22 Apr 2000, Matt Sergeant wrote: The only thing I can think of, is that Apache::MimeXML is somehow stopping the PerlHandler phase from being executed. Can it do that (but still allow

Apache XML Delivery Toolkit

2000-04-25 Thread Matt Sergeant
nger! Download AXDTK at http://xml.sergeant.org/download/ It's not well organised right now. The key component is Apache::XMLStylesheet. To use that you need XML::Parser and Apache::MimeXML(0.05). The only plugins available are Apache::XPathScript and Apache::XPath::NotXSLT, and an XSLT plugin that's in the lis

Re: PerlHandler stopped working???

2000-04-25 Thread Matt Sergeant
? (we're talking 20 requests/sec vs 80 here - a huge difference). -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org

<    3   4   5   6   7   8   9   10   >