Skip to content

Instantly share code, notes, and snippets.

@vividsnow
Created Aug 18, 2014
Embed
What would you like to do?
service static w/ user/pass via plack
cpanm U Plack
# later
plackup -MU -MPlack::Builder -e 'builder { enable "Auth::Basic", authenticator => sub {$_[0].$_[1] eq 'a0b0'}; Plack::App::Directory->new->to_app }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment