in reply to mod_perl and http status codes

Works like this:

package My::Handler; use strict; use warnings 'all'; use Apache2::RequestRec; sub handler : method { my ($class, $r) = @_; $r->status( 401 ); return 401; } 1;# return true:

Replies are listed 'Best First'.
Re^2: mod_perl and http status codes
by clintonm9 (Sexton) on Mar 05, 2010 at 15:01 UTC
    Thank you that worked!