Try changing your index runmode to:
sub index { my $self = shift; $self->header_props( -status => '403 Forbidden'); return ''; }
In reply to Re: Return 403 from within CGI::Application runmode
by scorpio17
in thread Return 403 from within CGI::Application runmode
by tbjers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |