Re: Perl Script using MapToStorageHandler

2006-03-02 Thread Torsten Foertsch
On Thursday 02 March 2006 15:34, Geoffrey Young wrote: > thanks for the detailed explanations.  torsten++ :) > > > That leads to an error saying that " > point. > > > > But, a few thing cannot be applied by means of $r->add_config. For > > example "AllowOverride" needs a "Directory" block > > I thi

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

Re: Perl Script using MapToStorageHandler

2006-03-02 Thread Geoffrey Young
thanks for the detailed explanations. torsten++ :) > That leads to an error saying that " 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 $r->add_config() is that it's .htacces

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(' "%s/?">', $uripath), >                           'DirectoryIndex .', >                           'Options +Indexes', >                           'Dav sv

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('', $uripath), 'DirectoryIndex .', 'Options +Indexes', 'Dav svn', sprintf("SVNPath %s", $localpath),

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('', $uripath), 'DirectoryIndex .', 'Options +Indexes', 'Dav svn', sprintf("SVNPath %s", $localpath),

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 Philippe M. Chiasson
Glenn Martin wrote: > Actually if i read the documentation correctly, im > doing it just right. Map to Storage is right before it > get mapped to a Location/Directory... and thus this is > where id want to add Directory/Location and Alias > directives based off of the incomming URI... Im trying > t

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 Configur

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
Actually if i read the documentation correctly, im doing it just right. Map to Storage is right before it get mapped to a Location/Directory... and thus this is where id want to add Directory/Location and Alias directives based off of the incomming URI... Im trying to control DAV input. Take the UR

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 c

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 w