unsetting PerlTransHandler

2003-08-14 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a PerlTransHandler Handler and want to unset the TransHandler inside the . How to do that? Thanks Torsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/O2FrwicyCTir8T4RAsXlAKCr0SfbKsG/9iNbv4pjxv1rOodV1wCggKO

RE: unsetting PerlTransHandler

2003-08-14 Thread Frank Maas
> and want to unset the TransHandler inside the . > How to do that? AFAIK: not. The TransHandler is the first to be called and cannot appear inside a container (ref. ModPerl cookbook). The only thing I can think of, and in fact implemented this, to make the TransHandler URI-aware and return immed

Re: unsetting PerlTransHandler

2003-08-14 Thread Geoffrey Young
I understand translation handlers cannot be -specific. But directives apply before any translation handler is called (see below). yes they do, but not really. to really understand this, see http://httpd.apache.org/docs/sections.html specifically, "There is actually a / sequence performed

Re: unsetting PerlTransHandler

2003-08-14 Thread Frank Maas
On Thu, Aug 14, 2003 at 11:07:13AM -0400, Geoffrey Young wrote: > > "There is actually a / sequence performed just > before the name translation phase (where Aliases and DocumentRoots are > used to map URLs to filenames). The results of this sequence are completely > thrown away after the tra

Re: unsetting PerlTransHandler

2003-08-14 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 14 August 2003 14:49, Geoffrey Young wrote: > trans handlers are used to map the URI to a filename, the result of which > lets Apache know to which the URI belongs to. it can also > affect which the URI belongs to if that is paired > wi

Re: unsetting PerlTransHandler

2003-08-14 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 14 August 2003 18:20, Geoffrey Young wrote: > Frank Maas wrote: > > Ehm... considering both solutions worked and the quoted paragraph, > > shouldn't we read it as 'the results of this sequence can be used during > > the translation phase, b

Re: unsetting PerlTransHandler

2003-08-14 Thread Geoffrey Young
Yes, I've implemented it also that way. But I thought acts on the URI and in principle there can be a -specific transhandler. I'm wondering why it is impossible? trans handlers are used to map the URI to a filename, the result of which lets Apache know to which the URI belongs to. it can als

RE: unsetting PerlTransHandler

2003-08-14 Thread Frank Maas
> I'm wondering why it is impossible? I am not exactly sure here, but I think this is because a TransHandler is definitely not allowed inside a or container. And since Apache does not make the distinction between containers (it uses the constant RSRC_CONF to disallow a directive from being in (a

Re: unsetting PerlTransHandler

2003-08-14 Thread Geoffrey Young
Frank Maas wrote: On Thu, Aug 14, 2003 at 11:07:13AM -0400, Geoffrey Young wrote: "There is actually a / sequence performed just before the name translation phase (where Aliases and DocumentRoots are used to map URLs to filenames). The results of this sequence are completely thrown away aft

Re: unsetting PerlTransHandler

2003-08-14 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 14 August 2003 13:48, Frank Maas wrote: > | > | PerlSetVar SkipTransHandler 1 > | I don't want to make it configurable. Torsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/O54ywicyCTir8T4RAss0AJ4rNMkqyKC0Tlh8

Re: unsetting PerlTransHandler

2003-08-14 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 14 August 2003 12:34, Frank Maas wrote: > > and want to unset the TransHandler inside the . > > How to do that? > > AFAIK: not. The TransHandler is the first to be called and cannot appear > inside a container (ref. ModPerl cookbook). The o