### This file is /var/www/plack-example/.htaccess ### Note the dot in the filename! SetHandler perl-script PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /var/www/plack-example/app.psgi #### ### This file is /var/www/plack-example/app.psgi use Data::Dumper; my $app = sub { my $env = shift; my $headers = ['Content-Type' => 'text/plain']; my $body = [Dumper($env)]; return [200, $headers, $body]; };