Re: Antwort: RFC: DBI::Prof

2000-12-01 Thread Matt Sergeant
for the better workwise now and I hope to get back to regular DBI and DBD::Oracle (and Oracle::OCI) work early next year. You said that at TPC :-) -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org

Apache::Dispatch directives

2000-12-01 Thread Matt Sergeant
... do not seem to be allowed in .htaccess files. I don't see a reason for this restriction, Geoff ??? Particularly, I want to just be able to say: DispatchPrefix MyModule in a .htaccess file and have it just work. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd

Re: RFC: Apache::Carp - Error Handling under mod_perl

2000-11-30 Thread Matt Sergeant
the apache-specific function flag to CGI::Carp instead of making a brand-new module? Can we not burn CGI::Carp yet? :-) I'm assuming this new module is also based on $SIG{__DIE__}... in which case, shoot me now. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML

Re: More Speed - mod_perl Module for HTML Compression

2000-11-30 Thread Matt Sergeant
the limiting factor of what I can serve - the pipe is. So I gzip and can serve more pages. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http

RE: More Speed - mod_perl Module for HTML Compression

2000-11-30 Thread Matt Sergeant
chain PerlHandlers into it) just beware that not all browsers that claim to accept gzip compression actually do... No its the other way around. Not all browsers that can accept gzip send out Accept-Encoding: gzip. Notably early versions of IE4. -- Matt/ /||** Director and CTO

RE: More Speed - mod_perl Module for HTML Compression

2000-11-30 Thread Matt Sergeant
your HTML content and won't handle your CSS files or anything else :-) /shameless_plug -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site

Re: segmentation fault when using custom config module

2000-11-29 Thread Matt Sergeant
On Wed, 29 Nov 2000, Dave Rolsky wrote: my $cfg = Apache::ModuleConfig-get($r); Try: my $cfg = Apache::ModuleConfig-get($r, __PACKAGE__); -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org

Re: Apache::SSI design questions

2000-11-29 Thread Matt Sergeant
, but I'd rather not do that. Hi Ken, Why not Apache::Util::ht_time()? Or if you need to run outside of mod_perl, Time::Object::strftime (which doesn't load all of POSIX.pm, but is done in XS, so is faster/lighter than Date::Format). -- Matt/ /||** Director and CTO

Re: WebDAV support in mod_perl

2000-11-29 Thread Matt Sergeant
with the expat-lite in Apache conflicting with XML::Parser's expat? Just compile Apache with RULE_EXPAT=no, and if you want to compile mod_dav with the shared expat on expat.sourceforge.net then use the patches in http://axkit.org/download/ -- Matt/ /||** Director and CTO

Re: Does mod_perl have anything to do with KeepAlive?

2000-11-28 Thread Matt Sergeant
headers, and it should re-use the same connection next time around assuming the keepalive hasn't timed out. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: [OT] Mixing C and HTML code just like in ePerl?

2000-11-28 Thread Matt Sergeant
Inline.pm But if ePerl is slow then its probably not compiling the script to Perl. Try something like embperl, or one of the many other solutions. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathS

Re: RFC: DBI::Prof

2000-11-28 Thread Matt Sergeant
On Tue, 28 Nov 2000, Stas Bekman wrote: Or is there any reason for not using DBI::? Tim mandates it. DBI:: is reserved for DBI only. DBD::* is reserved for DBD drivers only, anything else goes in DBIx. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML

Re: RFC: DBI::Prof

2000-11-28 Thread Matt Sergeant
the database's in-built profilers. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org

Need content editors

2000-11-26 Thread Matt Sergeant
people, so please only respond if you have about 1/2 an hour each day you can dedicate to the site, and knowledge of mod_perl and XML would be a definite bonus, though you will learn AxKit and XML in the process if you don't already. Contact me directly if you're interested. -- Matt

Re: i am looking for mod perl tutor

