RE: UTF-8

2010-08-31 Thread John Saylor
hey this is not a mod_perl issue, it's a perl issue. so you need to think about what version of perl lies under your mod perl and then use your favorite search engine and type in 'perl $VERSION unicode' and get busy. [$VERSION is the perl version] or you could start here: http://perldoc.perl.

Re: decline and fall of modperl?

2009-03-26 Thread john saylor
hey On 3/25/2009 11:24 PM, Foo JH wrote: You probably have a feel why Perl isn't a strong choice given these objectives. hmm ... i'm not sure about your second point. it's a somewhat arbitrary example, but look at a 'hello world' in several languages. perl is definitely on the easy side to t

RE: Apache2::Filter::Minifier::JavaScript

2007-09-19 Thread John Saylor
hi -Original Message- From: Graham TerMarsch [mailto:[EMAIL PROTECTED] [deletions] I've been working on some projects needing JS minification recently and wanted to ping others and find out if anyone else would find it useful to have a mod_perl2 filter that auto-minified your JS (using

RE: Both mod_perl 1 and 2 on same machine

2007-05-15 Thread John Saylor
hi ouch. the only suggestion i have is to reasess your needs. really- you'll spend at least 10 hours dicking around with the network config to say nothing about httpd.conf. if you get paid over $10. and hour, that makes it worth it buy a new machine. -Original Message- From: Walt Reed [

RE: Getting user input during apache startup

2007-05-02 Thread John Saylor
hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 9:35 AM [deletions] So i really would prefer to have a way to ask user input from within a section. But am I asking something that is impossible? what's impossible? perl and apache are

RE: Getting user input during apache startup

2007-05-02 Thread John Saylor
hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 8:59 AM [deletions] I use sections quite intensively to configure my apache server. I would like to build in some user interaction during startup. The code works insofar that it waits 5

RE: regex quickie

2007-04-26 Thread John Saylor
hi -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED] What I would like to do is test if $string contains one of the patterns in the pattern match and then carry out a function based upon which pattern is matched... Any ideas? perldoc perlre [look for Backtracking]

RE: Apache::DBI (another) question

2007-03-29 Thread John Saylor
hi i think more traffic will create problems. as you state, you are going against an explicit warning in the docs. this is just begging for trouble. why not just let Apache::DBI manage the handles for you? that is what it is written for. also, i think mysql can handle lots of connections ...

RE: mod_perl implementation possibility

2007-03-15 Thread John Saylor
hi i'd encourage you to look into mod_perl as it can be amazing in letting you get the most out of your hardware. as far as running multiple unrelated perl apps using mod_perl- i think it happens every day! you just need to program them accordingly. also, you can use virtual hosts under apache 1

perl-status not reporting anything

2007-03-13 Thread John Saylor
hi i'm doing some debugging with Apache::Status and coming up to an obstacle. i have 2 modules- one of which works and one doesn't and i'm having a hard time figuring out what's going on. here's the top part of the testing module: package ZZ::testing; use strict; use warnings; use Apache::Const

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
hi > On Mon, 2005-07-11 at 17:14 -0400, John Saylor wrote: > > apache [mod_perl] seg faults on startup. ( 05.07.11 17:26 -0400 ) Perrin Harkins: > When exactly does it segfault? it never completes starting up. it segfaults when it goes to the db to grab the data. i enabled DBI tra

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
( 05.07.11 16:43 -0400 ) Perrin Harkins: > Okay, where are you getting stuck? apache [mod_perl] seg faults on startup. > > it works on perl 5.8.x but not on earlier versions [upgrading is not an > > option at this time]. > What does? calling a subroutine that initializes a global data structure

initializing global data structures from a db

2005-07-11 Thread John Saylor
hi i have a problem with initializing perl data structures from the db. i have an init routine that does all kinds of stuff and is called from startup.pl. one of the things i wanted it to do was to grab some stuff from the db and populate a hash with it. btw, i'm not using Class::DBI and to imple

file upload problem

2005-01-31 Thread John Saylor
hi i'm trying to make this modperl upload handler work and it doesn't. it keeps giving me absolutely nothing for the file [but gives all the params and their values just fine]. i'm using apache_1.3.29, mod_perl-1.29, mod_ssl-2.8.16-1.3.29 This is perl, v5.8.2 built for i686-linux Linux ralph.worl

Re: Free Software as a "Security Hole"

