RE: XML::LibXSLT / Apache / MOD_Perl Segfaults

2002-04-30 Thread Clayton Cottingham
Have you compiled apache with noexpat in the apache? -- Clayton Cottingham Air Games Wireless Inc. Suite 204, 309 W. Cordova St. Vancouver BC V6B 1E5 Canada Tel: +1.604.408.2228 Cel: +1.604.720.3510 Fax: +1.604.408.2649 Email: [EMAIL PROTECTED] Web: www.airg.com -Original Message

Re: performance testing - emulating real world use

2002-03-12 Thread clayton cottingham
Bryan Henry wrote: Anyone know of good guides or general info on performance testing and emulating real use of an application. I would like to understand how to identify potential bottlenecks before I deploy web apps. thank you, ~ b r y a n try httpd.apache.org/test/ and perl

Re: here is a good modperl question on perlmonk

2002-03-06 Thread Clayton Cottingham aka Dr Frog
wow crazy!! just got my email and saw this thread! did anyone post on their site? again that node: http://perlmonks.org/?node_id=146303 Wim Kerkhoff wrote: I'm jumping into this thread quite lately, but here are my $.03 CDN. Mark Fowler wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote:

here is a good modperl question on perlmonk

2002-03-05 Thread clayton cottingham
thought someone might like to have a gander at this: http://perlmonksorg/?node_id=146303 look forward to seeing your replies!!

problems with $r-status('OK')

2002-03-04 Thread clayton cottingham
hello: im using Apache/1312 and mod_perl/124 every time i use the $r-status('OK'); it gives me this error Argument OK isn't numeric in subroutine entry has anyone come accross this before? thanks

Re: problems with $r-status('OK')

