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

2000-10-30 Thread Matt Sergeant
On Mon, 30 Oct 2000, Geoffrey Young wrote: that is my understanding... I guess that my point was that if you are going to have the data in perl somewhere the memory is going to be taken (for example, putting it in a tempfile but then local $/ and slurp). pnotes allows for passing by

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
On Sat, 28 Oct 2000, Les Mikesell wrote: Is there any way to tie proxy requests mapped by mod_rewrite to a balanced set of servers through mod_backhand (or anything similar)?Also, can mod_backhand (or any alternative) work with non-apache back end servers?I'm really looking for a way

Re: how to really bang on a script?

2000-10-28 Thread Matt Sergeant
On Sat, 28 Oct 2000, Christopher L. Everett wrote: So, I apologize for not describing my problem clearly in the first place. And again, my questions are: How would I go about proving to myself that my script does what I designed it to do? Has anyone else dealt with a similar problem,

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
You want Apache::Dispatch. It's almost exactly what you are looking for (and it really rocks, IMHO). On Fri, 27 Oct 2000, Nouguier wrote: Hi all Fist of all, sorry for my bad english... We "think/found" a technic to manage user action through a web interface. And I like to know your

RE: An idea, for comments

2000-10-27 Thread Matt Sergeant
On Fri, 27 Oct 2000, Geoffrey Young wrote: - made mod_perl 1.2401 required due to DIR_MERGE memory leak in 1.24 Thats a pretty stern requirement at least until 1.25 is released. Perhaps you could do what I intend to do with AxKit - do a regex which renames DIR_MERGE to DISABLED_DIR_MERGE

Re: Connection Pooling / TP Monitor

2000-10-27 Thread Matt Sergeant
On 27 Oct 2000, (Randal L. Schwartz) wrote: "Tim" == Tim Bunce [EMAIL PROTECTED] writes: Tim You could have a set of apache servers that are 'pure' DBI proxy Tim servers. That is, they POST requests containing SQL (for Tim prepare_cached) plus bind parameter values and return responses

Re: ApacheCon report

2000-10-27 Thread Matt Sergeant
On Fri, 27 Oct 2000, Tim Sweetman wrote: In no particular order, and splitting hairs some of the time... Sounded like mod_backhand was best used NOT in the same Apache as a phat application server (eg. mod_perl), because you don't want memory-heavy processes sitting waiting for responses.

RE: ApacheCon report

2000-10-27 Thread Matt Sergeant
On Fri, 27 Oct 2000, Geoffrey Young wrote: I was really impressed with backhand at Theo's presentation at ApacheCon US in March. From what I rememeber though, it had serious limitations in the SSL space. Did Theo touch on that? The converstation I had with him about it back then was that

Re: Connection Pooling / TP Monitor

2000-10-27 Thread Matt Sergeant
On Fri, 27 Oct 2000, Jeff Horn wrote: The only way I really see this working is in a threading environment. First of all, for some databases database connections don't survive forking (Oracle is the notable example here). Also, even if we could get forking to work, we would still get the

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
On Fri, 27 Oct 2000, Tim Bunce wrote: Sounds like just a CORBA/RPC type thing. Wouldn't you be better off using CORBA::ORBit? Maybe. I dunno. I don't actually need this stuff, I just want there to be a solution out there for those that do. I'm waving my hands around and pointing in

Re: Connection Pooling / TP Monitor

2000-10-26 Thread Matt Sergeant
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 via connection pooling. Essentially, the time it takes them to search through all the cached connections is

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

2000-10-20 Thread Matt Sergeant
On Thu, 19 Oct 2000, Rodney Broom wrote: Good evening all, I've got this happy little access handler that works just fine. Now I need for it to accept parameters through import(). The catch is that MyClass::import() isn't being called. I've done all of the obvious stuff, like including

Re: OT: ApacheCon/Europe

2000-10-19 Thread Matt Sergeant
On Wed, 18 Oct 2000, Perrin Harkins wrote: Gunther Birznieks wrote: Just wondering who all from mod_perl is going to ApacheCon/Europe next week and are there any plans to get together like there was at PerlCon. I'm going to be there. Some kind of get together would be cool. I'd

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

