Plack-Middleware-Static-Extended is a project mainly written in Perl, it's free.
[DEPRECATED]
=head1 NAME
Plack::Middleware::Static::Extended - Serve static file if Permission ok
=head1 SYNOPSIS
use Plack::Builder;
builder {
enable "Static::Extended",
path => qr{^/(images|js|css)/},
root => './htdocs/',
;
$app;
};
=head1 DESCRIPTION
Permission check
=head1 CONFIGURATIONS
=head2 path => regexp or code ref
See L
=head2 root => string
See L
=head1 AUTHOR
sugama, E
=head1 SEE ALSO
L
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2011 by sugama.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
=cut