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 Location. How to do that? AFAIK: not. The TransHandler is the first to be called and cannot appear inside a container (ref. ModPerl cookbook). The

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: |Location ... | PerlSetVar SkipTransHandler 1 |/Location I don't want to make it configurable. Torsten -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux)

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 Location/LocationMatch 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

Re: unsetting PerlTransHandler

2003-08-14 Thread Geoffrey Young
Yes, I've implemented it also that way. But I thought Location acts on the URI and in principle there can be a Location-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 Directory the

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 Directory or File container. And since Apache does not make the distinction between containers (it uses the constant RSRC_CONF to disallow a directive

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, but are

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 Location/LocationMatch 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

Re: unsetting PerlTransHandler

2003-08-14 Thread Geoffrey Young
I understand translation handlers cannot be Directory-specific. But Location 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

RE: unsetting PerlTransHandler

2003-08-14 Thread Frank Maas
and want to unset the TransHandler inside the Location. 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