summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-04-26 18:23:51 +0000
committerPaul Buetow <paul@buetow.org>2011-04-26 18:23:51 +0000
commit411f4c0227f280e1a412b825ad82b189017e6795 (patch)
tree2a083566b2f04d10785e41c7149ff172c49c4007
parentc74c292ca38e9955a4a06527a2ade32c618b6b12 (diff)
initial fastcgi support
-rwxr-xr-xindex.fpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/index.fpl b/index.fpl
new file mode 100755
index 0000000..7d6e52c
--- /dev/null
+++ b/index.fpl
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Xerl;
+use FCGI;
+
+while (FCGI::accept >= 0) {
+ my Xerl $xerl = Xerl->new( config => 'config.txt' );
+ $xerl->run();
+}
+