Re: apache 2 reloads needed?

2009-11-03 Thread Jonathan Vanasco
On Nov 3, 2009, at 4:27 AM, André Warnier wrote: I see that you mention mysql. This probably means DBI. I think you need to be a bit careful with DBI and Apache::Reload. I seem to recall that there are some particularities there (Probably in relation to permanent cached database connection

Re: Plack

2009-10-15 Thread Jonathan Vanasco
On Oct 15, 2009, at 1:36 PM, Adam Prime wrote: I haven't played with it, but i have read a bunch of Miyagawa's blog posts about it. I do know that Jeff Horwitz is planning to support WSGI in mod_parrot / mod_perl 6, but i don't know exactly what that means ;) Yeah I heard about that too

Re: Plack

2009-10-15 Thread Jonathan Vanasco
On Oct 15, 2009, at 10:01 AM, Issac Goldstand wrote: Whaddaya know... Ironically, this might have saved Plone at my workplace had I known that this was on the way. We were looking at writing custom WSGI components in Python and shuddering (well, I was shuddering) I'm 80% Python now, so

Plack

2009-10-15 Thread Jonathan Vanasco
Has anyone here played with Plack yet ? ( http://plackperl.org/ ) It's about a week old or so publicly, but I'm sure a few of you folks here were privvy to a preview... // Jonathan Vanasco e. jonat...@2xlp.com w. http://findmeon.com/user/jvanasco blog. http://destruc

Re: dealing with empty field names in query

2009-02-23 Thread Jonathan Vanasco
On Feb 13, 2009, at 5:11 PM, Joe Schaefer wrote: We had to stop using libapreq2 for cookies, because we found out that wordpress (being a shoddy piece of software) was generating invalid cookies at times. when apreq encountered it, it segfaulted. What version of apreq was this? And did yo

Re: dealing with empty field names in query

2009-02-13 Thread Jonathan Vanasco
On Feb 13, 2009, at 3:38 PM, André Warnier wrote: The management part of me says that if you sell shoddy merchandise to people, they are going to come back and hit you with it. Presumably, if you get such kind of posted data from a form, it is because you sent a shoddy form to the browser, which

Re: dealing with empty field names in query

2009-02-13 Thread Jonathan Vanasco
On Feb 6, 2009, at 4:58 PM, Phil Carmody wrote: In those name/value pairs, according to HTML 4 at least, the names must begin with a letter [A-Za-z]. The empty string does not do so. Garbage in, garbage out. Part of me agrees with that philosophy. Another part of me is more practical.

Re: Any success with storing photos in a database?

2008-11-27 Thread Jonathan Vanasco
chiming in a few months late... from my experience, and responding to some thoughts in the thread: - storing photos in mysql/pgsql is not a good idea. aside from misc issues that always arise, you end up stressing the db through searches - the better way would be to store photo meta-data in

Re: Share perl variables between apache process

2008-09-25 Thread Jonathan Vanasco
was investigating some other option, but i think i'l use it :) Be careful, IPC::Shareable is pretty slow, especially for large chunks of data. In most cases, an RDBMS or a dbm file ends up being faster. also memcached can work well here // Jonathan Vanasco w. http://findmeon.com

Re: mod_perl BOF at YAPC::NA

2008-06-09 Thread Jonathan Vanasco
On Jun 5, 2008, at 3:09 PM, Perrin Harkins wrote: Count me in. This should be fun. Work on your mod_php jokes. does anyone even use that anymore ? (a serious question)

Re: [OT] Solaris + Apache 2.2 / PHP 5 cluster config help

2008-05-22 Thread Jonathan Vanasco
On May 22, 2008, at 1:14 PM, Perrin Harkins wrote: The module I'm presenting at YAPC::NA and OSCON this year, DBIx::Router, will make it easier to add this kind of partitioning after the fact. It lets you set up rules to choose which database to send a query to. When I have a public prototype

Re: [OT] Solaris + Apache 2.2 / PHP 5 cluster config help

2008-05-21 Thread Jonathan Vanasco
erour ram and APC .5GB. then run the rest of the box on memcached. its not worth running replicants on your http machines - you're better off tossing the CPU to php and the RAM to memcached. // Jonathan Vanasco w. http://findmeon.com/user/jvanasco

Re: refactoring client's decision

2008-05-13 Thread Jonathan Vanasco
On May 11, 2008, at 2:52 AM, Marc Lambrichs wrote: Here's my view: they create a parent App::Handler and in every virtual host they create a Site::Handler which has App::Handler as base. My first guess is that under mod_perl you don't know which Site::Handler will be called. Ofcourse, at

Anyone here building Social Media Apps ( in mod_perl or otherwise ) ?

2008-05-09 Thread Jonathan Vanasco
If so, catch me offlist. This will become relevant to the list next week, i promise ;) // Jonathan Vanasco w. http://findmeon.com/user/jvanasco e. [EMAIL PROTECTED] | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The

Re: Many handlers in the same module

2008-03-28 Thread Jonathan Vanasco
On Mar 28, 2008, at 3:11 PM, Colin Wetherbee wrote: Care to add one, just to see what happens? :) You know you've been working too much on the Business Side when you stop testing stuff like that automatically. sigh... ok... it works if i have package MyApp; sub handler {} sub handler_

