As it says here: It doesn't work right (you can't set a non-200 HTTP status code). Interestingly that piece of the documentation seems to have disappeared in 1.31, but the behavior still seems to be identical. Here's some code: ------- test.html ------- Hello % $m->clear_and_abort(403); <%flags> inherit => undef </%flags> --------------------- On a mod_perl mason server, I get a nice 'Forbidden' page. On a Mason/lighttpd server I get a blank screen. Headers from lighttpd/Mason: HTTP/1.1 200 OK Content-Length: 0 Date: Wed, 13 Sep 2006 07:57:08 GMT Server: lighttpd/1.4.11 Headers from Apache/Mason: HTTP/1.1 404 Not Found Date: Wed, 13 Sep 2006 07:56:14 GMT Server: Apache/2.0.55 (FreeBSD) DAV/2 PHP/4.4.2 mod_fastcgi/2.4.2 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.8 Content-Length: 388 Content-Type: text/html; charset=iso-8859-1 Now I'm perfectly willing to admit the problem is with my handler, which I hacked together to make Mason work with lighttpd and FastCGI, details of which are here: http://trac.lighttpd.net/trac/wiki/MasonRecipe Is it my handler, or does this bug still exist? Thanks. - Justin -- Justin Hawkins |
------------------------------------------------------------------------- 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 Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users