[ANNOUNCE] AxKit 0.65

2000-05-19 Thread Matt Sergeant
This release of AxKit adds XSP support. XSP is a script embedded XML language that is language and output agnostic. All big words, translated to: You can write XSP pages in Perl, Java or Javascript (*). http://xml.sergeant.org/axkit/ Details on XSP: http://xml.apache.org/cocoon/xsp.html

Re: LARGE PERL footprint

2000-05-20 Thread Matt Sergeant
On Fri, 19 May 2000, David Larkin wrote: > I require a large array of ints in a real application, just stripped > problem down to bear bones for demo. Is your array sparse by any chance? If not your modperl daemon is going to get _much_ larger after you populate that array. If it's sparse, consi

Re: an idea for a PerlFixupHandler

2000-05-14 Thread Matt Sergeant
On 14 May 2000, (Randal L. Schwartz) wrote: > > It always bugged me that for a PerlHandler, I needed to set *two* > things... both the SetHandler and the PerlHandler. > > I have this idea that a good generic PerlFixupHandler would fix that. > Instead of setting the mime-type to "text/html", we'

Re: [Summation] 100% sessions?

2000-05-10 Thread Matt Sergeant
On Wed, 10 May 2000, Jay Jacobs wrote: > So as I see it there are essentially 2 *mostly* reliable ways, cookies > and url-rewriting. Both have drawbacks and neither are 100%. There > really isn't a way to cross-reference anything else (IP or login) becuase > there are valid reasons for a user

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? -- Fastnet Software Ltd. High Performance Web Specialists Pr

Re: Wierd error log entry:

2000-05-10 Thread Matt Sergeant
On Wed, 10 May 2000, Ken Williams wrote: > Perhaps it's the result of a line like "require 5.0;"? That's the only > thing I can think of, I've never seen it before. Maybe... I wonder what would cause that to a) go in %INC, and b) go out of date... Ah well. Server restart got rid of the error :

Re: mod_perl and BSDi 4.1

2000-05-21 Thread Matt Carothers
fig. - Matt

Re: Project Information

2000-05-22 Thread Matt Sergeant
On Sun, 21 May 2000, (Allen Wilson) wrote: > Good afternoon... > > My name is Allen Wilson and I am looking to join a mod-perl team. If there are > any positions available on current projects, I would appreciate any information > pertaining to the project and the available positions. Are you jo

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

2000-05-23 Thread Matt Sergeant
On Tue, 23 May 2000, Marc Lehmann wrote: > On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch <[EMAIL PROTECTED]> wrote: > > On Tue, 23 May 2000, Marc Lehmann wrote: > > > > > stable (mod_perl really is very unstable for large applications). Apart > > > > Wow, I wish you'd warned me before I did

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

2000-05-23 Thread Matt Sergeant
On Tue, 23 May 2000, Peter Haworth wrote: > brian moseley wrote: > > On Mon, 22 May 2000, Peter Haworth wrote: > > > In light of the non-dependency on mod_perl, the > > > Apache::Request::Form name is also out. I'd still rather > > > not use the CGI::Form name, in case there are any > > > current

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. -- Fastnet Software Ltd. High Performance Web Specialists P

Re: mod_perl and IPC

2000-05-23 Thread Matt Carothers
BSD system I was trying 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: overriding warn()

2000-05-23 Thread Matt Sergeant
On Tue, 23 May 2000, Amy wrote: > > Is there an easy way to override warn() the way Apache > overrides die() - I'm trying to disable warn() calls in > production without changing any code. I think I should > probably be using Apache::Log, but is there an easier > way to accomplish this withou

Re: Cookies

2000-05-24 Thread Matt Sergeant
On Tue, 23 May 2000, Jim Serio wrote: > Like I said, the cookie is being set, but I can't read the cookie. > Apache::Cookie->fetch('cookie_name'); doesn't work. > > >this is a fixup handler? you shouldn't be sending the complete http > >header there. you should use $r->headers_out like you did

AxKit article