2002-03-04 Thread clayton cottingham
Hans Juergen von Lengerke wrote: clayton cottingham [EMAIL PROTECTED] on Mar 4, 2002: every time i use the $r-status('OK'); OK in this context is not a string, but a constant that is defined in Apache::Constants. Modify your code like this: use Apache::Constants qw(:common

Re: another article on perl.com

2002-02-27 Thread clayton cottingham
Stas Bekman wrote: Keith G. Murphy wrote: Stas Bekman wrote: If you know of other prospective magazines looking for articles please let me know. Well, on the web side of things, there's this: http://www-106.ibm.com/developerworks/ They have a fair number of decent articles,

Re: [OT] New mod_perl logo (revisited)

2002-02-21 Thread clayton cottingham
Jonathan M. Hollin wrote: I apologise in advance to those of you who receive multiple copies of this email due to my cross-posting. Due to the instability of its previous host, I have moved the mod_perl logo entries to my new Linux box (my apologies to those who were unable to review the

mod perl cookbook, the kudos continue...

2002-02-18 Thread clayton cottingham
just got my copy on friday, havent been doing much but learning the errors of my ways!! thanks for all the hard work guys this will be a book that will be useful for me for quite a while

Re: Apache::DBI

2002-02-06 Thread clayton cottingham
Stathy G. Touloumis wrote: I'm not sure what you mean, really, but perhaps you mean dbi_connect_method? Did you mean specifying this argument like so ? DBI-connect( $driver, $u, $p, { dbi_connect_method= 'connect' } ); I will see if this is what I am looking for. Thanks for the

Re: mod_perl Developer's Cookbook

2002-01-31 Thread clayton cottingham
FYI canadians based in vancouver can get this at http://www.granvillebooks.com/ ive had way better experience ordering from them than ordering from chapters they tell me itll take two weeks though as its a brand new item if you are in this area please check em out they have a great

Re: can not set param

2002-01-29 Thread clayton cottingham
Rasoul Hajikhani wrote: Folks, The apache::Request docs indicate that param can be used to set the query string. However, it fails when I do something like this: my $r = Apache::Request-new(shift); ... my $host=

Re: Apache::AuthCookie login faliure reason

2001-11-23 Thread clayton cottingham
Bill Moseley wrote: At 04:09 PM 11/23/2001 +1100, simran wrote: Hi All, I am having some trouble getting Apache::AuthCookie (version 3 which i believe is the latest version) to do what want: What i want is: * To be able to give the user a reson if login fails - eg reason: * No

Re: how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread clayton cottingham
here is a list of install procedures ive used for getting these all going http://drfrog.fdns.net/x3d/howto.html

Re: Problem using mod_perl-1.26 with perl 5.6.1 and XML::Parser

2001-10-19 Thread clayton cottingham
Matthew H. Gerlach wrote: Just to follow up. I took your advice on building building modperl. My actual command was as follows: perl Makefile.PL \ EVERYTHING=1 \ USE_APACI=1 \ APACHE_PREFIX=/lsurf/wohg \ APACHE_SRC=../$APACHE/src \ DO_HTTP=1 \

testing modules under apache

2001-10-02 Thread clayton cottingham
hiya recently here at work ive been asked to start providing test scripts for my projects perl modules ive found that its kinda hard to figure out which way to testcertain paradigms i was wondering what sort of help/tips/tricks anyone out there in modperl land could help me with here is

Re: Apache::AuthCookie

2001-09-28 Thread clayton cottingham
Rob Bloodgood wrote: Does anyone know where I can find documentation to install and configure Apache::AuthCookie? The docs that come with it are thin and do not provide much information. you're kidding, right? [geoff@jib Apache-AuthCookie-2.011]$ perldoc AuthCookie.pm |

Re: Authentication

2001-09-26 Thread clayton cottingham
Ray and Lara Recendez wrote: I am new with Perl and particularly mod_perl. I am trying to setup web authentication with the expiration period based on inactivity. Is there an easy to use already written module with documentation? If so, could someone please point me in the right direction.

Re: mailing html page through email

2001-09-10 Thread clayton cottingham
naveed wrote: dear team, I want to send a html page through (or the html content) through my email how can i do it. thanx in advance regrards naveed i use Mail::Sender and you can add in ctype='text/html', to produce html check out the perldoc for more

Re: Virtual Host?

2001-09-10 Thread clayton cottingham
Purcell, Scott wrote: Hello, I have Apache w/modperl running on my NT box. The box has Samba on it, and I can see my Unix volumes from my SGI box. There is a volume there /DISK7 and I would like to be able to use that as a kind of Virtual host through the Apache Web server. /DISK7 has a

a bug [?] with mod_perl Perl directive

2001-08-31 Thread clayton cottingham
hey all i was beating my hed against this i thought i should post all these modules load up and work fine if i use the old location directive way but thats tedious! i thought hey use the perl directive! fine it works great but i couldn't fiqure out why all the modules would load but not

Re: AuthCookie access denied messages

2001-08-20 Thread clayton cottingham
David Young wrote: Before I tackle this myself, has anyone added functionality to AuthCookie so that it will report *why* a user is being asked to login? Currently, if a user enters in a wrong username or password, they just get redirected back to the login form with no explanation.

using HTML::Pager under modperl

2001-08-20 Thread clayton cottingham
hello: im trying to do away with as much of the CGI.pm as possible one of the modules im using is HTML::Pager which utilizes this i was wondering if there is anyway to propagate those variables from the request object or maybe someone has another workaround?

Re: using XML::Parser with apache/modperl ???

2001-07-03 Thread clayton cottingham
one thing you might need to do is compile apache without its expat build in as per Matt S.'s suggestion on axkit.org http://axkit.org/faq.xml look for 'I install AxKit and Apache segfaults when it starts' Christian Wattinger wrote: hi question: is it possibly (should certainly be) to

advice on Apache::DBI Apache::Session and Apache::AuthCookieDBI intergration

2001-06-03 Thread Clayton Cottingham aka drfrog
Hi all, ive just been researching these a bit and I'm wondering if anyone has good advice/links on how to link these three Modules together ? heres what im caught on : 1.is it best to load Apache::DBI at start up of apache and can i load more than one connection type? 2.is it best to login and

Re: Apache::AuthCookie- help on make test

2001-05-18 Thread Clayton Cottingham aka drfrog
Time Co-Ordinate Fri, 18 May 2001 03:35:03 -0700, The Organism labeled Will Waggoner said: Hi Emma, I've gotten this error every time I've run the test for this version of AuthCookie -- but upon installation it works fine. i can confirm this

Re: Preventing duplicate signups

2001-05-17 Thread clayton cottingham
Rob Bloodgood wrote: So, like many of you, I've got a signup system in place for bringing on new customers. My signup script is reasonably straightforward. I use CGI::Validate to make my parameters pass muster (along with a little judicious JavaScript on the signup form),

Re: perl-based authentication

2001-05-10 Thread Clayton Cottingham aka drfrog
hello is this not something like what Apache::AuthCookie or some other Auth scheme does? or am i just missing the boat? you could use something like AuthCookie in a dummy situation get $r-uri grab the .htaccess from that location and parse? Time Co-Ordinate Thu, 10 May 2001 23:16:29 -0600,

Re: Fast DB access

2001-04-19 Thread clayton cottingham
please be advised i also posted this benchmark to [EMAIL PROTECTED] some interesting thoughts etc on this there too thread is: [SQL] any proper benchmark scripts? if anyone is on the mysql lists please post to there

Re: Fast DB access

2001-04-18 Thread clayton cottingham
Matthew Kennedy wrote: On 17 Apr 2001 18:24:43 -0700, clayton wrote: i wanted a good benchmark for postgres and mysql {i hope to transpose the sql properly!} This is a good comparison of MySQL and PostgreSQL 7.0: "Open Source Databases: As The Tables Turn" --

Re: (OT) Re: Fast DB access

2001-04-18 Thread clayton cottingham
Matthew Kennedy wrote: This might help too: http://www.angelfire.com/nv/aldev/pgsql/GreatBridge.html Of course benchmarks are so debatable anyway.. Matt i saw those they are pretty good but greatbridge is tied into postgres somehow im looking for impartial benchmarks nonetheless i

Re: Fast DB access

2001-04-18 Thread Clayton Cottingham aka drfrog
[drfrog]$ perl fast_db.pl postgres 16 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) @ 400.00/s (n=20) mysql 3 wallclock secs ( 0.07 usr + 0.00 sys = 0.07 CPU) @ 285.71/s (n=20) postgres 17 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU) @ 333.33/s (n=20) mysql 3 wallclock secs ( 0.01

Re: security!

2001-03-01 Thread clayton cottingham
Vladimir Ivaschenko wrote: Take a look at http://www.freevsd.org. I haven't used it personally, but it looks like something that you need.. This system is a based on making a chroot environment for each user with his own apache and everything. i can vouch for this approach to development

Re: Debugging mod_perl with gdb

2001-02-07 Thread clayton cottingham
Vivek Khera wrote: "TB" == Tim Bunce [EMAIL PROTECTED] writes: TB I recall someone once created a whole bunch of gdb macros for debugging TB perl. I've CC'd this to p5p in the hope that someone remembers. In the mod_perl source tree (at least in CVS) there's a nice .gdbinit file that

Re: Looking for a new distro

2001-01-13 Thread Clayton Cottingham aka drfrog
heya all: im really waiting for the next bunch of releases here, im hoping that they all start doing a lil more QA before release!! ive tried a lot of different dists and nothing has me going "oh yeah!!" mandrake 7.2 is my current "lesser of Nth evils" last summer i went to town

Re: Email (mod_perl) Apache module?

2000-12-15 Thread clayton cottingham
martin langhoff wrote: brian moseley wrote: (speaking as the author of a proprietary mod_perl webmail...) DO IT!! my fear is that writing it as a mod_perl app, it'd be terribly niche, and we wouldn't get it rolling. I'd rather write a bunch of modules, that can be called

Re: [OT]: Open Source ... was Re: Advocacy idea ...

2000-12-14 Thread clayton cottingham
"Homsher, Dave V." wrote: Just don't post your code to the list itself. It's rude to bloat the mails on the list. Provide a hyperlink to your annotated code. True, but what happens after you get your answer? You take the code down and move on. It would be nice to have a place to post the

Re: debuggers

2000-12-07 Thread clayton cottingham
Perrin Harkins wrote: On Thu, 7 Dec 2000, martin langhoff wrote: I've always considered mod_perl to be completely debugger-unfriendly. That's why I write modules that I can test from a standard script, and then call those modules from Embperl pages or Registry scripts.

Re: Followup: mime-type headers

2000-12-04 Thread clayton cottingham
heya i used to get this sort of errors when posting vrml to ie with perl the problem i was finding is that it would post directly ie would build a wierd html page with an embed tag in it very bizarre of course this blocked certain script node calls from vrml too!! grr. i never found a

Re: sending receiving cookies through the light front end

2000-11-29 Thread clayton cottingham
http://www.cookiecentral.com/faq/#4.7 is a good link the rest is informative as well but this particular section is on limitations including the point vivek made about cross domain cookies , which is not possible - To

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread clayton cottingham
man that is one crazy module! in under ten minutes i had the thing running! kudos again to you matt! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANNOUNCE] HTTP::GHTTP

