aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/ModPerl.pm
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-07 20:32:21 +0100
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2008-02-07 20:32:21 +0100
commit4163e23ca4f735a6ca3fd5ec6442fcd0328113b7 (patch)
treeeb759b36e2e69db9630fa30ac36269783ddb660d /lib/LXRng/ModPerl.pm
parent378a912bf79e1e5b6384b02b14919371ac0c4785 (diff)
Provisions for mod_perl use, take two.
Diffstat (limited to 'lib/LXRng/ModPerl.pm')
-rw-r--r--lib/LXRng/ModPerl.pm21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/LXRng/ModPerl.pm b/lib/LXRng/ModPerl.pm
new file mode 100644
index 0000000..686af11
--- /dev/null
+++ b/lib/LXRng/ModPerl.pm
@@ -0,0 +1,21 @@
+package LXRng::ModPerl;
+
+use strict;
+use LXRng;
+use LXRng::Web;
+
+use Apache2::Const -compile => qw(FORBIDDEN OK);
+use CGI;
+
+use Data::Dumper;
+
+sub handler {
+ my ($req) = @_;
+
+ my $query = CGI->new();
+ LXRng::Web->handle($query);
+
+ return Apache2::Const::OK;
+}
+
+1;