Re: Perl Script using MapToStorageHandler

2006-03-02 Thread Geoffrey Young
thanks for the detailed explanations. torsten++ :) That leads to an error saying that Directory is not allowed at that point. But, a few thing cannot be applied by means of $r-add_config. For example AllowOverride needs a Directory block I think what most people don't understand about

Re: Perl Script using MapToStorageHandler

2006-03-02 Thread Glenn Martin
Sure id love to see that script... to be completely hones im still kinda new to perl even... Im getting it slowly... Anyway, im just looking to achieve my goal and that is to have a working script/perl module that can switchout config based on incomming URI... a perfect example would be the one im

Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
Ive got a script im wokring on that uses the PerlMapToStorageHandler at that point it adds to the Apache Configuration using the Incomming URI, creating Location/Directory Sections, and an Alias or two... However, i need to be able to remove these changes after the request is completed... How

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Andy Armstrong
On 1 Mar 2006, at 21:44, Glenn Martin wrote: Ive got a script im wokring on that uses the PerlMapToStorageHandler at that point it adds to the Apache Configuration using the Incomming URI, creating Location/Directory Sections, and an Alias or two... However, i need to be able to remove these

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
If i am doing this wrong, how would you suggest doing it? Glenn R. Martin --- Andy Armstrong [EMAIL PROTECTED] wrote: On 1 Mar 2006, at 21:44, Glenn Martin wrote: Ive got a script im wokring on that uses the PerlMapToStorageHandler at that point it adds to the Apache Configuration using

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Andy Armstrong
On 1 Mar 2006, at 22:13, Philippe M. Chiasson wrote: And you get pre-request behaviour just like you wanted. And it's tons faster too ;-) Yup, what he said. -- Andy Armstrong, hexten.net

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
Sounds great, but how would i do something simular to: $r-add_config([sprintf('LocationMatch %s/?', $uripath), 'DirectoryIndex .', 'Options +Indexes', 'Dav svn', sprintf(SVNPath %s,

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
Sounds great, but how would i do something simular to: $r-add_config([sprintf('LocationMatch %s/?', $uripath), 'DirectoryIndex .', 'Options +Indexes', 'Dav svn', sprintf(SVNPath %s,

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Torsten Foertsch
On Wednesday 01 March 2006 23:20, Glenn Martin wrote: Sounds great, but how would i do something simular to:       $r-add_config([sprintf('LocationMatch %s/?', $uripath),                           'DirectoryIndex .',                           'Options +Indexes',