2000-10-19 Thread Matt Sergeant
On Thu, 19 Oct 2000, Alexander Farber (EED) wrote: How do you handle uploading files when using multi-paged forms (for example entered text and a picture are previewed before storing into the database and special directory)? Uploaded files can't be passed as hidden fields, right? So do

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
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. Thankfully, this is actually a traditional

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
On Wed, 18 Oct 2000, Adi wrote: Have you looked at SOAP::Lite and the rest of the SOAP:: hierarchy on CPAN? They may not be of direct help if you've already got a home-grown XML transport protocol, but it might give you some good ideas. And, it may save you lots of time in the long run if

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
On Mon, 16 Oct 2000, David E. Wheeler wrote: Hi All, Can anyone tell me why these are not equivalent? Shouldn't strftime know that the time returned from gmtime() is GMT? I'm trying to create a library that'll use ht_time when $ENV{MOD_PERL} is true, ans strftime otherwise. But they need

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
On Thu, 12 Oct 2000, Bill Moseley wrote: I'm in need of some ideas! I have a spinning mod_perl process. I installed a $SIG{USR2} = \Carp::confess; handler and it pointed to this line: $cnt++ while $query-{query} =~ /(?:^|\s)[("]*\S$size\*/g; Try: $cnt++ while $query-{query}

Re: Fast DB access

2000-10-11 Thread Matt Sergeant
On Wed, 11 Oct 2000, Differentiated Software Solutions Pvt. Ltd wrote: Hi, We have an application where we will have to service as high as 50 queries a second. We've discovered that most database just cannot keep pace. The only option we know is to service queries out of flat files. Can

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
On Wed, 11 Oct 2000, Bill Moseley wrote: Can I get the value of a PerlSetVar at startup? # Main server config PerlSetVar foo bar VirtualHost 80 perl package My::Handler; use strict; # Is there a way to get at 'foo'? my $foo = Apache-dir_config('foo');

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
On Mon, 9 Oct 2000, Herrington, Jack wrote: This allows for XML parsing with no change to the Perl code. I'm just not sure what I am losing in Apache (which is where I make the change). What does losing EXPAT do to Apache? You lose mod_dav, and maybe future modules that use the built in

RE: XML::Parse segmentation fault

2000-10-10 Thread Matt Sergeant
On Tue, 10 Oct 2000, Geoffrey Young wrote: 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. according to Changes, this should be automatic as of 1.23... Of course only

Re: httpd keeps growing

2000-10-07 Thread Matt Sergeant
On Sat, 7 Oct 2000, Andreas Schiffler wrote: Andreas Schiffler wrote: I have a problem that I can't explain and don't know exactly how to debug: the httpd process keeps gobbling up memory over time. In reply to my own question, I found the cuplrit after some poking around in

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

2000-10-06 Thread Matt Sergeant
On Fri, 6 Oct 2000, Geoffrey Young wrote: well, I don't use Mason or AxKit, but... Apache::Filter (1.011) automatically sends the headers for you on the first write to STDOUT by the last filter in the chain. So, no module should be calling $r-perl_send_headers except for Filter. the

Re: httpd keeps growing

2000-10-06 Thread Matt Sergeant
On Fri, 6 Oct 2000, Andreas Schiffler wrote: Any ideas where this memory consumption might come from? or how to find the culprit through some mod_perl code? Go buy some coffee, get a copy of your local pizza shop's menu next to your desk, and bring in a sleeping bag. That should help you get

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 in

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, John Reid wrote: Hi guys Has anyone any experience of passing a 0 as a parameter value through Apache::Request. I am passing a QUERY_STRING like ?param1=value1param2=0param3=value3. It appears that the 0 is being interpretted as an empty string. Is this a bug/expected

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Dana C. Chandler III wrote: In my limited experience, it is Perl in general that treats the value 0, in a query string as the empty string. In all of the scripts I have written, if 0 is possible as a param value, I have to explicity check for 0. This is only the case

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 Application Serving ** **

RE: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Geoffrey Young wrote: however, just for clarity, I don't see how this is a bug in Apache::Request (as you originally pointed out)... #!/usr/bin/perl use Apache::Request; my $r = Apache::Request-new(shift); my $value = $r-param('foo');