Re: Many handlers in the same module

2008-03-28 Thread Jonathan Vanasco
On Mar 27, 2008, at 8:43 PM, Colin Wetherbee wrote: Hm. Yep. ResponseHandler can interpret the ::ResponseHandler part as being a function within Handler.pm, but that does *not* work for InitHandler. i have it set up using PerlFixupHandler PerlResponseHandler PerlC

Re: Many handlers in the same module

2008-03-27 Thread Jonathan Vanasco
On Mar 26, 2008, at 9:47 AM, Colin Wetherbee wrote: We seem to have solved the problem, but for the sake of conversation... When I've tried that in the past, mod_perl would always look for handler() within JetSet::Handler::AccessHandler.pm. Wow. I've got 5 sites in production right now..

Re: Many handlers in the same module

2008-03-25 Thread Jonathan Vanasco
On Mar 19, 2008, at 2:22 PM, Colin Wetherbee wrote: PerlAccessHandler JetSet::Handler->AccessHandler PerlResponseHandler JetSet::Handler->ResponseHandler sub ResponseHandler { my (undef, $r) = @_; # ... } what about... PerlAccessHandler JetSet::Handler::AccessHandler sub AccessHandler

Re: Amazon

2008-02-29 Thread Jonathan Vanasco
On Feb 26, 2008, at 8:29 PM, J. Peng wrote: coding from perl to python is easy,at least it's easy for me. but,as many guys have said to me, from python to perl is not easy. perl's many features,like the rich built-in variables and context,are not so easy to be accetable by newbies. I think th

Re: mod_perl PPM missing Apache2::Reload

2008-02-25 Thread Jonathan Vanasco
On Feb 25, 2008, at 1:57 AM, Dami Laurent (PJ) wrote: Hi Randy, Thanks a lot, seems to work fine (but I didn't test very extensively yet). Just one small bug in the PPM : the ppd file mentions Apache2::Reload, but this is not included in the tar.gz file. So I had to manually install it.

Amazon

2008-02-22 Thread Jonathan Vanasco
g to save on hardware scaling, developer scaling, is the codebase just unmanageable? this would be a costly transition // Jonathan Vanasco w. http://findmeon.com/user/jvanasco e. [EMAIL PRO

Re: [MP2][QUESTION]Session and inactivity

2008-02-14 Thread Jonathan Vanasco
cessing, and write a session expiry system in an event driven framework ( or even use cron/ at jobs to trigger shell scripts ) // Jonathan Vanasco w. http://findmeon.com/user/jvanasco e. [EMAIL PROTECTED] | Founder/CEO - FindMeOn, Inc. | - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: [MP2][QUESTION]Session and inactivity

2008-02-08 Thread Jonathan Vanasco
On Feb 7, 2008, at 2:41 PM, Perrin Harkins wrote: Sure, it's a building block. You build the expiration part on top of it. Either you use a timestamp column in your database or you update a timestamp in the session data. Then you check that to see if too much time has passed. You can certai

Re: How to store keys generated from Crypt::RSA module??

2008-01-22 Thread Jonathan Vanasco
On Jan 6, 2008, at 12:37 PM, Kurt Hansen wrote: I'm using Crypt::RSA module for generating public & private keys. Now the problem is that when I'm storing the keys in the database, and again bringing them to do the signature or verification the Crypt::RSA module is unable to understand the

Re: Can't use Crypt::RSA

2007-12-28 Thread Jonathan Vanasco
try using Crypt::OpenSSL::RSA its a little faster. there is a memory leak in it, but the max- requests directive will make it pretty inconsequential. On Dec 28, 2007, at 5:37 AM, arnab wrote: Hi Everyone, I'm using a small script to use the Crypt::RSA module under windows using Active

Re: Find the values of Apache2::Const

2007-12-23 Thread Jonathan Vanasco
On Dec 22, 2007, at 11:53 AM, Adam Prime wrote: I believe in this situation what you want is $r->status (Apache::Const::HTTP_OK). HTTP_OK and OK are not the same thing at all. It's a mean trick... one is an HTTP constant, the other is a mod_perl constant ( ie HTTP_ prefix and no prefix )

Re: re-factoring 'print' for $r

2007-12-23 Thread Jonathan Vanasco
On Dec 23, 2007, at 1:53 AM, [EMAIL PROTECTED] wrote: I think the print magic only happens if you are running under SetHandler perl-script, and not if you are running under SetHandler modperl. Ah, that seems to be it. I never used perl-script ; I went straight for modperl when i did the

Re: re-factoring 'print' for $r

2007-12-22 Thread Jonathan Vanasco
On Dec 22, 2007, at 4:47 PM, Perrin Harkins wrote: By the way, if you just call print() normally it should all be grabbed by mod_perl anyway. Is there some reason you need to call $r->print() instead? I thought it only does that if you bind STDOUT the right way on compile time, otherwise it

Re: register_cleanup

2007-12-19 Thread Jonathan Vanasco
I'm surprised you're even getting a redirect, this doesn't make sense to me. the MP cleanup handler is supposed to happen after the request is served / client connection is terminated (docs below) if you're trying to do a redirect after processing, try a stacked handler http://perl.apac

Re: Flex

2007-12-05 Thread Jonathan Vanasco
On Dec 3, 2007, at 6:30 PM, Boysenberry Payne wrote: Our system could benefit a lot from being able to compile SWFs on the fly; right now they're all static files loaded dynamically. I could see making them dynamically as needed, while still serving up the static renditions. We do some d

Re: Flex

2007-12-05 Thread Jonathan Vanasco
Ext is good. Personally, I like the MochiKit system (though a good friend maintains it). A few of the big-guys use it for all their internal systems. It has a neat dev enviroment - even has an interpreter for you to dev in. http://mochikit.com/examples/interpreter/index.html O

Re: Flex

2007-12-05 Thread Jonathan Vanasco
On Dec 3, 2007, at 6:30 PM, Boysenberry Payne wrote: Our system could benefit a lot from being able to compile SWFs on the fly; right now they're all static files loaded dynamically. I could see making them dynamically as needed, while still serving up the static renditions. We do some d

Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Jonathan Vanasco
What does it download? print "Content-type: text/plain\n\n"; print "Mod Perl 2 Rocks\n"; or Mod Perl 2 Rocks ?

Re: Losing Variables under Apache2 Reload

2007-11-19 Thread Jonathan Vanasco
On Nov 18, 2007, at 11:00 PM, Perrin Harkins wrote: Okay, the copy/paste error just confused me. In any case, Apache2::Reload wipes all package variables. It uses ModPerl::Util::unload_package. So, this is the intended behavior. My general advice is to only used Apache2::Reload on a dev serv

Re: Losing Variables under Apache2 Reload

2007-11-18 Thread Jonathan Vanasco
atcher to a factory class On Nov 18, 2007, at 10:37 PM, Perrin Harkins wrote: On Nov 18, 2007 7:30 PM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: below is a summation of my problem. when a2::reload recompiles off of a changed sub, i lose the entire WATCH_ME var. What would this

Losing Variables under Apache2 Reload

2007-11-18 Thread Jonathan Vanasco
I'm losing variables under apache2:: reload below is a summation of my problem. when a2::reload recompiles off of a changed sub, i lose the entire WATCH_ME var. i think this might happen because of the begin blocks. and the way plugins register. i thought it wise to bring this up though,

Re: [Question] mod_perl2 W3C HTML Tidy handler location

2007-11-16 Thread Jonathan Vanasco
u get your HTML data as without mod_tidy. To load the module into Apache, add it to APACHE_MODULES in /etc/sysconfig/apache2 ('a2enmod mod_tidy'). To learn about the configuration, refer to /usr/share/doc/packages/apache2-mod_tidy/README. // Jonathan Vanasco w. http://findmeon.co

Re: OffTopic (slightly) - Module Feedback Wanted - Authen::Ticketless

2007-11-13 Thread Jonathan Vanasco
On Nov 13, 2007, at 3:04 PM, Dodger wrote: Something doesn't sound right with this assessment. Stealing the digest(password) wouldn't let you in on a different connection because you'd be using a different seed on a different connection... Yes, you're right , as is your example. However, the

Re: OffTopic (slightly) - Module Feedback Wanted - Authen::Ticketless

2007-11-13 Thread Jonathan Vanasco
an unseeded digested password and limit replay attacks. // Jonathan Vanasco w. http://findmeon.com/user/jvanasco e. [EMAIL PROTECTED] | Founder/CEO - FindMeOn, Inc. | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |

Re: OffTopic (slightly) - Module Feedback Wanted - Authen::Ticketless

2007-11-13 Thread Jonathan Vanasco
On Nov 13, 2007, at 11:48 AM, Michael Peters wrote: Why is this considered "ticketless"? Isn't the challenge that you mention below really a ticket? And does the client need to present this ticket on every request? Yes, you're right - the challenge is a ticket -- and must be presented on

OffTopic (slightly) - Module Feedback Wanted - Authen::Ticketless

2007-11-13 Thread Jonathan Vanasco
y The SVN is here: http://dev.2xlp.com/svn/mod_perl/Authen::Ticketless/trunk/ // Jonathan Vanasco w. http://findmeon.com/user/jvanasco e. [EMAIL PROTECTED] | Founder

Re: simple profiling capability

2007-11-12 Thread Jonathan Vanasco
i'm just tossing this idea out... 1) have a profiler package that handles all the logging, etc - and uses a constant package MyApp:::Profiler; use constant DO_PROFILE=> 1; sub profile { my ( $marker )= @_ ; #log; } 1; 2)

Re: Building mod_perl2 on Leopard

2007-11-12 Thread Jonathan Vanasco
On Nov 10, 2007, at 8:00 PM, Hendrik Van Belleghem wrote: To be honest, I haven't been able to get DBD::mysql compiled, nor Apache2::Request (properly - still some strange errors in the apache2 error log when I try to load it). I haven't fully tested the Apache2 (or mod_perl for that matter).

Re: Building mod_perl2 on Leopard

2007-11-10 Thread Jonathan Vanasco
Slightly off-topic: The 10.2 10.3 and maybe 10.4 versions of Apache that came with OS X had library conflicts with mysql/php if you tried to compile modperl 1 or 2 Can I interpret your post to mean that one does not have to rebuild Apache2 now too? On Nov 10, 2007, at 9:56 AM, Hen

Re: caching reverse proxy config+init scripts

2007-11-08 Thread Jonathan Vanasco
On Nov 8, 2007, at 1:40 PM, John ORourke wrote: Pound (http://www.apsis.ch/pound/index_html) is light-weight, easy to I can disagree -- nginx does everything that pound does, plus will handle your vanilla FLAME WAR!!!1!1! well its not meant to flame... your options are this: a)

Re: caching reverse proxy config+init scripts

2007-11-08 Thread Jonathan Vanasco
On Nov 8, 2007, at 5:50 AM, Clinton Gormley wrote: Pound (http://www.apsis.ch/pound/index_html) is light-weight, easy to configure, fast, stable, and makes the whole SSL and load balancing dead easy. I can disagree -- nginx does everything that pound does, plus will handle your vanilla s

Re: mod_perl MVC framework.

2007-10-26 Thread Jonathan Vanasco
On Oct 24, 2007, at 10:37 PM, Foo JH wrote: What is fast to cook, good to eat is HTML::Template. No XML, easy abstraction between your web designer and developer. I GREATLY prefer using TAL ( in perl using Petal ) for the V someone finally made an integration for Petal and Catalyst. unfo

Re: Correct way to upload a file

2007-08-10 Thread Jonathan Vanasco
On Aug 10, 2007, at 10:25 PM, Mag Gam wrote: I have just started learning perl and mod_perl, and I must admit I am enjoying it a lot! I am tying to upload a file, so I can do some calculations to the file, my question is what is the "correct" and most "efficient" way to upload the file, an

Re: [RELEASE CANDIDATE] libapreq2 2.09-RC2

2007-08-07 Thread Jonathan Vanasco
Are we going to have 2.09 release? It's been quite some time since RC2 actually, i'd like to see an RC3-- there was an issue I kept complaining about that Joe was going to solve thanks to some testing by [EMAIL PROTECTED] -- reference the posting on 2007.05.25 Supposedly, this is going

Re: X_FORWARDED_FOR original IP

2007-08-03 Thread Jonathan Vanasco
e the info in $r ; you ESPECIALLY DO NOT want to do that in your case // Jonathan Vanasco Founder/President - FindMeOn Fonder/CEO - RoadSound | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure fo

Re: reverse proxy/logging problem

2007-08-02 Thread Jonathan Vanasco
On Aug 2, 2007, at 11:07 AM, Carl Johnstone wrote: I've got a two-apache reverse proxy setup, split over two hosts. The problem I've got is that I'd like to put the user_id in the access logs so that our log analysis software can make use of it. Setting apache->user correctly logs the user

Re: mod_perl2 and SDBM-tied hashes

2007-07-29 Thread Jonathan Vanasco
On Jul 29, 2007, at 12:15 PM, Brian Reichert wrote: But, that contradicts the behavior I see with my command-line tool demo: distinct processes with distinct tied hashes can sucessfully share data through the sdbm. :/ any reason why you're using sdbm ? you might be better off with bdb,

Re: php/mod_perl + mysql woes

2007-07-20 Thread Jonathan Vanasco
On Jul 20, 2007, at 8:44 AM, Michael Peters wrote: For some reason, some people are hesitant to run multiple versions of apache on the same machine, but there are lots of people who do it all the time and it works out just fine. If you're concerned about running 3 apaches (1 for mod_perl, 1

Re: Confused Apache::DBI (best practice)

2007-07-17 Thread Jonathan Vanasco
connections for 10 children , as any wait time will be offset by db blocking in later request cycles of your app. thats theoretical though, i haven't had the need/time to try that, but i&

Re: auto_index extension to filter on update time

2007-07-16 Thread Jonathan Vanasco
to rewrite mod_autoindex to get your functionality. However, that wouldn't be very hard to do in MP . // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder Synd

Re: berkeleyDB tie once and forever with mod_perl

2007-07-13 Thread Jonathan Vanasco
On Jul 13, 2007, at 9:48 AM, Perrin Harkins wrote: On 7/13/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: I'm thinking of the situation where you have 1 parent, 4 children. all 4 children hit max-requests and exit before the first replacement spawns. without a standing connec

Re: berkeleyDB tie once and forever with mod_perl

2007-07-13 Thread Jonathan Vanasco
First off- thank you perrin , i'm a step closer to fully understanding this. On Jul 12, 2007, at 9:14 PM, Perrin Harkins wrote: No. This is explicit shared memory, not a mysterious copy-on-write thing. You need to initiate access separately from each process so that none of the XS stuff

Re: berkeleyDB tie once and forever with mod_perl

2007-07-12 Thread Jonathan Vanasco
Could you elaborate on this? I'm a bit unclear: are you suggesting a) the tie be global pre-fork b) the tie be post-fork c) there be no tie whatsoever , and somehow a connection is made using the API at the beginning , and everything just uses the library/ api methods ? m

Re: how do I clear stale POST data?

2007-07-11 Thread Jonathan Vanasco
little mistake like that can be fixed by moving a 'my' from a package into a sub. thats a common mistake that could result in that effect. the other answers are much more specific to your

Re: DBI and threaded MPM

2007-07-09 Thread Jonathan Vanasco
gpool. the apache::dbi/dbi cached don't really pool; they just override connects for established connections on their process and reuse them. things like sqlrelay/pgpool will let you use 50 db connections for 150 server processes ( by blo

Re: header issues etc...

2007-07-04 Thread Jonathan Vanasco
variable names can change, and the only way to get/modify vars is through the api methods. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Networks

Re: header issues etc...

2007-07-03 Thread Jonathan Vanasco
On Jul 3, 2007, at 5:51 PM, Perrin Harkins wrote: I don't really understand this description. If you're trying to code a singleton pattern, use global variables to hold the object. That makes it clearer what your intent is. Scoping works the same as usual under mod_perl. If you need acces

Re: questions on serving big file & SQL statement parsing

2007-07-03 Thread Jonathan Vanasco
competing for resources with processes that can take several seconds. bad idea. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: Where to store uploads

2007-07-03 Thread Jonathan Vanasco
ou a 2 deep directory \d\d = 64*64 = 4096 files if only base32 were more common thats a good sweet spot. for simplicity, i usually do 3 base16 chars. but 2 base32 might be better for your os. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: apache and php

2007-07-02 Thread Jonathan Vanasco
ou're just going to bloat apache and tie up resources. i run nginx on port80 for static content, push php content to fastcgi and proxy certain urls to mod_perl. my server's efficiency spiked drastically when i moved away from an all-apache setup.

Re: questions on serving big file & SQL statement parsing

2007-07-02 Thread Jonathan Vanasco
ral static file handling, under mp if at all possible. let it handle content generation and authorization as the 'brains' -- thats what it does best. use other apps like perlbal, nginx, whatever to handle your static files and large uploads.

Re: Problems using Apache::Reload

2007-07-01 Thread Jonathan Vanasco
erl servers. all of the db interaction on that stuff is handled by requests to internal perl-servers which return json objects. its really gives us the best of both worlds. On Jul 1, 2007, at 4:47 AM, Tony van der Hoff wrote: On 30 Jun at 16:55 Jonathan Vanasco <[EMAIL PROTECTED]>

Re: Problems using Apache::Reload

2007-06-30 Thread Jonathan Vanasco
ment, there are edge cases where things get messed up, and which require a stop- start to get them working again. And for this reason, we would not usually consider using this module in production. its much less edge-cases than it is use-cases. // Jonathan Vanasco | - - - - - - - - - - - -

Re: Problems using Apache::Reload

2007-06-29 Thread Jonathan Vanasco
problems on this list. its likely not the culprit of the problem you're seeing now, but it will be causing many issues down the road. its not meant for production, its geared

Re: Problems using Apache::Reload

2007-06-29 Thread Jonathan Vanasco
, but you should NEVER run Apache::Reload in a production server. NEVER NEVER NEVER NEVER. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClic

Re: [mp2] Apache2::Reload doesn't reload

2007-06-27 Thread Jonathan Vanasco
hatever; } any changes go into myapp Page, or other modules. i never have to worry about the reload issues on the handler. pretty simple. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder Syn

Re: Config::Loader and HTML::StripScripts

2007-06-26 Thread Jonathan Vanasco
that one, but i believe that is the command that locks down what swf files can redirect browsers to ( same domain as html or any or none ) // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Jonathan Vanasco
ts messy to the user. some smtp servers will give you their own guid for the message if you set stuff up right-- but thats not standard across systems. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CE

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Jonathan Vanasco
their effects end up looking like that. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Net

Re: opinions of mod_perl users on MIME email sending

2007-06-22 Thread Jonathan Vanasco
ssues. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Networks | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | Founder/CT

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Jonathan Vanasco
On Jun 21, 2007, at 5:36 PM, Frank Wiles wrote: Off the top of my head? So you can centralize your SMTP onto on system if you have multiple servers in the mix. But that's what MIME::Lite and friends do if you don't specifically tell it to use a remote system. ok. relaying to a local

Re: opinions of mod_perl users on MIME email sending

2007-06-21 Thread Jonathan Vanasco
like Mime::Lite::Template:: I've finally sorted myself out with a PAUSE account so I'll be scouting around for the ideal namespace at some point. I'll be discussing off-list with Jonathan Vanasco so do butt in if you're keen to contribute. Yeah that's a good idea, p

Re: mod_perl2 best practices interacting with non-apache apps

2007-06-21 Thread Jonathan Vanasco
is done, it updates the status to 'processed' , and leaves either a sucessess or failure flag 'waiting page' reloads every 6-10 seconds. if it sees 'processed' in the db, it shows sucesses. btw, the job insert checks for 'si

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-19 Thread Jonathan Vanasco
situations out there too. those are just the ones i deal with daily. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Fo

Re: apache version check

2007-06-18 Thread Jonathan Vanasco
On Jun 18, 2007, at 5:05 PM, John ORourke wrote: $version = ( $ENV{MOD_PERL_API_VERSION}==2 )?2:1; that won't work, because that requires mod_perl to be loaded. the original poster said: "How do I check what version of Apache is installed from command line (without using/lodaing mod_

Re: opinions of mod_perl users on MIME email sending

2007-06-18 Thread Jonathan Vanasco
rs can be unreachable. let your MTA handle that. don't do that in mod_perl. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: apache version check

2007-06-18 Thread Jonathan Vanasco
user's env ) then just call `httpd -v` from a perl script as a shell command, and trap the output. i forget the name of the app that does that... ipc::run ? // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: TIPool

2007-06-16 Thread Jonathan Vanasco
On Jun 16, 2007, at 11:13 AM, Perrin Harkins wrote: 300 is nothing for MySQL. You should be able to handle a few thousand on a machine with enough RAM. agreed. MySQL connections are cheap. Postgres ones consume RAM and kernel resources, and more than 50 sucks on a box. If you already

Re: TIPool

2007-06-15 Thread Jonathan Vanasco
dbpool. for a while i was using pgpool , which is an intermediary server to pool pg connections. i had 60 connections to pgpool, and 40 connections from pgpool the db. but then i got 2 gb more ram, and didn't need it. // Jonathan Va

Re: which module for this purpose?

2007-06-14 Thread Jonathan Vanasco
{filename}.cal"); which will let me turn a http://calendar/path/to/091231jhh?1238u13 into whatever i want for dynamic content. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - -

libapreq: end of file error, discard body request, and more fun

2007-06-13 Thread Jonathan Vanasco
ccess the data fine -- but i'll get a weird stall when an overlimit amount of data is posted does anyone have an idea how i can better test this to figure out wtf is going on ? // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: Apache2::Request install

2007-06-13 Thread Jonathan Vanasco
l for long time.But couldn't upgrade to MP2 and Apache2::Request.:( apache drops to nobody, so thats fine. what was the error ? why did it fail ? // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: Apache2::Request install

2007-06-13 Thread Jonathan Vanasco
On Jun 13, 2007, at 5:44 AM, Jeff Pang wrote: When I installed Apache2::Request (without make test) and rut it I got the errors: at the risk of stating the obvious... what happens why you run make test ? // Jonathan Vanasco

Re: [mp2] The right way to use CGI parameters in a handler

2007-06-11 Thread Jonathan Vanasco
could give me a hint on how to implement it? could you print beforehand? 'print' might not be tied to the same output. this might not be right based on your compile. print 'foo: ' . $cgi->param('foo') . "\n"; try:

Re: MP2: Patches for two problems under OpenBSD

2007-06-09 Thread Jonathan Vanasco
enbsd. i'm under freebsd, and question them. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: MP2: Patches for two problems under OpenBSD

2007-06-09 Thread Jonathan Vanasco
On Jun 9, 2007, at 2:22 PM, Simon Bertrang wrote: The second thing i found was a missing character for a function name in Apache2::SizeLimit (bsd_size_check -> _bsd_size_check): $OpenBSD: patch-lib_Apache2_SizeLimit_pm,v 1.1 2007/06/09 17:55:01 simon Exp $ --- lib/Apache2/SizeLimit.pm.orig

Re: Odd difference between "restart" and "stop - start".

2007-06-08 Thread Jonathan Vanasco
a httpd -k start I don't have this problem. Then everything performs as expected. Why is this? Krist -- [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest sc

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Jonathan Vanasco
encode/unencode // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Networks | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |

Re: asynchronous perl authentication!?

2007-06-07 Thread Jonathan Vanasco
based on the result as someone else chimed in, you just need to catch that via javascript. you'd probably be better off with a custom auth system though - they're not hard to make. // J

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Jonathan Vanasco
On Jun 7, 2007, at 10:32 AM, Michael Peters wrote: Good for URI escaping, but that's not the same thing as HTML escaping, which is what CGI's escape/unescape do right? oh, my bad. then the module is HTML::Entities // Jonath

Re: asynchronous perl authentication!?

2007-06-07 Thread Jonathan Vanasco
0 if there is no login, 1 if they are logged in then have your js handle reading the var. its simple. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Net

Re: Apache Startup

2007-06-07 Thread Jonathan Vanasco
ut binding to STDOUT/STDERR to make sure that it can start.. then it automagically shuts down and restarts going through the whole process again. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | C

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Jonathan Vanasco
On Jun 7, 2007, at 9:57 AM, cfaust-dougot wrote: Hi All, I'm running the latest mp2 with Libapreq. Is there some method to duplicate CGI.pm's escape and unescape methods? I found escape_path, but obviously that isn't the same thing. I'm trying to remove CGI.pm from all my code and these a

Re: Which template engine is best to create a perl site

2007-06-06 Thread Jonathan Vanasco
d negliblle when measured against the db blocking. i could have chosen a faster engine, but the speed wouldn't have mattered much in context, and I wouldn't have the portability that Petal offered me. So i went with petal, th

Re: Which template engine is best to create a perl site

2007-06-05 Thread Jonathan Vanasco
On Jun 5, 2007, at 2:54 PM, Perrin Harkins wrote: I think that's a pretty questionable claim. TT is faster than CGI::Ex::Template in normal use with mod_perl. CET is only faster if you use mod_cgi where TT can't do caching. HTML::Template::JIT compiles your entire template into a C program,

  1   2   3   4   5   6   7   >