[MP2]mod_perl and index.html

2008-06-24 Thread titetluc titetluc
Hello all I am writing a Perl module to authenticate users (using mod_perl2 and httpd 2.2.6. I would like to display the user name (r->user) when accessing a directory (/test_index/index.html) I have the following httpd configuration DirectoryIndex index.html Options +indexes PerlModu

Re: mod_perl caching problem

2008-06-24 Thread william
Thank you for the reply, That's one of the articles that I had read, but still I have not found where my code having the "my scoped variable in nested subroutines" , I also aware of the nature of ModPerl::Registry would handle the code in its subrountine called "handle". I have used global variabl

Re: mod_perl caching problem

2008-06-24 Thread Geoffrey Young
william wrote: I like to add on something, I had put the pragma use strict; use warnings; on all modules that I had, but I didn't get the warnings of "Variable "$foo" will not stay shared at..." . What other possibility that might cause my program to cache the result even when the input has a

Re: mod_perl caching problem

2008-06-24 Thread william
I like to add on something, I had put the pragma use strict; use warnings; on all modules that I had, but I didn't get the warnings of "Variable "$foo" will not stay shared at..." . What other possibility that might cause my program to cache the result even when the input has already changed ? T

mod_perl caching problem

2008-06-24 Thread william
Hello, Before asking here, I had read a few articles in perl.apache.org about caching issue in mod_perl, but I still don't get it right with my program when I had already changed the input, it still giving me the result of old input. I aware that the child process will only compile the code for on

Re: Apache (httpd) + Persistant Perl (ModPerl/SpeedyCGI) + User Based Processes (SuExec) + Chroot

2008-06-24 Thread Jim Brandt
James Austin wrote: Advantages: 1) Provides persistant perl WITH suexec for per-virtualhost user execution 2) SpeedyCGI handles dynamic data, Apache handles static, hence you don't require a covering proxy as described in http://perl.apache.org/docs/1.0/guide/strategy.html

Re: graphics in perl

2008-06-24 Thread Mike Schienle
On Jun 24, 2008, at 2:32 AM, michael watson (IAH-C) wrote: Did you try GD::Graph? -Original Message- From: Foo JH [mailto:[EMAIL PROTECTED] Sent: Tue 24/06/2008 8:15 AM To: modperl@perl.apache.org Subject: Re: graphics in perl Rolf Schaufelberger wrote: Am Sonntag, 22. Juni 2008 11

RE: graphics in perl

2008-06-24 Thread michael watson (IAH-C)
Did you try GD::Graph? -Original Message- From: Foo JH [mailto:[EMAIL PROTECTED] Sent: Tue 24/06/2008 8:15 AM To: modperl@perl.apache.org Subject: Re: graphics in perl Rolf Schaufelberger wrote: > Am Sonntag, 22. Juni 2008 11:27:26 schrieb Malka Cymbalista: > >> We are running perl

Re: graphics in perl

2008-06-24 Thread Foo JH
Rolf Schaufelberger wrote: Am Sonntag, 22. Juni 2008 11:27:26 schrieb Malka Cymbalista: We are running perl 5.8.5 on a Linux machine that is running apache 2.2.6 with mod_perl 2.0.3. Our data is in a MySQL database (MySQL 5.0.45) We have been asked to write a web application that requires