2 BEGIN { $ENV{DANCER_APPHANDLER} = 'PSGI';}
4 use FindBin '$RealBin';
7 # For some reason Apache SetEnv directives don't propagate
8 # correctly to the dispatchers, so forcing PSGI and env here
10 set apphandler => 'PSGI';
11 set environment => 'production';
13 my $psgi = path($RealBin, '..', 'bin', 'app.psgi');
14 die "Unable to read startup script: $psgi" unless -r $psgi;
16 Plack::Runner->run($psgi);