Re: AJAX pseudo-push

2009-11-12 Thread Joel Richard
B, but I'd have the actual request handled by another daemon. I can get into further detail and speculation, but maybe we'll leave that as homework. --Joel On Nov 12, 2009, at 1:53 PM, Nicolas George wrote: Hi. There is an increasingly popular technique to emulate server- initi

Re: Configuring virtual hosts on the fly

2009-10-13 Thread Joel Richard
I wonder if there is a way to do a database lookup and substitute that?... In my experience, you really want to minimize the hits on your database and placing a lookup of any kind for -every- connection to apache would be murderous regardless of which database you're using. --Joel

Re: Flex

2007-12-01 Thread Joel Bernstein
On Sat, Dec 01, 2007 at 12:22:57PM -0800, Will Fould wrote: > Is anyone on this list using (or considering using) a modperl service to > handle a Flex client?i Do you mean Parse::Flex? If not, what's Flex? It's kind of you to assume we all know but a URL would be helpful.. /joel

Re: apache2 does not deny acces though PerlAuthenHandler returns HTTP_UNAUTHORIZED

2007-05-16 Thread Joel Bernstein
d patches? Try upgrading to something post 2.0 and see if you still have issues. On the whole it's best to run stable software, that way you can be a bit surer of sanity. mod_perl 1.99 has never been considered suitable for production. /joel

Re: Testing for -D parameters.

2007-05-08 Thread Joel Bernstein
On Tue, May 08, 2007 at 01:20:24PM +0200, Krist van Besien wrote: > Suppose I start my apache with an extra paramter, eg "-D FOO". Is > there a way to test for the presences of this parameter from within > mod perl sections? TFM would have told you, but you can use Apache->define("FOO"). /joel

Re: Troubleshooting Apache2 Segfaults

2007-01-24 Thread Joel Gwynn
On 1/24/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: On 1/24/07, Joel Gwynn <[EMAIL PROTECTED]> wrote: > OK. I replaced that line with a hard-coded file path, and now it's > looking much better. So I guess it's something about the Request > object. My gue

Re: Troubleshooting Apache2 Segfaults

2007-01-24 Thread Joel Gwynn
On 1/24/07, Joel Gwynn <[EMAIL PROTECTED]> wrote: On 1/24/07, Robert Landrum <[EMAIL PROTECTED]> wrote: > Joel Gwynn wrote: > > Interesting. I just might be doing that: > > $config_file = $self->param('r')->dir_config('CONFIG_FILE'); &g

Re: Troubleshooting Apache2 Segfaults

2007-01-24 Thread Joel Gwynn
On 1/24/07, Robert Landrum <[EMAIL PROTECTED]> wrote: Joel Gwynn wrote: > Interesting. I just might be doing that: > $config_file = $self->param('r')->dir_config('CONFIG_FILE'); > > In my section, I have this: > > PerlSetVar CONFIG_FILE /projec

Re: Troubleshooting Apache2 Segfaults

2007-01-23 Thread Joel Gwynn
On 1/22/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: On 1/21/07, Joel Gwynn <[EMAIL PROTECTED]> wrote: > I've got a mod_perl application which segfaults on every 10th or so > requests. Here's what I get in my error log: > > [notice] child pid exit sign

Re: Troubleshooting Apache2 Segfaults

2007-01-22 Thread Joel Gwynn
On 1/21/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: On Jan 21, 2007, at 12:05 PM, Joel Gwynn wrote: > I've got a mod_perl application which segfaults on every 10th or so > requests. Here's what I get in my error log: > > [notice] child pid exit signal Seg

Troubleshooting Apache2 Segfaults

2007-01-21 Thread Joel Gwynn
I'm running mod_perl 2.0.2 (I think) on apache 2 on Debian Linux 2.6.9-023stab033.6 I've got a mod_perl application which segfaults on every 10th or so requests. Here's what I get in my error log: [notice] child pid exit signal Segmentation fault (11) How would I go about troubleshooting

