]>
iEval git - plack-app-gruntmaster.git/blob - app.psgi
4 use Apache2
::Authen
::Passphrase qw
/pwcheck/;
5 use Plack
::App
::Gruntmaster
;
9 sub some_auth_required
{
10 my $r = Plack
::Request
->new($_[0]);
11 return 1 if $r->path eq '/action/passwd';
16 enable
'ContentLength';
17 enable
'Static', path
=> qr
,/static/,;
18 enable
'Log4perl', category
=> 'plack', conf
=> 'log.conf';
19 enable_if \
&some_auth_required
, 'Auth::Basic', authenticator
=> sub { eval {pwcheck
@_; 1} }, realm
=> 'Gruntmaster 6000';
20 Plack
::App
::Gruntmaster
->to_app
This page took 0.050295 seconds and 5 git commands to generate.