2000-11-23 Thread Matt Sergeant
you want to attend a conference. See http://www.apachecon.com/ -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org

Re: [ libapreq ] desesperatly need of .32 or .33

2000-11-22 Thread Matt Sergeant
more likely to spend time applying patches than writing them. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Matt Sergeant
On Wed, 22 Nov 2000, Mark Doyle wrote: On Tuesday, November 21, 2000, at 06:28 PM, Matt Sergeant wrote: HTTP::GHTTP is a lightweight HTTP client library based on the gnome libghttp library. It offers a pretty simple to use API for doing HTTP requests. This can be useful under

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Matt Sergeant
On Wed, 22 Nov 2000, clayton cottingham wrote: man that is one crazy module! in under ten minutes i had the thing running! kudos again to you matt! I'd be happy if it wasn't turning out to be more popular than AxKit! *sigh* :-) -- Matt/ /||** Director and CTO

Re: moidperl, OOP DBI

2000-11-21 Thread Matt Sergeant
should get yourself a book about OO design. Or you can use a Singleton (see Class::Singleton on CPAN, or write your own Singleton module - its only about 10 lines of code). -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http

[ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Matt Sergeant
t; print $r-get_body; Supports proxies and authentication too. Heading to CPAN now. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site:

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Matt Sergeant
On Tue, 21 Nov 2000, Matt Sergeant wrote: This is a bit off topic as its not specifically mod_perl, but I wrote it for use in a mod_perl environment, so I figure it will be useful to other people. HTTP::GHTTP is a lightweight HTTP client library based on the gnome libghttp library

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-21 Thread Matt Sergeant
On Tue, 21 Nov 2000, Perrin Harkins wrote: On Tue, 21 Nov 2000, Matt Sergeant wrote: HTTP::GHTTP is a lightweight HTTP client library based on the gnome libghttp library. It offers a pretty simple to use API for doing HTTP requests. This can be useful under mod_perl because

Re: Probably [OT] Are there any Simple Generic Server modules

2000-11-20 Thread Matt Sergeant
modules for it, including things like an IRC bot, and a TCP/IP listener. All in the same POE kernel. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal

Re: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-14 Thread Matt Sergeant
On Tue, 14 Nov 2000, Greg Cope wrote: I'd like to see a talk on templating systems and mod_perl. Hint to whomever is watching. :) Your trying to reignight that old thread don the flame proff stuff, seriously this would be a good mod_perl thing. Matt are you going to do something

RE: Inline.pm

2000-11-14 Thread Matt Sergeant
for things that don't need external libraries I think it is probably a great way to go. And a much better introduction to the internals than straight XS. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org

Re: Fast DB access

2000-11-09 Thread Matt Sergeant
On Thu, 9 Nov 2000, Ask Bjoern Hansen wrote: On Wed, 11 Oct 2000, Matt Sergeant wrote: Most modern DBMS software should be able to handle 50 queries per second on decent hardware, provided the conditions are right. You're not going to get anything better with flat files

Re: dynamic vs. mostly static data

2000-11-03 Thread Matt Sergeant
a way to invalidate the cache, but I know that is planned. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Re: HTTP Mod_Perl mini-server

2000-11-03 Thread Matt Sergeant
increase doing it this way. If you're that concerned about perhaps the weight of Apache + mod_perl, consider trying TUX or thttpd, or something else lightweight written in C. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving

Re: zlib error?

2000-11-02 Thread Matt Sergeant
mory leaks in AxKit. The techniques I used should help you, I hope. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Putting together the TPC mod_perl track

2000-11-01 Thread Matt Sergeant
Stas et al, Since its getting towards the end of the year, should we be thinking of putting together a mod_perl track for TPC? Has anyone got any ideas on what they'd like to either a) talk about, or b) hear talks about ? -- Matt/ /||** Director and CTO ** //||** AxKit.com

Re: return from nested functions

2000-11-01 Thread Matt Sergeant
exceptions ; } And then anywhere within your code you can go: throw Exception::RetCode ( code = SERVER_ERROR ); Of course there's a bit of setup to do beyond that, which I intend to rewrite the section of the guide to detail real soon now (tm). -- Matt/ /||** Direct