Re: [CGI] Can't Execute Script on Apache

2006-09-18 Thread Joel Bernstein
an a http:// URL pointing at the apache server? That will certainly prevent you from executing the include correctly! /joel

Re: mod_perl comforts

2006-08-17 Thread Joel Bernstein
ecompile templates, it caches them on first use. Which means you'll take the hit in each forked child unless you explicitly precompile them. But perhaps I'm wrong about that? /joel

Re: acceptable memory leaks?

2006-08-16 Thread Joel Bernstein
On Wed, Aug 16, 2006 at 03:24:32PM -0500, Matthew wrote: > > Memory is cheap / CPU is cheap > > My boss makes this same argument and I hate it. Wasting is still wasting. Wasting developer time over a measly couple of KB, you mean? /joel

Re: HTML::Mason?

2006-08-15 Thread Joel Bernstein
n hit. CGI::Application is fast, too, but you end up writing a lot more code than you do with a framework like Catalyst. In summary, I'd go for TT and Catalyst, for most applications. Of course, there will be exceptions -- what is the intended platform for your app? Does it have to run as a CGI, rather than via mod_perl or FCGI? /joel

Apache::Test 1.28 broken cfg

2006-04-17 Thread Joel Bernstein
ht be? Syntax error on line 52 of /home/joel/.cpanplus/5.8.8/build/Apache-Test-1.28/t/conf/extra.conf: Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not included in the server configuration That seems fairly clear to me, but I'm wondering what else I migh

Re: [OT] modperl vs. Ruby

2006-02-25 Thread Joel Bernstein
o of the quality of the RoR viral marketing would make a real difference. ...Not that I, personally, have sufficient CFT to produce the damn thing, you understand. I'll just fling poo from the sidelines. /joel

Problem with long POST parameter values in Apache::Request

2005-06-01 Thread Joel Stevenson
of large values is fine on the same machine. Has anyone else observed this behavior? Does anyone know if this has been fixed in any of the later versions of libapreq2 ? I read over the changes log but didn't find anything that I could tell related to this issue. Thanks, Joel

Re: high throughput perl server

2005-06-01 Thread Joel
eans we're not even using a custom PerlResponseHandler inside our httpd.conf. So I can call the script as mod_cgi or as mod_perl or even on the command line for debugging. Am I doing something wrong? :) --Joel >On 5/26/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: >> On Thu, 2

Re: Apache::DBI and PerlChildExitHandler

2004-12-27 Thread Joel
ed to test on Linux.) I will revisit this sometime in January. We have year-end things to do here at work and it's absorbing all my time. Bleah. I'd rather play with Apache. :) Thanks, --Joel >On Tue, 2004-12-21 at 09:26 -0500, Joel wrote: >> And from what I understand, this i

Apache::DBI and PerlChildExitHandler

2004-12-21 Thread Joel
nagging thing about this is why hasn't anyone thought of this and implemented it before? :) Or maybe I'm just WAY off-base. Thanks, --Joel -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp2] make test fails with "Invalid command SetEnv"

2004-05-19 Thread Joel
Forgive me if this has already been reported. I could not find any references to it in the archives. --Joel -8<-- Start Bug Report 8<-- 1. Problem Description: 'make test' fails while initializing the apache server for testing. Here are th

Re: Apache::Reload

2004-03-11 Thread Joel
.conf: PerlModule Apache::Reload PerlInitHandler Apache::Reload Do you have Apache::Reload set as your PerlInitHandler in your httpd.conf? No mention was made of it in your snippets of your httpd.conf. --Joel >Hi, > >This is probably a question that has been answered before but I

Re: [OT] Experience of Apache::Session vs CGI::Session ?

2004-02-20 Thread Joel
So perhaps it might be wise to investigate CGI::Session since it's more recent and is more likely to be under active development. Then again, maybe Apache::Session is perfect the way it is, although I doubt that. :) Good luck! --Joel >Jean-Michel Hiver wrote: >> What do you need s