RE: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Geoffrey Young wrote: package FooTest; use Apache::Constants; use Apache::Reload; sub handler { my $r = shift; $r-send_http_header; print "Args: ", scalar $r-args, "\n"; return OK; } 1; Now send a request with the

Re: Way it is so copmplicated

2000-10-02 Thread Matt Sergeant
On Mon, 2 Oct 2000, - wrote: I am developing computer software for more than 30 years. Yet not able to install even the minimal support for ASP using APACHE on WIN95 platform (which is no doubt, the most popular in the world). Not for web serving. Please read the note about Windows on the

[ANNOUNCE] AxKit 1.0

2000-10-02 Thread Matt Sergeant
I've finally managed to put AxKit 1.0 out, after a long run-up to the 1.0 release. There are a couple of known issues with XSP and a couple of other potential bugs still standing, but the API is now stable, and we can add further enhancements as "bug fixes" now. Despite these minor bugs, AxKit

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

2000-10-02 Thread Matt Sergeant
On Mon, 2 Oct 2000, kevin montuori wrote: folks -- i'm wondering if anyone else has seen the following behaviour, and, if you have, how you dealt with it. here's the problem: i have a bunch (200 or so) CGI scripts being handled by Apache::RegistryFilter then

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
On Wed, 27 Sep 2000, Matthew Byng-Maddick wrote: We all have to do our part to evangelize mod_perl more. I think ISPs are really key here as I think I may have mentioned before. If you get the ISPs Actually I think the people we need to get involved are the web site builders - the larger

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

2000-09-25 Thread Matt Sergeant
On Mon, 25 Sep 2000, Stas Bekman wrote: On Mon, 25 Sep 2000, Doug MacEachern wrote: On Mon, 25 Sep 2000, Stas Bekman wrote: All you care about is to measure the time between email sending start and end (when the process continues on its execution flow). Why should one care

Re: flock under win32

2000-09-23 Thread Matt Sergeant
On Sat, 23 Sep 2000, Teijo Aulin wrote: Hi! I'm running Apache 1.3.12 with mod_perl 1.23 under Win98. I downloaded AutoRank from www.cgi-works.net and tried to run it. I got the following error message: "flock() unimplemented on this platform at (eval 11) line 4." I see that flock() is

Re: dir_config and Apache::Table confusion

2000-09-21 Thread Matt Sergeant
On 21 Sep 2000, Bjørn Ola Smievoll wrote: If I do this: $r-print($r-dir_config('key')); Then key is printed. If I then do this: my $tab = $r-dir_config; $r-print(Dumper($tab)); # Using Data::Dumper I get '$VAR1 = bless( {}, 'Apache::Table' )'; It's empty, how come?

Re: OT: Server-push client page reload