2005-01-12 Thread John Saylor
hi ( 05.01.12 09:34 -0800 ) Goehring, Chuck, RCI - San Diego: > I was looking for something authoratative like FSF, ASF or Richard > Stallman documents etc. you may have heard of 'google' ... -- \js oblique strategy: remove specifics and convert to ambiguities

Re: OT: Free Software as a "Security Hole"

2005-01-12 Thread John Saylor
hi ( 05.01.12 09:21 -0800 ) Goehring, Chuck, RCI - San Diego: > I was speaking to an acquaintance that has a security background and > she told me her company prohibits the use of "Free" software because > there is no guarantee that there are no "backdoors" in it. why is this not true of propriet

Re: Output a page for download

2005-01-12 Thread John Saylor
hi ( 05.01.12 09:38 -0500 ) Sean Davis: > I would like to output tab-delimited text (from a database lookup) to > the user as an application/octet-stream with the name > "tissue_dump.txt". I can't figure out the correct way to set the > headers under mod_perl. Any help? you could buy the boo

another try on the child process failing

2003-12-11 Thread John Saylor
hi i've been writing back and forth with stas about getting make test to finish correctly. i decided to try and let perl do as much of it as i could. here is my makepl_args.mod_perl: APACHE_SRC=../apache_1.3.29/src USE_APACI=1 USE_DSO=1 PERL_SSI=0 EVERYTHING=1 APACI_ARGS=--enable-module=ssl,--en

Re: make test fails- can't find My::child_init

2003-12-11 Thread John Saylor
hi ( 03.12.11 11:19 -0800 ) Stas Bekman: > try adding > > $INC{"My.pm"} = __FILE__; > > > just before: > PerlChildInitHandler My::child_init i did it and it's about the same. here's the error log: [Thu Dec 11 14:59:23 2003] [error] Can't locate My/child_init.pm in @INC (@INC contains: /usr/

Re: make test fails- can't find My::child_init

2003-12-11 Thread John Saylor
hi ( 03.11.26 13:46 -0800 ) Stas Bekman: > and if you add: > > $INC{"My/child_init.pm"} = __FILE__; > > similar to my previous patch. > > This is not the right solution, but something to try. For some reason it > can't see the sub child_init created in startup.pl, and tries to find it in >

Re: make test fails- can't find My::child_init

2003-11-26 Thread John Saylor
hi ( 03.11.26 10:45 -0800 ) Stas Bekman: > Aha! Sorry for missing this point. Any luck with this patch? > Index: t/docs/startup.pl > === > RCS file: /home/cvs/modperl/t/docs/startup.pl,v > retrieving revision 1.44 > diff -u -r1.44 st

Re: make test fails- can't find My::child_init

2003-11-26 Thread John Saylor
hi > John Saylor wrote: > >when i run make test i keep getting errors like this: > > > >[Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC > >(@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 > >/usr/lib/perl5/sit

make test fails- can't find My::child_init

2003-11-25 Thread John Saylor
hi i'm trying so hard to be good and follow directions. when i run make test i keep getting errors like this: [Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /

[mp1] constant segvs

2003-11-24 Thread John Saylor
hi i'm not quite ready to submit a bug report, but i'm getting close. i can get apache to run with mod_perl. if i complile mod_perl with PERL_INIT=1 i keep getting segvs. i've tried running under gdb but all it does is hang there, it never returns anything from the request. i've tried only start

mod_perl declines to handle child

2003-11-21 Thread John Saylor
hi i'm trying to build apache/mod_perl and it keeps seg faulting on me. here's an excerpt from the debug log [MOD_PERL_TRACE=all] Nov 21 15:18:23 [http] [Fri Nov 21 15:18:23 2003] [notice] Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.6k mod_perl/1.29 configured -- resuming normal operations

Re: use modperl to pass authentication to .htaccess

2003-10-28 Thread John Saylor
hi ( 03.10.28 09:38 -0500 ) Phoebe Reed: > I know how to get the username password in a perl script, after basic > authentication, but I do not know if it is possible to go the other > way - to give the username/pass to an .htaccess protected directory > from a script. It seems like it should be

Re: is it mod or just perl?

2003-09-26 Thread John Saylor
hi ( 03.09.25 20:45 -0700 ) [EMAIL PROTECTED]: > how do i know i'm using mod_perl versus just perl? if you're wearing sunglasses, it's mod. -- \js