Re: Seg Fault Issues- mod_perl and XML::Parser

2000-11-01 Thread Matt Sergeant
response yet). -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Re: Putting together the TPC mod_perl track

2000-11-01 Thread Matt Sergeant
On Wed, 1 Nov 2000, Marc Spitzer wrote: what is AO? A port of the servlets architecture to mod_perl. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: Apache::GzipChain

2000-10-30 Thread Matt Sergeant
and check for gobbledegook. But it tends to stuff up your terminal :-) -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http

RE: maximum (practical) size of $r-notes

2000-10-30 Thread Matt Sergeant
table for a perl data structure. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

ApacheCon presentation available

2000-10-30 Thread Matt Sergeant
http://axkit.org/docs/presentations/apachecon2k.sdd The presentation is in Star Office (open office) format. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: Connection Pooling / TP Monitor

2000-10-29 Thread Matt Sergeant
(although apparently it needs patching for the latest version of mod_backhand). -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http

Re: how to really bang on a script?

2000-10-28 Thread Matt Sergeant
requests. Really you have to do that in C I think - and you should probably just look towards the source of ab. FWIW, I think it was Theo Schlossnagel (mod_backhand guy) talking about the utility, in fact I'm almost certain. Why don't you drop him a line. -- Matt/ /||** Director and CTO

Re: ApacheCon report

2000-10-28 Thread Matt Sergeant
On Sat, 28 Oct 2000, Greg Cope wrote: Matt Sergeant wrote: http://modperl.sergeant.org/ApacheConRep.txt Enjoy. Thanks for that Matt, I did enjoy it - IBM's party coninciding with Suns keynote made me chukle ;-) I eventually could not make the conferance due to a nasty deadline

Re: An idea, for comments

2000-10-27 Thread Matt Sergeant
$return = eval $str. 5: find a redirection page for that ( package, action, result ) That all, it's work fine and it's allowing to call package/object methods whithout having fake pages to maintains. Comments are very, very welcomes -- Don't be irreplaceable, if you can't be

RE: An idea, for comments

2000-10-27 Thread Matt Sergeant
when running under 1.24 (needs to be done physically in the file when you run Makefile.PL otherwise it will crash). -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: Connection Pooling / TP Monitor

2000-10-27 Thread Matt Sergeant
on pooling for speed issues, especially in Perl (due to the XML parsing speed issues). -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web

Re: ApacheCon report

2000-10-27 Thread Matt Sergeant
often takes buzzwords to make the world sit up and take notice and focus on the right thing to be doing, even though they may not know it themselves! -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http:/

RE: ApacheCon report

2000-10-27 Thread Matt Sergeant
implementation sheme now? No that's right. Its the difference between high availability (which BigIP *can* do) and load balancing (which backhand does). -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT

Re: Connection Pooling / TP Monitor