2000-09-20 Thread Matt Sergeant
On Wed, 20 Sep 2000, Michael Nachbaur wrote: This is off-topic, but I need an answer pretty quick, and I *am* writing this app using mod_perl, so its sorta related (also, I don't want the headache of re-subscribing to a new list). You know those online web-based tech support chat systems?

Re: OT: Server-push client page reload

2000-09-20 Thread Matt Sergeant
On Wed, 20 Sep 2000, Ime Smits wrote: | Plain old meta refreshes. Usually every 5 or 10 seconds or so. Perhaps | configurable on a user and/or server basis. You could make it even more smooth by doing a multipart document (aka server push): finishing a HTML document but not closing the

Re: Mod-perl Perl Debugger

2000-09-19 Thread Matt Sergeant
On 19 Sep 2000 [EMAIL PROTECTED] wrote: I read in "Apache Modules with Perl and C" book: "...there is a pre-alpha version of a mod-perl compatible Perl debugger in the works; it could very well be available from CPAN by the time you read this." I have searched CPAN for this without

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
On Sun, 17 Sep 2000, Chris Winters wrote: Hi Greg, Check out Class::Singleton for this purpose. Works great for me. Basically, the first time you create the object, do: my $obj = $object_class-instance( ... ); Every successive time you want the object, just call: my $obj =

[ANNOUNCE] AxKit 0.99

2000-09-15 Thread Matt Sergeant
Phew, it has been a long and hard week trying to track down the memory leak in AxKit. Members of AxKit-devel got all the gory details so I won't go into them here, but needless to say the leak is gone. AxKit 0.99 isn't much of a huge change from 0.99pre1 to the user. It renames some of the

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 the

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
On Fri, 15 Sep 2000, Justin wrote: Hi, We just placed a little job ad targetted at New York city residents on dslreports.com. we're looking for an enthusiastic employee #4 who is very comfortable with apache/modperl/linux/mysql We cannot give an accurate job description, because there is

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
On Wed, 13 Sep 2000, Foo, Ji Haw wrote: I tried to install gd (http://www.activestate.com/packages) on build 617, but it keeps telling me: Error installing package 'GD.ppd': Could not locate a PPM binary of 'GD.ppd' for this platform. This same package works well for build 522 (which is

RE: ActivePerl 617 and GD.ppd

2000-09-14 Thread Matt Sergeant
On Thu, 14 Sep 2000, Foo, Ji Haw wrote: Did exactly that. Which is why I was surprised that build 522 works well but not 617. Keeps telling me I got the wrong platform. Ah, maybe ppm's have started specifying the architecture too (I was always bugging them about that)... Check the ppd file,

Re: How to close connect and continue processing?

2000-09-14 Thread Matt Sergeant
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 mod_perl guide but I didn't find such code snippet.

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
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 perl-status? use OtherPackage; # because you need import to be defined first sub

RE: handler not quite doing what I expect

2000-09-13 Thread Matt Sergeant
On Wed, 13 Sep 2000, Geoffrey Young wrote: My other question is about Apache::Request. Why does this: my $apr = Apache::Request-new($r); my @params = $apr-param; poon the parameters listing when it runs? If I have a page that contains three

Re: Authenticating twice with Apache::AuthenSmb

2000-09-12 Thread Matt Sergeant
On Mon, 11 Sep 2000, Joshua Gerth wrote: I submitted this patch to the Authen::Smb over a year ago and got an immediate response that he got the fix and would shortly provide an update. Since then he has either been unable or unwilling to return any of my other attempts to contact him and he

mod_perl IfModule directives?

2000-09-12 Thread Matt Sergeant
I know this isn't in mod_perl yet, so take this as a feature request :-) What I'd like to see is a mod_perl equivalent of IfModule, so that I can add custom config directives to my httpd.conf perfectly safely: IfPerlModule AxKit AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot

RE: mod_perl IfModule directives?

2000-09-12 Thread Matt Sergeant
On Tue, 12 Sep 2000, Geoffrey Young wrote: cool idea... is Perl $AxAddStyleMap = "text/xsl Apache::AxKit::Language::Sablot" if Apache-module('AxKit'); /Perl good enough for the moment? I'm not convinced that will work, since it sets the directives in the

RE: mod_perl IfModule directives?

2000-09-12 Thread Matt Sergeant
On Tue, 12 Sep 2000, Geoffrey Young wrote: I'm not convinced that will work, since it sets the directives in the Apache::ReadConfig package, not mine. I just tested it with Apache::Dispatch, which also uses ModuleConfig, and it works just fine. I guess it depends on the mechanism you

Re: Graphs

2000-09-12 Thread Matt Sergeant
On Tue, 12 Sep 2000, Simpson, John scott wrote: Anyone got any ideas on how to produce graphs based on a CGI query and dynamically incorporating the graphs into a web page? 1. There's an apache module for doing this, I believe its called Apache::Chart or Apache::GDGraph or

Re: Memory leak hell...

2000-09-11 Thread Matt Sergeant
On Mon, 11 Sep 2000, Stas Bekman wrote: I was thinking about going thru the symbol table and dumping all the variables. And run diff between the dumps of the two requests. Be careful though that Devel::Peek doesn't show a complete dump for the whole structure, and I couldn't find the

Re: Memory leak hell...

2000-09-11 Thread Matt Sergeant
On Mon, 11 Sep 2000, Stas Bekman wrote: On Mon, 11 Sep 2000, Matt Sergeant wrote: On Mon, 11 Sep 2000, Stas Bekman wrote: I was thinking about going thru the symbol table and dumping all the variables. And run diff between the dumps of the two requests. Be careful though

Re: Question

2000-09-11 Thread Matt Sergeant
On 11 Sep 2000 [EMAIL PROTECTED] wrote: Anyone know why a browser would send something like this? HTTP_ACCEPT_LANGUAGE=en-us,x-ns1MKtfdqbuNhQ;q=0.4,x-ns2r2e09OnmPe2 the x-ns1 and x-ns2 stuff look like base64 encoded 8-byte blocks, almost as if it's some kind of key exchange or key

Re: Question

2000-09-11 Thread Matt Sergeant
On Mon, 11 Sep 2000, Stas Bekman wrote: On Mon, 11 Sep 2000, Matt Sergeant wrote: On 11 Sep 2000 [EMAIL PROTECTED] wrote: Anyone know why a browser would send something like this? HTTP_ACCEPT_LANGUAGE=en-us,x-ns1MKtfdqbuNhQ;q=0.4,x-ns2r2e09OnmPe2 the x-ns1 and x-ns2

Re: Apache::Compress install problems/On the fly html contentcompression

2000-09-11 Thread Matt Sergeant
On Mon, 11 Sep 2000, Bogomolnyi Constantin wrote: Hello all, I try to install Apache::Compress module , but when i make test i says : Invalid command 'Perl', perhaps mis-spelled or defined by a module not include d in the server configuration make: *** [start_httpd] Error 1 And if I try

Memory leak hell...

2000-09-10 Thread Matt Sergeant
For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular references are now gone, all closures clean up carefully after themselves, and I've reduced the usage of some external modules. But still the processes

Re: Memory leak hell...

2000-09-10 Thread Matt Sergeant
On Sun, 10 Sep 2000, Stas Bekman wrote: On Sun, 10 Sep 2000, Matt Sergeant wrote: For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular references are now gone, all closures clean up carefully

Re: Eval block error trapping bug????

2000-09-09 Thread Matt Sergeant
On Sat, 9 Sep 2000, Eric L. Brine wrote: Under mod_perl, the die() within the eval block causes the program to really die. Does your program (maybe CGI.pm or something used by CGI.pm?) set $SIG{'DIE'}? IIRC, $SIG{'DIE'} has precedence over eval{}, something many consider to be a bug.

Re: mod_perl DSO on NT

2000-09-08 Thread Matt Sergeant
On Fri, 8 Sep 2000, Daniel Watkins wrote: Hi, Does anyone know if a mod_perl dso can be loaded into any of the more commercial flavours of apache (Such as the IBM http server) I have done some work with mod_perl on NT but now a few mindless beauracratic nazi IT managers are waving

Re: Fwd: ActiveState...

2000-09-08 Thread Matt Sergeant
On Fri, 8 Sep 2000 [EMAIL PROTECTED] wrote: Would it be possible to create a binary version of mod_perl for Win32 that works with Activestate Perl? We're working on sorting out the linking issues so that building external compiled modules such as AxKit and Embperl is trivial. Once thats done

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

2000-09-08 Thread Matt Sergeant
On Fri, 8 Sep 2000 [EMAIL PROTECTED] wrote: There is a very important reason for having to fork qmail-inject. Qmail by default will not allow mail relaying as a good security measure. You don't want your mail server to be used for spamming especially if you have a T3 or a T1 link. Anyone who

Re: Auto rollback using Apache::DBI

2000-09-07 Thread Matt Sergeant
On Thu, 7 Sep 2000, Nicolas MONNET wrote: Hi there, I might get something wrong, but while in non-autocommit, if a script dies before rollbacking or commiting, looks like the transaction never gets cancelled until I kill -HUP httpd! Quite a problem ... Is there any known way to

Re: mod_perl security on a shared web server

2000-09-06 Thread Matt Sergeant
On Wed, 6 Sep 2000, Félix C.Courtemanche wrote: Hello, I couldn't find any occurance of this question in the archives, but if it does exists, please forward me to it. I have been working on a set of Administration Tools for commercial web hosting companies for quite some times. Lately

Re: calling C extensions to Apache through mod_perl

2000-09-06 Thread Matt Sergeant
On Wed, 6 Sep 2000, Dave DeMaagd wrote: Here's what I'm looking at: - Writing mod_foo as a dso for apache - Have perl running under mod_perl - Want to make calls to to functions in mod_foo from the perl scripts I know how to do the first two, but I'm not getting anywhere on where to

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Matt Sergeant
On Mon, 4 Sep 2000, Marc D. Spencer wrote: o There are actually 3 groups involved, and separation of function as much as possible allows the three groups to work independently on a project without requiring concurrent editing of the same file. - HTML coders -

Re: multilanguage site

2000-09-05 Thread Matt Sergeant
On Tue, 5 Sep 2000, Paul Lindner wrote: Anyway, here's what's in my global.asa to take care of this character set conversion mess.. Full details available to those that are interested.. [snip] Yikes, you redhat guys really need to look at AxKit: # in .htaccess AxOutputCharset ISO-8859-1

Re: multilanguage site

2000-09-05 Thread Matt Sergeant
On Tue, 5 Sep 2000, Paul Lindner wrote: On Tue, Sep 05, 2000 at 10:23:45AM +0100, Matt Sergeant wrote: On Tue, 5 Sep 2000, Paul Lindner wrote: Anyway, here's what's in my global.asa to take care of this character set conversion mess.. Full details available to those

Re: StatINC Question

2000-09-04 Thread Matt Sergeant
On Sun, 3 Sep 2000, Warren D. Johnson wrote: Here is my problem: StatINC seems to work fine several times after I restart the server but then at some point begins to act funky. I'll reload a page and either/or a source file will get reloaded every time (despite it's time not changing) or

[ANNOUNCE] Apache::Reload 0.05

2000-09-04 Thread Matt Sergeant
This latest release of Reload adds the ability to specify an entire hierarchy of modules in the ReloadModules list, like so: PerlSetVar ReloadModules "My::Foo My::Bar Foo::Bar::*" which will reload all modules from Foo/Bar.pm to Foo/Bar/Blue/Far/Gear.pm and so on. -- Matt/ Fastnet Software

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, Nelson Correa de Toledo Ferraz wrote: I agree that one shouldn't put lots of code inside of a template, but variables and loops are better expressed in Perl than in a "little crippled language". You and I are programmers and we agree. However once you move to a larger

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, Billy Donahue wrote: I've been working with JSPs lately, and I'd use something like: jsp:useBean name="someIterator" type="java.util.Iterator" dadadada:iterator iterator="%= someIterator %" table tr thName/th thAddress/th /tr

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, brian moseley wrote: On Mon, 4 Sep 2000, Matt Sergeant wrote: You and I are programmers and we agree. However once you move to a larger shop where you'll find non-programmers editing templates, the HTML-ish loop looks more sensible than an entirely new language

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, brian moseley wrote: On Mon, 4 Sep 2000, Matt Sergeant wrote: In AxKit your developers design custom "taglibs" that allow you to design your own tags however you want them to appear. There's a built in taglib for SQL, which allows you to produce XML

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, brian moseley wrote: On Mon, 4 Sep 2000, Matt Sergeant wrote: Unusual bunch :-) don't think so. xslt is overly verbose and complicated, and its model is the inverse of the standard html page. whereas a nice little mason page with some simple embedded perl looks

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, Perrin Harkins wrote: "Paul J. Lucas" wrote: And I still think that: DIV CLASS="employee_info" Name: SPAN CLASS="text::name"John Q. Public/SPANBR Job: SPAN CLASS="text::job"mod_perl guru/SPAN /DIV

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, Nelson Correa de Toledo Ferraz wrote: That's because you're a Perl programmer. The template syntax wasn't designed for your tastes. It was designed for the HTML designers you will eventually have to work with - wether while you're actually on the project or when it

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, brian moseley wrote: On Mon, 4 Sep 2000, Matt Sergeant wrote: To a HTML monkey, all those curly brackets, question marks and dollars are magical. All you've done is reduce some keystrokes. Looks fine to a perl programmer, looks like a modem init string

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Matt Sergeant
On Mon, 4 Sep 2000, brian moseley wrote: On Mon, 4 Sep 2000, Matt Sergeant wrote: b) We all meet different people. The people I've worked with, even people proficient in Javascript, flip their lid when they get forced to look at things like $_ and regexps when they know of easier

<    1   2   3   4   5   6   7   8   9   >