Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

do not need these dispatcher files

  • Loading branch information...
commit ce9118f7a1c7192874ddc0be137a7da7e3c376a1 1 parent d62daa1
Luke Closs authored
Showing with 0 additions and 32 deletions.
  1. +0 −15 public/dispatch.cgi
  2. +0 −17 public/dispatch.fcgi
15 public/dispatch.cgi
View
@@ -1,15 +0,0 @@
-#!/usr/bin/env perl
-use Dancer ':syntax';
-use FindBin '$RealBin';
-use Plack::Runner;
-
-# For some reason Apache SetEnv directives dont propagate
-# correctly to the dispatchers, so forcing PSGI and env here
-# is safer.
-set apphandler => 'PSGI';
-set environment => 'production';
-
-my $psgi = path($RealBin, '..', 'bin', 'app.pl');
-die "Unable to read startup script: $psgi" unless -r $psgi;
-
-Plack::Runner->run($psgi);
17 public/dispatch.fcgi
View
@@ -1,17 +0,0 @@
-#!/usr/bin/env perl
-use Dancer ':syntax';
-use FindBin '$RealBin';
-use Plack::Handler::FCGI;
-
-# For some reason Apache SetEnv directives dont propagate
-# correctly to the dispatchers, so forcing PSGI and env here
-# is safer.
-set apphandler => 'PSGI';
-set environment => 'production';
-
-my $psgi = path($RealBin, '..', 'bin', 'app.pl');
-my $app = do($psgi);
-die "Unable to read startup script: $@" if $@;
-my $server = Plack::Handler::FCGI->new(nproc => 5, detach => 1);
-
-$server->run($app);
Please sign in to comment.
Something went wrong with that request. Please try again.