Hi. I'm trying to use $m->decline in a dhandler and it fails.
I have another server with similar configuration and it works.
I've been trying to see what am I missing but I'm stuck.

I've seen there was a bug in decline in a former release of
Mason, but both servers have the same versions of everything.

This is the error:

Can't call method "exec" on an undefined value at
/usr/.../site_perl/5.8.8/HTML/Mason/Request.pm line 973.

This are the versions:

HTML-Mason-1.33
mod_perl-2.0.2
libapreq2-2.07

This is an extract of the configuration:

PerlModule My::Mason::Handler;

<LocationMatch "(\.css|\.html|\.txt|\.pl|\.pdf|/)$">
    PerlSetVar MasonDeclineDirs 0
    SetHandler perl-script
    PerlHandler My::Mason::Handler
</LocationMatch>

<LocationMatch "(\.m(\.css|html|txt|pl|pdf)|dhandler|autohandler)$">
    SetHandler perl-script
    PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to