RE: Set DocumentRoot from modperl

2000-04-04 Thread Karyn Ulriksen
Which handler would be appropriate to do the cleanup on this? -Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 02, 2000 10:39 PM To: Serge Serge Barbosa Da Torre Cc: [EMAIL PROTECTED] Subject: Re: Set DocumentRoot from modperl there have been

RE: Set DocumentRoot from modperl

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Karyn Ulriksen wrote: Which handler would be appropriate to do the cleanup on this? you register the cleanup function from whatever handler changes document_root. that'll happen at the same time as PerlCleanupHandler, which is after PerlLogHandler. my $old_docroot =

Re: Set DocumentRoot from modperl

2000-04-02 Thread Doug MacEachern
there have been several requests for the ability to modify the DocumentRoot, i reckon it's about time we allow that. caveats: if you want the DocumentRoot to be reset to the original value after the request is over, you'll have to do that yourself, something like: my $old_docroot =

Set DocumentRoot from modperl

2000-03-28 Thread Serge Serge Barbosa Da Torre
Hi, I am trying to find a way of setting DocumentRoot (and possibly Alias) directly from modperl in order to implement dynamically generated virtual hosting. The thing is that my virtualhost parameters comes from a database and may change anytime (so I can't restart Apache in general), so it is

RE: Set DocumentRoot from modperl

2000-03-28 Thread Karyn Ulriksen
: Set DocumentRoot from modperl Hi, I am trying to find a way of setting DocumentRoot (and possibly Alias) directly from modperl in order to implement dynamically generated virtual hosting. The thing is that my virtualhost parameters comes from a database and may change anytime (so I can't restart

RE: Set DocumentRoot from modperl

2000-03-28 Thread Karyn Ulriksen
, March 28, 2000 2:03 PM To: [EMAIL PROTECTED] Subject: RE: Set DocumentRoot from modperl Sergio, I just walked this route... The long and short is that it can't be done anything close to feasably. There is a work around to this. If you use the syntax perlcode perlcode require

RE: Set DocumentRoot from modperl

2000-03-28 Thread Michael
I believe he is trying to do this 'on the fly' without reboot for the new configs. Oh, maybe I misunderstood. The problem I had was executing code that needed to know the document root which seems to point to the main mod_perl doc root rather than the root of the particular virtual root.

RE: Set DocumentRoot from modperl

2000-03-28 Thread Serge Serge Barbosa Da Torre
the bar to learn C just so I can do something like this using the Karyn apache engine. Karyn - Karyn Karyn -Original Message- From: Michael Karyn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 28, 2000 2:03 Karyn PM To: [EMAIL PROTECTED] Subject: RE: Set DocumentRoot from modperl Sergio