Re: [RFC] Apache2::DirBasedHandler

2008-02-07 Thread André Warnier
I'm not a guru in the matter either, but it sounds interesting. It looks like it could give a way to do things REST-like, but simpler. [EMAIL PROTECTED] wrote: The first version of this is now on CPAN, if anyone is interested in it. Adam Quoting [EMAIL PROTECTED]: I've found myself writing

Re: Question about open()

2008-02-07 Thread Perrin Harkins
On Feb 6, 2008 10:06 PM, Mag Gam <[EMAIL PROTECTED]> wrote: > Currently, when I open a file I have to use the > absolute path (/var/www/appname/top.inc). Is it possible for me to use just > 'top.inc'? You can either use DocumentRoot (http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_

Re: [MP2][QUESTION]Session and inactivity

2008-02-07 Thread Perrin Harkins
On Feb 7, 2008 11:09 AM, titetluc titetluc <[EMAIL PROTECTED]> wrote: > I am using the Apache::Session module to manage ... sessions. > Apache::Session does not manage session expiration Sure, it's a building block. You build the expiration part on top of it. Either you use a timestamp column i

Re: [MP2][QUESTION]Session and inactivity

2008-02-07 Thread titetluc titetluc
Hello all, 2008/2/6, titetluc titetluc <[EMAIL PROTECTED]>: > > Oups > I answered directly to Torsten by error > Here is my answer and the reply > > 2008/2/6, Torsten Foertsch <[EMAIL PROTECTED]>: > > > > On Wed 06 Feb 2008, titetluc titetluc wrote: > > > The module I am developing has to delete

Re: Question about open()

2008-02-07 Thread Chandrakumar Muthaiah
Perrin Harkins wrote: On Feb 6, 2008 10:06 PM, Mag Gam <[EMAIL PROTECTED]> wrote: Currently, when I open a file I have to use the absolute path (/var/www/appname/top.inc). Is it possible for me to use just 'top.inc'? You can either use DocumentRoot (http://perl.apache.org/docs/2.0/ap

Re: Question about open()

2008-02-07 Thread brett lee
Another option: my $HEADER= "$ENV{DOCUMENT_ROOT}/header.shtml"; - Original Message From: Roberto C. Sánchez <[EMAIL PROTECTED]> To: modperl@perl.apache.org Sent: Wednesday, February 6, 2008 8:10:08 PM Subject: Re: Question about open() On Wed, Feb 06, 2008 at 10:06:05PM

Run code just before the original apache process forks

2008-02-07 Thread John Siracusa
Is there some hook or other way to run some Perl code just before the very first fork() of the original apache process? The "manual" way is to put the code at the very end of the last Perl file evaluated during server start-up, but I'm looking for some way that I can do that on behalf of the user