2000-11-22 Thread Clayton Cottingham
!! and at that time there were more vrml plugins than web browsers!! very frustrating in this case the open source movement has been saving vrml with freewrl and openvrml allright back to the grind On Wed, 22 Nov 2000 18:37:22 + (GMT), Matt Sergeant said: On Wed, 22 Nov 2000, clayton cottingham wrote

Re: database access

2000-11-10 Thread clayton cottingham
Les Mikesell wrote: Perrin Harkins wrote: On Fri, 10 Nov 2000, Tim Sweetman wrote: Would you be interested in adding support for resetting some of these to Apache::DBI? It's pretty easy to do, using PerlCleanupHandler like the auto-rollback does. It would be database-specific

Re: Fast DB access

2000-11-10 Thread clayton cottingham
Matthew Byng-Maddick wrote: On Fri, 10 Nov 2000, Les Mikesell wrote: [ReiserFS] production just to avoid the possibility of a slow fsck after a crash, but it is enormously faster at creating and deleting files too because everything is indexed so it would be an ideal stash for fast

Re: database access

2000-11-08 Thread clayton cottingham
Greg Cope wrote: Jason Liu wrote: Is Apache::DBI absolutely necessary if you want to establish persistent database connection per child? No you can write your own (its open source remember ;-) but why bother - standing on the shoulders of giants etc Greg Thanks,