2000-05-25 Thread Matt Sergeant
http://www.xml.com/pub/2000/05/24/axkit/index.html -- 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
On Thu, 25 May 2000, Alexei V. Alexandrov wrote: > Hello modperl, > > The problem i would like to solve is that i want to catch the actual > output from the apache. I have bought "Writing apache modules with > perl and C" there are two examples on how to write thing like Echo > or NavBar

RE: High-volume mod_perl based ecommerce sites?

2000-05-25 Thread Matt Sergeant
On Thu, 25 May 2000, Jason Bodnar wrote: > > Could someone also give me a quick list (or a link to where I can find a > > list) of some high-profile sites that use Perl, and pull it off? > > http://www.slashdot.org Careful with this - it's a high traffic site, yes. But it doesn't exactly pull

Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Matt Sergeant
On Thu, 25 May 2000, Jason Bodnar wrote: > Definitely read the perltoot (Tom's OO Tutorial). I've heard alot of good > things about Damian Conway's OO Perl book but I haven't read it myself. Damian's book is the book to end all perl books in my opinion - I wouldn't dream of hiring anyone who has

Re: URL rewriting & logging

2000-05-26 Thread Matt Sergeant
On Fri, 26 May 2000, Robert wrote: > Hi, > > I'm trying to use Eagle book-like URL rewriting to track sessions and > I'd like to log session id in the 'user' field (so Analog can do all > kind of usefull stats about sessions). I hoped I could just set 'user' > throught Apache::Connection's use

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

2000-05-27 Thread Matt Sergeant
On Fri, 26 May 2000, Chris Thorman wrote: > Compensation: > > This is a senior position at a rapidly growing company. Compensation > will meet or exceed industry standards and will be in line with the > skills and degree of self-direction and flexibility demonstrated by > the successful candida

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

2000-05-01 Thread Matt Carothers
mimzhingleh/[EMAIL PROTECTED] for some mod_rewrite examples from a couple of weeks ago on this list. - Matt

Re: Re[2]: Project Information

2000-05-22 Thread Matt Sergeant
a look at AxKit: http://xml.sergeant.org/axkit/ - lots and lots of work to do still... > > Reply Separator > Subject:Re: Project Information > Author: Matt Sergeant <[EMAIL PROTECTED]> > Date: 5/22/00 3:07 PM > > On Su

Re: [OT] Bean::*?

2000-06-01 Thread Matt Sergeant
On Wed, 31 May 2000, DeWitt Clinton wrote: > Hi all, > > Okay, this is a rather ridiculous question. I spent the weekend > implementing a property based object model in Java. However, after I > finished, someone in my company laughingly pointed out that I had just > re-invented Java beans. Wh

Segfault in second time through sub request...

2000-06-02 Thread Matt Sergeant
Running under httpd -X, first time through my subrequest goes fine, second time through it segfaults. Here's the non-debugging bt: Program received signal SIGSEGV, Segmentation fault. 0x8080757 in ap_copy_table () (gdb) bt #0 0x8080757 in ap_copy_table () #1 0x80937ef in ap_set_sub_req_protocol

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 ti

Re: jezndi (again)

2000-06-02 Thread Matt Sergeant
On Fri, 2 Jun 2000, Paul wrote: > I don't know why, but it seems a lot of the messages I send to this > list are getting through, but also being tossed back at me with a > nastygram from [EMAIL PROTECTED] accusing me of spamming. > > Easy enough for me to just block this address, but I thought I

Warning about guide exceptions docs...

2000-06-03 Thread Matt Sergeant
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 one class and one class only for handling exceptions globally. Maybe I should put out a CPAN release:

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. -- Fastnet Software Ltd. High

Re: Can't create custom configuration directives

2000-06-04 Thread Matt Sergeant
On Sun, 4 Jun 2000, Rob Tanner wrote: > > That you define $VERSION before the bootstrap line. > > > > As below: > > $VERSION = '0.9b'; > > if ( $ENV{'MOD_PERL'} ) { > no strict; > @ISA = qw(DynaLoader); > __PACKAGE__->bootstrap($VERSION); > } That might represent a problem. $VERSION is

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 disc

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

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

2000-06-06 Thread Matt Sergeant
On Tue, 6 Jun 2000, Ben Cohen wrote: > Thanks to all for the helpful suggestions. > > Gunther Birzniek from the list suggested a solution that I've > now tried and it works perfectly: > > > {begin quote} > > I assume you are running with Apache:Registry? > > You could also save off the $ENV

Re: Newbie Questions about Perl/Apache

2000-06-07 Thread Matt Sergeant
On Wed, 7 Jun 2000, Rich Lemanski wrote: > Hello all, > > I just joined the list the other day and have some questions about > internal and external Perl interpretors for Apache. Forgive my lack of > knowledge, but I am assuming that mod_perl is the Perl interpretor that > runs internally to Ap

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Matt Sergeant
On Wed, 7 Jun 2000, Stas Bekman wrote: > Following Tim's comments here is the new benchmark. (I'll address the > buffering issue in another post) > > use Benchmark; > use Symbol; > > my $fh = gensym; > open $fh, ">/dev/null" or die; > > sub multi_print{ > print $fh ""; > pr

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Matt Sergeant
On Wed, 7 Jun 2000, Eric Cholet wrote: > > > So if you want a better performance, you know what technique to use. > > > > I think this last line is misleading. The reality is that you're doing > > 500,000 iterations here. Even for the worst case scenario of multi_print > > with no buffering you'r

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. -- Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability.

Re: [performance/benchmark] printing techniques

2000-06-08 Thread Matt Sergeant
On Wed, 7 Jun 2000, Stas Bekman wrote: > On Wed, 7 Jun 2000, ___cliff rayman___ wrote: > > > > > > > Stas Bekman wrote: > > > > > > > > > > > Per your request: > > > > > > The handler: > > > > > > query | avtime completed failedrps > > > ---

Re: [OT] Re: [performance/benchmark] printing techniques

2000-06-08 Thread Matt Sergeant
On Wed, 7 Jun 2000, Perrin Harkins wrote: > On Wed, 7 Jun 2000, Matt Sergeant wrote: > > > On Wed, 7 Jun 2000, Eric Cholet wrote: > > > > > This said, i hurry back to s/"constant strings"/'constant strings'/g; > > > > Those two are

Re: [performance/benchmark] $|=1 doesn't matter ?!

2000-06-08 Thread Matt Sergeant
On Wed, 7 Jun 2000, Stas Bekman wrote: > Ok, you'd get surprised on this one. I cannot make benchmark show me > unbuffered output worse than buffered. Anyone can tell me why? there is > ap_flash call after each print in the unbuffered case, how comes the > results are the same? I assume that's a

Template techniques

2000-06-08 Thread Matt Sergeant
On Thu, 8 Jun 2000, Greg Cope wrote: > This may be veering off topic - but its been on my mind for a while now > > Apart from thanking Stas for his benchmark work, which I find very > interesting (does he sleep ;-) - this and few few others (benchmarks) have > all touched on the area of inc

Re: Template techniques

2000-06-08 Thread Matt Sergeant
On Thu, 8 Jun 2000, Richard L. Goerwitz wrote: > > As far as I've seen, the fastest template systems are the ones that > > convert the template to Perl code. So that's what I do. The templates all > > call a method (in my case $Response->Write()) which appends to a > > string. If there are no exc

Re: Data structure question

2000-06-08 Thread Matt Sergeant
On 8 Jun 2000, Stephen Zander wrote: > > "Drew" == Drew Taylor <[EMAIL PROTECTED]> writes: > Drew> I would like to return a single data structure, but order IS > Drew> important (hence the current setup). I was thinking of using > Drew> an array, where each element is a hash refer

Re: Template techniques

2000-06-08 Thread Matt Sergeant
o a > > string. If there are no exceptions (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? Clea

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

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

Re: [OT] Re: [performance/benchmark] printing techniques

2000-06-09 Thread Matt Sergeant
On Thu, 8 Jun 2000, Perrin Harkins wrote: > On Thu, 8 Jun 2000, Matt Sergeant wrote: > > > > The one that bugs me is when I see people doing this: > > > > > > $hash{"$key"} > > > > > > instead of this: > > >

Re: [OT now] Re: Template techniques

2000-06-10 Thread Matt Sergeant
On Fri, 9 Jun 2000, Joshua Chamas wrote: > Perrin Harkins wrote: > > > > On Fri, 9 Jun 2000, Drew Taylor wrote: > > > I really like the fact that templates can be compiled to perl code & > > > cached. Any others besides Mason & EmbPerl (and TT in the near future)? > > > > Sure: Apache::ePerl, A

Re: [OT - Security] Linux vulnerability

2000-06-10 Thread Matt Sergeant
On Sat, 10 Jun 2000, Ged Haywood wrote: > Hi all, > > I thought this might be of interest to Apache users running Linux. [snip] Note that this is not a vulnerability that Apache/Linux suffers from particularly, except in the case of a mod_perl or CGI exploit that allows the user to get a local

RE: [OT now] Re: Template techniques

2000-06-10 Thread Matt Sergeant
On Sat, 10 Jun 2000, Ian Kallen wrote: > > Has anybody run into any Perl libraries that do XSLT transformations that > are usuable? Last I looked, there was no library that implemented the > spec or provided a useful API. Maybe I'm behind the times... Sablotron from http://www.gingerall.com/

Re: Perl vs Java

2000-06-11 Thread Matt Sergeant
On Sun, 11 Jun 2000, dreamwvr wrote: > hi, >this could be a can of worms but anyhow here goes. Has anyone timed the > actual efficiency of Perl vs Java? Reason being is i wrote a state engine as > a perl module that seemed quite fast ~ 0.33 to 0.54 of a second for slurping > up values. With

Re: mod_perl: Configuration info at run-time

2000-06-12 Thread Matt Sergeant
On Mon, 12 Jun 2000, Rob Tanner wrote: > I don't have my eagle book in front of me (two work places, onbe book) -- > in chapter 9, I think it's a mod_perl specific method (might be a server > method though, can't remember) -- and I don't remember the name of the > function either -- but basica

Re: Problems with Apache::DBI

2000-06-12 Thread Matt Carothers
your startup.pl. Also, for mysql, you'll need to add a keepalive routine to your startup.pl: sub Apache::DBI::db::ping { my $dbh = shift; return $dbh->do('select 1'); } - Matt

Re: mod_perl: Configuration info at run-time

2000-06-13 Thread Matt Sergeant
On Mon, 12 Jun 2000, Richard L. Goerwitz wrote: > In response to my query about how to get a list of virtual > servers, Matt Sergeant wrote: > > > It's server->next(): > > > > for (my $s = Apache->server; $s; $s = $s->next()) { > > p

Re: mod_perl: Configuration info at run-time

2000-06-13 Thread Matt Sergeant
On Tue, 13 Jun 2000, Richard L. Goerwitz wrote: > To get a list of virtual servers - > > > > > for (my $s = Apache->server; $s; $s = $s->next()) { > > > > print "Virtual host: ", $s->server_hostname, "\n"; > > > > } > > > > Is there any reasonable way to use the list of servers (success

Re: mod_perl: Configuration info at run-time

2000-06-13 Thread Matt Sergeant
On Tue, 13 Jun 2000, Richard L. Goerwitz wrote: > Matt Sergeant wrote: > > > OK then, try this: > > > > for ($s = Apache->server; $s; $s = $s->next) { > > my ($server, $port) = ($s->server_hostname, $s->port); > > $r->prin

RE: XSL-handler

2000-06-14 Thread Matt Sergeant
On Wed, 14 Jun 2000, Kip Hampton wrote: > Have a look at AxKit. It does what you are looking for and quite a bit more. > > http://xml.sergeant.org/axkit/ > > Or visit a CPAN nearest you for a slightly dated version. Don't go to cpan yet - any version below 0.90 contains a deprecated API. I'll

Re: XSL-handler

2000-06-14 Thread Matt Sergeant
On Wed, 14 Jun 2000, Honza Pazdziora wrote: > On Wed, Jun 14, 2000 at 02:27:45PM +0100, Matt Sergeant wrote: > > > > Don't go to cpan yet - any version below 0.90 contains a deprecated > > API. I'll be uploading a newer version to CPAN once I'm happy wit

RE: XSL-handler

2000-06-14 Thread Matt Sergeant
On Wed, 14 Jun 2000, [iso-8859-1] Jonas Nordström wrote: > Thanks for the AxKit tip! > > I have some problems though. I used AxKit-0.94, but it doesn't work yet. > > My http.conf configuration: > PerlModule AxKit > >SetHandler perl-script >PerlHandler AxKit > ># Setup style type m

Re: XSL-handler

2000-06-15 Thread Matt Sergeant
On Wed, 14 Jun 2000, Joshua Chamas wrote: > I have heard complaints about XML::XSLT, but since I have > been working with Geert on the module these past months, > it has increased in rendering speed by a factor of 3, > there is a real OO interface, and DOM memory garbage > collection is producti

Re: [dramatic] Voting for Appaloosa awards now open (fwd)

2000-06-16 Thread Matt Sergeant
On Fri, 16 Jun 2000, Stas Bekman wrote: > Well you know who to vote for in the "Technical Contribution" category, > right? Please spread the word on the other related list if you know such. > > And the nominees are... Damnit I'm really torn by the excellent work the XML team has done, when you

Re: [OT] Making apps (un)available solution

2000-06-19 Thread Matt Sergeant
On Sun, 18 Jun 2000, Michael J Schout wrote: > On Tue, 13 Jun 2000, Erich L. Markert wrote: > > > I'm trying to figure out the best way to make apps (un)available without > > having to edit the apache config files. > > We did something like this by making a handler like this: > > package Foo:

Re: $r->print and references: Was RE: Slightly OT - Content-length

2000-06-19 Thread Matt Sergeant
On Mon, 19 Jun 2000, John Hughes wrote: > (Hint - Perl passes all values by reference. Are you sure thats the case with XS code? I don't personally know XS very well, but there are some wierd things about it, and this might be one of them. I know for certain that XML::Parser has a lot of slow-do

Re: Reading config

2000-06-19 Thread Matt Sergeant
On Mon, 19 Jun 2000, Edwin Pratomo wrote: > > Hi, > > how to get configuration values at run-time, such as DirectoryIndex? I don't think you can - that configuration directive is specific to mod_index, and only mod_index can access it, AFAIK. -- Fastnet Software Ltd. High Performance Web

Re: [OT] [advocacy] IIS v Apache article

2000-06-19 Thread Matt Sergeant
On Mon, 19 Jun 2000, Mark Hewis wrote: > It would be really nice to see surveys based on pages served/web server and > not just number of server installations. Anyone heard of such stats? Pick a known high-traffic site, and see what it's running. All the portals I know of run Apache, as does a c

Re: Pages stopping and not loading completely...

2000-06-19 Thread Matt Sergeant
On Mon, 19 Jun 2000, Farley, Scott wrote: > I'm running an application Apache + mod_perl that connects to an MySQL > database and the pages every so often decide not fully load. You can even > see the the HTML printed to the screen sometimes because the stream is > broken in the middle. Some of

Re: ColdFusion in mod_perl?

2000-06-19 Thread Matt Sergeant
On Mon, 19 Jun 2000 [EMAIL PROTECTED] wrote: > > I was introduced to ColdFusion the other day. It seems like something > which could easily be done in (mod_)perl. Has anyone done this? Bah, coldfusion is dated technology. Take a look at something with completely customisable taglibs based on XM

Re: Problems with AxKit

2000-06-20 Thread Matt Sergeant
On Tue, 20 Jun 2000, Jonas Nordström wrote: > I have the following config for httpd.conf > > PerlModule AxKit > >SetHandler perl-script >PerlHandler AxKit > ># Setup style type mappings >AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot >AxAddStyleMap application/x-xpa

RE: Problems with AxKit

2000-06-20 Thread Matt Sergeant
On Tue, 20 Jun 2000, Jonas Nordström wrote: > Ok, I have tried that, and now I'm a little bit closer. But when I start the > server, i get the message: > ../bin/apachectl start: httpd could not be started > > No error message and nothing in the logs. If I remove the line "PerlModule > AxKit" fro

Re: [OT] Apache Bench (ab.c) written as perl XS module?

2000-06-21 Thread Matt Sergeant
On Wed, 21 Jun 2000, Adi wrote: > [OT: already posted to [EMAIL PROTECTED], just thought people here might have > suggestions, comments, etc] > > I am thinking about writing the XS glue for the apache bench tool (ab). The > ab code as it is, is not very flexible, but it is damn fast. If I > im

Re: [JOB] mod_perl engineers (all levels) at Red Hat - SF Bay Area

2000-06-22 Thread Matt Sergeant
On Thu, 22 Jun 2000, Paul Lindner wrote: >Web Technology: XML, XSLT and XML-RPC; Internationalization; > Applications Servers (HTML::Mason, Embperl, Apache::ASP, Zope, > Zentropa, Cocoon etc.); Search systems and concepts. Bah! You're missing AxKit from that list ;-) -- Fastnet S

Re: Apache::Request and memory

2000-06-23 Thread Matt Sergeant
On Thu, 22 Jun 2000, Jim Winstead wrote: > Attached is a patch to libapreq that addresses this problem. Question for Doug, Can we get libapreq 0.32 out any time soon? There are some pretty nasty bugs in 0.31 that I'm waiting to get fixed. (the null cookies problem, this problem, the form charse

Re: [advocacy] FUD spreading by velocigen fan

2000-06-23 Thread Matt Sergeant
On Fri, 23 Jun 2000, Stas Bekman wrote: > In the article "Up to Speed with VelociGen" located > http://www.webtechniques.com/archives/2000/05/infrrevu/ Brian Wilson > tries to compare Velocigen with mod_perl, unfortunately gives lots of > FUD for mod_perl instead of having a true comparison. I t

Re: [XOT] doesn't it supported?

2000-06-23 Thread Matt Sergeant
On Fri, 23 Jun 2000, Kenneth Lee wrote: > (XOT: eXtremely OT) > > perl complains about variable method calls ($obj->$meth) when I move from > 5.6.0 back to 5.00503, it says syntax error near "$meth". > > i think this is supported at the very beginning. did i missed sth? Yes. $obj->$meth();

Re: [advocacy] writing articles

2000-06-23 Thread Matt Sergeant
On Fri, 23 Jun 2000, Stas Bekman wrote: > You wrote a nice module that plugs into mod_perl? Write about it! I'm working on more AxKit articles - I should have another coming up sometime on xml.com. I'd welcome others to write about it too, and be willing to help with any proof reading. > If you

Platform list

2000-06-18 Thread Matt Sergeant
Does anyone have a definitive list of working platforms for mod_perl? I realise its probably just a simple combination of the platforms that both Perl and Apache work on, but I was wondering if theres a simple list anywhere (I've looked, but can't find one). If not, perhaps it would be a cool ide

Re: can't properly append to file from mod_perl script

2000-06-29 Thread Matt Sergeant
On Thu, 29 Jun 2000, Stas Bekman wrote: > When using file locking one must make sure, that if the script has been > stopped before the close() was called, to use an END block under Registry > or $r->register_cleanup() anywhere. See: > http://perl.apache.org/guide/debug.html#Handling_the_User_pres

Re: Browser Sniffing

2000-06-30 Thread Matt Sergeant
usage of this is to return WML pages if the request comes from > a WAP browser, otherwise return html pages. This is the AxKit WAPChooser media plugin (the UA substrings are taken from the WAP FAQ which I periodically check and update): # $Id: WAPCheck.pm,v 1.2 2000/05/02 10:32:07 matt Exp $

Config directives question

2000-06-30 Thread Matt Sergeant
Is there any way I can write RAW_ARGS config directives like: ... And have the bit between the tags passed through to apache for processing? The eagle book only seems to detail processing all the directives between the tags myself. But I want to be more modular than that. Am I missing some doc

Re: Reading config

2000-06-30 Thread Matt Sergeant
On Fri, 30 Jun 2000, Dan Rench wrote: > > On Mon, 19 Jun 2000, Matt Sergeant wrote: > > > On Mon, 19 Jun 2000, Edwin Pratomo wrote: > > > > > > how to get configuration values at run-time, such as DirectoryIndex? > > > > I don't think you

Re: Config directives question

2000-06-30 Thread Matt Sergeant
On Fri, 30 Jun 2000, Doug MacEachern wrote: > On Fri, 30 Jun 2000, Matt Sergeant wrote: > > > Is there any way I can write RAW_ARGS config directives like: > > > > > > ... > > > > > > And have the bit between the tags passed through to apache

User pressed stop?

2000-07-03 Thread Matt Sergeant
Every so often I get: Broken pipe: client stopped connection before rflush completed In my error log. Is that the "user pressed stop" condition? AxKit just sends raw files (unless in no_cache mode), i.e. it sets $r->filename() and then returns DECLINED. Do I need to handle this, or can I just ig

Re: bogus taint error?

2000-07-03 Thread Matt Carothers
bles taint mode automatically. You might add some debugging code to verify that $< == $> and $( == $). - Matt

DIR_MERGE and .htaccess

2000-07-04 Thread Matt Sergeant
Shouldn't DIR_MERGE be called when .htaccess files are found at different levels, e.g: /axkit/.htaccess and /axkit/test/.htaccess I ask for /axkit/test/test.xsp I would have expected it to ask for both .htaccess files and try and merge the two using DIR_MERGE, but it doesn't. Am I missing somet

Re: DIR_MERGE and .htaccess

2000-07-05 Thread Matt Sergeant
On Tue, 4 Jul 2000, Rick Myers wrote: > On Jul 04, 2000 at 14:40:26 +0100, Matt Sergeant twiddled the keys to say: > > Shouldn't DIR_MERGE be called when .htaccess files are found at different > > levels, e.g: > > > > /axkit/.htaccess > > and > > /ax

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Wed, 5 Jul 2000, Bas wrote: > Hi all, > > this is probably gonna be a longish one. It's about coldfusion vs. the > combination of apache/mod_perl, I'm hoping to find some people on the list > who have some experience with both, and who maybe faced a similar question. > I've been searching the

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Wed, 5 Jul 2000, Paul Lindner wrote: > I've been toying with using the Apache::ASP custom tag feature to > support cold-fusion like applications. I don't think it will be too > hard; reading the spec it appears you need to make a list of named > queries and then use tags with #fieldname# ent

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Thu, 6 Jul 2000, Gunther Birznieks wrote: > > > > >Take a look - hopefully you'll be impressed ;-) > > > >http://axkit.org/ > > > >BTW: I'll be giving a 2 hour talk on AxKit at ApacheCon Europe in October. > > Holy s..t! this is a well-laid out site!! Could you do the same for > perl.apache

Re: Coldfusion vs. apache/mod_perl

2000-07-06 Thread Matt Sergeant
On Thu, 6 Jul 2000, Gunther Birznieks wrote: > > > > >Take a look - hopefully you'll be impressed ;-) > > > >http://axkit.org/ > > > >BTW: I'll be giving a 2 hour talk on AxKit at ApacheCon Europe in October. > > Holy s..t! this is a well-laid out site!! Could you do the same for > perl.apache

Re: PerlAddVar bug

2000-07-06 Thread Matt Sergeant
On Thu, 6 Jul 2000, Geoffrey Young wrote: > Sorry to bring up PerlAddVar again, but this time I have a legitimate bug. > It stems from what I reported last time about items in Apache::Table not > being visible outside a directives: See the section on DIR_MERGE in the Eagle book. It just needs s

Re: best encryption module

2000-07-09 Thread Matt Carothers
algorithm used depends on your system's C library. Older systems still use 56-bit DES. Newer ones may use something stronger like MD5 or Blowfish. See your crypt(3) manpage and `perldoc -f crypt` for more information. - Matt

Re: Using handler for index

2000-07-10 Thread Matt Sergeant
On Mon, 10 Jul 2000, Drew Taylor wrote: > darren chamberlain wrote: > > > > Drew Taylor ([EMAIL PROTECTED]) said something to this effect: > > > Hi all, > > > > > > I am using an Apache Handler module to create my home page, using > > > > > > > > > SetHandler perl-script > > > PerlHandl

Re: Apache::Leak

2000-07-10 Thread Matt Sergeant
On 10 Jul 2000, David Hodgkinson wrote: > > David Mitchell <[EMAIL PROTECTED]> writes: > > > perldoc Devel::Peek and > > perldoc perlguts > > > Ok, done that. > > I'm still not clear as to what Apache::Leak is trying to tell > me. Aside from the DESCRIPTION section of the man page saying "Un

RFC: Apache::SafeRegistry

2000-07-10 Thread Matt Sergeant
A while back you may remember I tried to implement a "Safe" version of Apache::Registry for ISP's so that they can get the speedups of mod_perl, without worrying too much about what users are doing to their server. Unfortunately it prevented useful things like DBI from working at all, so would be

Re: Is variable initialization necessary?

2000-07-10 Thread Matt Sergeant
On Mon, 10 Jul 2000, Drew Taylor wrote: > Here's another topic I've had on my mind lately. > > I currently try to initialize all vaiables in the definition (my $var = > ();) I've read where several I respect, Doug being one :-), initialize > variables. Then I've read posts of people comparing th

Re: Is variable initialization necessary?

2000-07-10 Thread Matt Sergeant
On Mon, 10 Jul 2000, Chris Thorman wrote: > There's another factor, here, unfortunately: -w warnings. > > I personally never use -w, unfortunately, because it warns about not > only variables being used before they are first set (usually a good > thing to warn about) but also the use of variable

Re: Is variable initialization necessary?

2000-07-10 Thread Matt Sergeant
On Mon, 10 Jul 2000, Drew Taylor wrote: > My underlying concern is that each time the code is run, I get "clean" > variables. Every variable is a lexical. If that is enough to guarantee > emptiness on each run, then initialization is unnecessary (and in fact a > performance decrease). Provided y

RE: RE: Severe problem with $r->log_error

2000-07-11 Thread Matt Sergeant
On Tue, 11 Jul 2000, Axel Wagner wrote: > > Geoff wrote: > > > > did you compile mod_perl with EVERYTHING=1 or PERL_LOG_API=1 > > Yes! And with a lot of other options. Take a look: > > content of .makepl_args.mod_perl: > > EVERYTHING=1 > APACHE_SRC=../../../Server/apache_1.3.12/src > NO_HTTPD=

[JOB] mod_perl developer (prefer telecommute)

2000-07-11 Thread Matt Sergeant
I'm looking for a mod_perl developer to work directly with me on a very high profile mod_perl project. This work is on a contract basis, though very likely to lead to either full time or long term contract work. Skills involved are: Perl - good perl skills required, especially knowledge of OO.

Re: Best book

2000-07-11 Thread Matt Sergeant
On Tue, 11 Jul 2000, Scott Alexander wrote: > I used the eagle book. I have done very well with it. Are there > really any other books out there on the subject? Not on mod_perl, but I wouldn't develop a big system until you've read Damian Conway's "Object Oriented Perl". > Scott > On 11 Jul

Re: Idea of an apache module

2000-07-12 Thread Matt Sergeant
On Wed, 12 Jul 2000, Luis Henrique Cassis Fagundes wrote: > How do I use Apache::Registry to cache pages in disk? The module > I have > in mind is something transparent to the programmer, you just tell apache > that some CGI (or PHP, or any request) will be cached and the server > will ca

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