Hello!
As described in the other mail, i have a TransHandler wich modifies
the URI. But this doesn't work correctly.
Two examples:
When the URI is not been modified:
TransHandler: $r->uri: /showsession.php
$r->filename: [empty]
$r->path_info: [empty]
AccessHandler: $r->uri: /showsession.php
$r->filename: [DocumentRoot]/showsession.php
$r->path_info: [empty]
But when the URI is been modified:
TransHandler: $r->uri: /session/11/showsession.php --> /showsession.php
$r->filename: [empty]
$r->path_info: [empty]
AccessHandler: $r->uri: /showsession.php
$r->filename: /showsession.php
$r->path_info: [empty]
Why has the URI modification an effect to the filename translation? In
my opinion $r->filename should be equal in both cases, because after
the uri_handler the uri is the same in both examples. I think the
filename translation is done as a part of the dir_conf building
process, which starts *after* the TransHandler was called, because a.
filename and path_info are empy in TransHandlers and b. TransHandlers
cannot be used in Location/File/Directory sections.
Am i wrong? What can i do to get the expected behaviour?
- Nikolaus
--
$|++;@_=map{chr(ord($_)-$|)}split//,"Kvtu!bopuifs!Qfsm!Ibdlfs-";$\="\r";@a=qw(
< ^ > v);$§="_"x25;until($§!~m~_~){$o=int(rand 28)+65;next if$s{$o}++;$o==91?
$o=44:($o==92?$o=32:0);$g=chr$o;for(0..24){if($_[$_]=~m)$g)i){for$m(@a,$_[$_])
{substr $§,$_,$|,$m;print$§;select$/,$/,$/,0.1}}}print$§}print$/