Re: Perl as DSO...whats wrong with it, specifically?

2000-07-25 Thread clayton cottingham aka drfrog
ive personally not had any probs with mod_perl as a dso blue wrote: On Tue, 25 Jul 2000, Michael Nachbaur wrote: I'm working with IBM (sorry! Its not my choice!) to try to get mod_perl compiled into their custom version of Apache, and their techs want to know why I can't run

best encryption module

2000-07-07 Thread clayton cottingham aka drfrog
whats the best encryption module for use with mod perl? i want to encrypt passwords store in a db and then be able to check what a users inputs against it

Re: [OT] Great book!

2000-05-09 Thread Clayton Cottingham aka DrFrog
another great one ive yet to purchase is object oriented perl there is some sample chapters online somewhere "J. J. Horner" wrote: Well, in an effort to improve my effectiveness when coding perl, I bought "Effective Perl Programming" by Hall w/ Schwartz. I must say, I am enjoying

Re: Installation

2000-03-31 Thread Clayton Cottingham aka DrFrog
redhat 6.1 's apxs is broken i had to recomple apache to get it to work in dso mode Buddy Lee Haystack wrote: Why not try RedHat v6.1? Installing it is a snap! I had it up running in no time. After installing the rpm file for mod_perl, just follow the directions to activate it in the

Re: Installation

2000-03-31 Thread Clayton Cottingham aka DrFrog
to get it to work! Clayton Cottingham aka DrFrog wrote: redhat 6.1 's apxs is broken i had to recomple apache to get it to work in dso mode Buddy Lee Haystack wrote: Why not try RedHat v6.1? Installing it is a snap! I had it up running in no time. After installing the rpm file

Re: How to keep Connection: Keep-Alive

2000-03-31 Thread Clayton Cottingham aka DrFrog
r u talking about db persistence? postgres does concurrent persistence checking what does this mean? it means it handles the whole db in such a way that coding persistence into your perl progs really isnt nessecary as postgres handles it all for youn automagically btw anyone notice how

Re: redhat apache and modperl oh my! just so anyone else knows

2000-01-19 Thread Clayton Cottingham
Michael wrote: so i guess this is the only way to do it with dso for apache 1.3.9 ./configure --enable-rule=shared_core --with-perl=/usr/bin/perl --enable-module=so --enable-module=rewrite for modperl-1.21 perl Makefile.PL USE_APXS=1 USE_DSO=1 WITH_APXS=/usr/sbin/apxs

Re: how come httpd doesn't start even though startup.pl is fine?

2000-01-14 Thread Clayton Cottingham
ok, i think if you mean redhat 6.1 as opposed to linux6.1 i have the same prob, i have never been able to insert anything into the startup.pl besides Apache CGI CGI::Carp . if i try to add any third parties it dies i did a quick search on the mail list and the red hat updates and found that