2000-10-27 Thread Matt Sergeant
... Unfortunately I don't have a need for this right now, so I'm not willing to put the hacking tuits into it. Sorry :-( -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: Connection Pooling / TP Monitor

2000-10-27 Thread Matt Sergeant
On Fri, 27 Oct 2000, Tim Bunce wrote: On Thu, Oct 26, 2000 at 08:47:20PM +0100, Matt Sergeant wrote: On Tue, 24 Oct 2000, Jeff Horn wrote: However, I am also aware of a _major_ ISP that implements their email system using a _major_ RDBMS that has had problems that are best solved

Re: Connection Pooling / TP Monitor

2000-10-27 Thread Matt Sergeant
- the pre-forking server from the cookbook would be better. And it should even work on Win32 now... -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: Connection Pooling / TP Monitor

2000-10-26 Thread Matt Sergeant
, I can honestly recommend looking at mod_backhand to simply have a few servers that run the DBI pool, and have database intensive requests go to those servers. It is a *very* cool solution to just these sorts of scalability problems. PS: I'll have an ApacheCon report "coming soon".

Re: MyClass::import() not being called.

2000-10-20 Thread Matt Sergeant
being called. And it won't be called for: require MyClass; -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Re: OT: ApacheCon/Europe

2000-10-19 Thread Matt Sergeant
like to hear about what other people are working on. Well there's nothing yet planned for Sunday night, how about we meet in some pub near the Olympia/Hilton ? -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org

Re: [OT] uploaded files and multi-paged forms

2000-10-19 Thread Matt Sergeant
than 60 minutes or so periodically. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Re: [OT] uploaded files and multi-paged forms

2000-10-19 Thread Matt Sergeant
On Thu, 19 Oct 2000, Alexander Farber (EED) wrote: Matt Sergeant wrote: Not multiple times, but let them upload and store in a temp file, which you can store the filename as a hidden field. Use File::MkTemp to create the filenames. Thanks for the advice, but doesn't File::MkTemp have

Re: ApacheCon Sunday Pub Meet

2000-10-19 Thread Matt Sergeant
!)... Matt Sergeant wrote: How about Harvey Floorbangers, from 7 till late. (erm, I think late might still be 11pm for england *sigh*)... "With a name like Harvey Floorbangers you'd expect this to be a cheesy theme bar with singing bar staff and signed guitars on the wall. Thank

ApacheCon Sunday Pub Meet

2000-10-19 Thread Matt Sergeant
ional English pub frequented by locals and visitors to the Olympia Exhibition Building across the road." Sound OK to everyone? (Stas, I'm sure they serve tomato juice too...:) -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||

Re: ApacheCon Sunday Pub Meet

2000-10-19 Thread Matt Sergeant
On Thu, 19 Oct 2000, Tim Sweetman wrote: Matt Sergeant wrote: On Thu, 19 Oct 2000, Tim Sweetman wrote: It's even worse than that! 10:30pm on a Sunday... OK, then we have to head back to the Hilton (hotel bars are still allowed to be open late, right?) Hmm, not 100

Re: XML help (offtopic)?

2000-10-18 Thread Matt Sergeant
cases, for example you can't pass a DBI handle over SOAP, obviously, and the same goes for globs and filehandles. But other than that its almost transparent! -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org

Re: ht_time vs. strftime

2000-10-17 Thread Matt Sergeant
On Mon, 16 Oct 2000, David E. Wheeler wrote: Matt Sergeant wrote: On Mon, 16 Oct 2000, David E. Wheeler wrote: I'm confused. Why are you using gmtime then? Because if no time is supplied, I want it to default to GMT. I'm setting up an app in which the database will store date/time

Re: ht_time vs. strftime

2000-10-17 Thread Matt Sergeant
On Tue, 17 Oct 2000, David E. Wheeler wrote: Matt Sergeant wrote: You should still switch to Time::Object. Loading POSIX.pm still loads in the .so which contains loads of cruft for things you don't want/need. Whereas loading Time::Object is a lot smaller. Of course I'm not sure how

Re: ht_time vs. strftime

2000-10-16 Thread Matt Sergeant
:42 PDT Sadly gmtime doesn't return any component indicating the timezone. Of course why not print out GMT instead of %Z? Alternatively, why not use Time::Object? It implements strftime without the overhead of POSIX.pm, and does it in XS too. -- Matt/ /||** Director and CTO ** //||**

Re: ht_time vs. strftime

2000-10-16 Thread Matt Sergeant
On Mon, 16 Oct 2000, David E. Wheeler wrote: Matt Sergeant wrote: Sadly gmtime doesn't return any component indicating the timezone. Of course why not print out GMT instead of %Z? Because it won't always be GMT. I'm confused. Why are you using gmtime then? Alternatively, why

