-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Charles Fry wrote:
> Does your dhandler refer to or include settings.html in any way?

Not directly. We do something on the lines of

dhandler:
<%flags>
   inherit => '/syshandler'
</%flags>

my $page = $m->dhandler_arg;
# some munging which converts /settings/123a456 to settings.html
$m->subexec($page, %ARGS,
                   section_id => $section_id,
                   video_id => $video_id,
                   internal_redirect => 1);

But dhandler does not get invoked at all. I put one die at the top to be sure. I
also died in settings.html, and the stack trace clearly showed that it wasn't
called from $m->subexec() but as top level settings.html. I also checked $r->uri
at that point, and it is /video/settings/123a456 as expected, so we can rule out
some unsolicited Apache url mangling.

Cheers,
Srdjan

> 
> Charles
> 
> On 1/31/07, *srdjan* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Package: libhtml-mason-perl
>     Version: 1:1.35-2
>     Severity: normal
> 
> 
>     We have following file structure off the component root (relevant bits):
>     video/
>       dhandler
>       settings.html
> 
>     When /video/settings/123a456 is requested, we get settings.html invoked
>     rather than dhandler.
> 
>     -- System Information:
>     Debian Release: 4.0
>       APT prefers unstable
>       APT policy: (500, 'unstable'), (500, 'stable')
>     Architecture: i386 (i686)
>     Shell:  /bin/sh linked to /bin/bash
>     Kernel: Linux 2.6.18-3-k7
>     Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
> 
>     Versions of packages libhtml-mason-perl depends on:
>     ii  libcache-cache-perl           1.05-2     Managed caches of
>     persistent infor
>     ii  libclass-container-perl       0.12-2     Glues object frameworks
>     together t
>     ii  libexception-class-perl       1.23-1     a module that allows
>     you to declar
>     ii  libparams-validate-perl       0.77-1     validate parameters to
>     Perl method
>     ii  perl                          5.8.8-7    Larry Wall's Practical
>     Extraction
>     ii  perl-base [libscalar-list-uti 5.8.8-7    The Pathologically
>     Eclectic Rubbis
> 
>     Versions of packages libhtml-mason-perl recommends:
>     ii  libapache-mod-perl            1.29.0.4-4 integration of perl
>     with the Apach
>     ii  libapache-request-perl        1.33-1     Generic Apache Request
>     Library
> 
>     -- no debconf information
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyP+SZtcHxCitRpgRAhlyAKDate/rxnBI8g112aS143WNFHvbUgCfQR8s
IigPUvJOudosEVSAlDBawzs=
=j5xL
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to