Re: Spinning httpd

2000-10-13 Thread Matt Sergeant
query} =~ /\G(?:^|\s)[("]*\S$size\*/gc; -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
modern DBMS software should be able to handle 50 queries per second on decent hardware, provided the conditions are right. You're not going to get anything better with flat files. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
On Wed, 11 Oct 2000, Sander van Zoest wrote: On Wed, 11 Oct 2000, Matt Sergeant wrote: Most modern DBMS software should be able to handle 50 queries per second on decent hardware, provided the conditions are right. You're not going to get anything better with flat files. Hmm... I

Re: $r-dir_config at server startup?

2000-10-11 Thread Matt Sergeant
-server-dir_config('foo'); # IIRC -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
On Wed, 11 Oct 2000, Sander van Zoest wrote: On Wed, 11 Oct 2000, Matt Sergeant wrote: Lots of places use databases for read-only queries. Having a database that gets lots of similar queries that are read-only makes it an unnecessary single point of failure. Why not use the local disk

Re: XML::Parse segmentation fault

2000-10-10 Thread Matt Sergeant
On Mon, 9 Oct 2000, Herrington, Jack wrote: Is there some inherint problem with XML::Parser and mod_perl? Yes. You need to recompile Apache with RULE_EXPAT=no. I'm hoping that now that expat has a standard distribution that the Apache team will be proactive in fixing this bug. -- Matt

RE: :Parse segmentation fault

2000-10-10 Thread Matt Sergeant
in expat support. But nothing serious. -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd ** ** XML Application Serving ** // ||** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** Personal Web Site: http://sergeant.org/ ** \\// //\\ // \\

RE: XML::Parse segmentation fault

2000-10-10 Thread Matt Sergeant
if you compile Apache from mod_perl's Makefile.PL. From what I've heard, Greg Stein is now aware of the problem and willing to work it out for the next Apache release. But whether that happens remains to be seen... -- Matt/ /||** Director and CTO ** //||** AxKit.com Ltd

Re: httpd keeps growing

2000-10-07 Thread Matt Sergeant
stall Apache::Reload and try that instead. -- Matt/ ** Director and CTO ** ** AxKit.com Ltd ** ** XML Application Serving ** ** http://axkit.org ** ** XSLT, XPathScript, XSP ** ** Personal Web Site: http://sergeant.org/ **

RE: HTML::Mason/ AxKit / Apache::Filter

2000-10-06 Thread Matt Sergeant
that Mason's output is going to the browser *and* AxKit, rather than just to AxKit. Now of course it could be an AxKit bug, I just haven't had time to evaluate it yet (and I don't have Mason installed...) -- Matt/ ** Director and CTO ** ** AxKit.com Ltd ** ** XML Application Serving ** ** http

Re: httpd keeps growing

2000-10-06 Thread Matt Sergeant
ed to define MyError::* somewhere. Thats all documented in the Error.pm docs. Sounds like a long winded process? Sure. But I'm saving you a lot of heartache looking for this. And you'll be glad of structured exception handling in the long run. (Stas - maybe I should clean this up and add it to t

Re: httpd keeps growing

2000-10-06 Thread Matt Sergeant
On Fri, 6 Oct 2000, Bill Moseley wrote: At 09:06 AM 10/06/00 -0400, Andreas Schiffler wrote: Along with what Matt recommended (although I would have suggested beer, too), something I did yesterday to track down a leak was to go into every module I had modified lately and added warn's

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
behaviour or am I looking in completely the wrong area for the source of the problem? No its a bug. It also occurs if the QUERY_STRING is just 0 on its own. -- Matt/ ** Director and CTO ** ** AxKit.com Ltd ** ** XML Application Serving ** ** http://axkit.org ** ** XSLT, XPathScript, XSP

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
when you're going: if ($r-param('name')) { # do something } if its a zero then you should expect to be bitten in the ass by that one. However I do assume that there's similar code going on somewhere to turn the zero into undef. -- Matt/ ** Director and CTO ** ** AxKit.com Ltd

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Dana C. Chandler III wrote: Yes, in particular, $value = $r-param('name') || ""; Or worse, $r-param('name') || "3"; # default but true Even I'm guilty of that one sometimes :-) -- Matt/ ** Director and CTO ** ** AxKit.com Ltd ** ** XML

RE: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
handler { my $r = shift; $r-send_http_header; print "Args: ", scalar $r-args, "\n"; return OK; } 1; Now send a request with the querystring 0 to that handler. I get: Args: No zero. $ENV{QUERY_STRING} contains the zero though. -- Matt/

RE: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
oes exactly the same thing: use Apache::Request; sub handler { my $r = Apache::Request-new(shift); $r-send_http_header; print "Args: ", scalar $r-args, "\n"; return OK; } Outputs the same result. -- Matt/ ** Director and CTO ** ** AxKit.

Re: Way it is so copmplicated

2000-10-02 Thread Matt Sergeant
of one. If you have a specific problem with installing Apache::ASP then why don't you tell us what those problems are, instead of just saying "Its too hard". Maybe, just maybe, we can help you. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Syb

[ANNOUNCE] AxKit 1.0

2000-10-02 Thread Matt Sergeant
se, or XML generation from a database query. Dynamic web components can be built using the Perl language, making the possibilities as infinite as CGI scripts, without the potential mess that CGI programming can cause. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, X

Re: Apache::Filter/::RegistryFilter/::Compress problem.

2000-10-02 Thread Matt Sergeant
following error (reformatted): [Sun Oct 1 21:19:49 2000] [error] [Sun Oct 1 21:19:49 2000] null: Undefined subroutine Apache::RegistryFilter::handler called at /usr/local/lib/perl5/site_perl/5.005/Apache/Compress.pm line 37. Do you have StatINC in that mix anywhere?

Re: crash in modperl-1.24

2000-09-28 Thread Matt Sergeant
On Thu, 28 Sep 2000, Michael J Schout wrote: On Wed, 16 Aug 2000, Matt Sergeant wrote: On Tue, 15 Aug 2000, Mark D. Anderson wrote: The problem was the symbol conflict between XML::Parser and apache when built with expat. This has been apparently known for over a year, but has

Re: tracking down why a module was loaded?;

2000-09-27 Thread Matt Sergeant
ajority of small fee ISP's. What the ISP's need is perhaps one of the mod_perl modules, like Mason, Embperl or AxKit, or something like that. Rather than letting users write PerlInitHandlers! Unfortunately I have no idea how you might secure one of these modules, even though one is my own. -- Mat

Re: open(FH,'|qmail-inject') fails

2000-09-25 Thread Matt Sergeant
, for example DNS lookup issues with sending to different hosts. The joys of benchmarking code when the network is involved! -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http

Re: flock under win32

2000-09-23 Thread Matt Sergeant
hen I have to have something that works on that platform (not very often). -- 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 | AxKit: http://axkit.org

Re: dir_config and Apache::Table confusion

2000-09-21 Thread Matt Sergeant
? Probably because keys doesn't return the keys of an Apache::Table object, since it is implemented in C. -- 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 | AxKit

Re: OT: Server-push client page reload

2000-09-20 Thread Matt Sergeant
or so. Perhaps configurable on a user and/or server basis. -- 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 | AxKit: http://axkit.org

Re: OT: Server-push client page reload

2000-09-20 Thread Matt Sergeant
, and there are modules out there. Take a look at Apprentice, a realy slim httpd written in threaded perl, I'm sure it's somewhere on freshmeat. I was under the impression that internet explorer dropped support for server push... -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

Re: Mod-perl Perl Debugger

2000-09-19 Thread Matt Sergeant
PAN for this without success. Can anyone point me to it? Apache::DB -- 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 | AxKit: http://axkit.org

Re: Does the AxKit-devel mailing list have an archive?

2000-09-17 Thread Matt Sergeant
On Sun, 17 Sep 2000, Alexander Farber (EED) wrote: Matt Sergeant wrote: # my @vary = $r-header_out('Vary') if $r-header_out('Vary'); # push @vary, "Accept-Encoding", "User-Agent"; I think its a mod_perl bug. There's nothing leaky in the perl here.

Re: Clean way of transfering Objects between childinit and requesthandlers ?

2000-09-17 Thread Matt Sergeant
hasn't fixed this, since he does a lot of mod_perl stuff)... However copying the code is pretty trivial and adding that method is about another 3 lines. -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training

[ANNOUNCE] AxKit 0.99

2000-09-15 Thread Matt Sergeant
pretty close to 1.0). -- 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 | AxKit: http://axkit.org

Re: Does the AxKit-devel mailing list have an archive?

2000-09-15 Thread Matt Sergeant
Since a few people have asked what the leak in AxKit was, I've now setup the archive so people can go and read... On Fri, 15 Sep 2000, Wilt, Paul wrote: I would like to see how you traced down your memory leak and what the final root cause turned out to be! It does now [matt sets up

Re: tracking down why a module was loaded?;

2000-09-15 Thread Matt Sergeant
On Fri, 15 Sep 2000, Stas Bekman wrote: On Fri, 15 Sep 2000, Matt Sergeant wrote: On Thu, 14 Sep 2000, Justin wrote: Can anyone tell me the easiest slickest way of determining what was responsible for requesting a module, having discovered that it has been loaded when viewing

Re: JOB - NYC - Looking for a Linux/Apache/mod_perl/mysql programmer

2000-09-15 Thread Matt Sergeant
the cash to persuade BT to pipe DSL to my home? And flights to NY every other day would be neat (but a little tiring) :-) -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http

Re: Does the AxKit-devel mailing list have an archive?

2000-09-15 Thread Matt Sergeant
On Fri, 15 Sep 2000, ___cliff rayman___ wrote: Matt Sergeant wrote: Gzipped results to the browser, ripped straight from Apache::GzipChain: # AxKit::Debug(5, 'Getting Vary header'); # my @vary = $r-header_out('Vary') if $r-header_out('Vary'); # push @vary, "A

Re: ActivePerl 617 and GD.ppd

2000-09-14 Thread Matt Sergeant
, then you will need to put the corresponding .tar.gz file in C:/temp/x86 for ppm to work right. At least I think thats how it works... -- Matt/ Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http

RE: ActivePerl 617 and GD.ppd

2000-09-14 Thread Matt Sergeant
, it should be obvious. -- 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 | AxKit: http://axkit.org

Re: How to close connect and continue processing?

2000-09-14 Thread Matt Sergeant
. Could you send me such example? $r-register_cleanup(\do_big_work); -- 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 | AxKit: http://axkit.org

Re: How to close connect and continue processing?

2000-09-14 Thread Matt Sergeant
On Thu, 14 Sep 2000, Matt Sergeant wrote: On Thu, 14 Sep 2000, Vladislav Safronov wrote: Hi, After user request my script should say that the request is accepted and continue processing user data (it takes a time) so I want to tell the browser that all data is sent. I searched

Re: tracking down why a module was loaded?;

2000-09-14 Thread Matt Sergeant
::import { warn join(':', caller), " tried to load me\n"; } Not foolproof, and could cause more damage than good, but sometimes its a useful debugging technique. modperl is the best kept secret on the net. Shame! Indeed! -- Matt/ Fastnet Software Ltd. High Performance Web Specialists

<    1   2   3   4   5   6   7   8   9   10   >