Permalink
Browse files

Start Plack-ifying the perl.org sites

  • Loading branch information...
1 parent 7a4a22e commit 1c36c4001cc1cef83e0acb599103ef16d32a8347 @abh abh committed Jun 10, 2011
View
@@ -0,0 +1,3 @@
+[submodule "combust"]
+ path = combust
+ url = git://github.com/abh/combust.git
@@ -8,20 +8,11 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
-
<Location /redirect/>
SetHandler perl-script
PerlHandler +PerlOrg::Control::Books->super
</Location>
- <Location /server-status>
- SetHandler server-status
- </Location>
-
# <Location /cgi-bin/>
# SetHandler cgi-script
# </Location>
@@ -7,8 +7,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -21,12 +21,4 @@
PerlHandler CPANNotify::Control::API->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler CPANNotify::Control::Error->super
- </Location>
-
- <Location /server-status>
- SetHandler server-status
- </Location>
</VirtualHost>
@@ -46,8 +46,4 @@
PerlHandler CPANRatings::Control::API->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -8,9 +8,5 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -8,9 +8,5 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -17,8 +17,4 @@
PerlHandler +PerlOrg::Control::Books->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -8,8 +8,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -7,8 +7,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -8,17 +8,9 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
-
<Location /redirect>
SetHandler perl-script
PerlHandler +PerlOrg::Control::Books->super
</Location>
- <Location /server-status>
- SetHandler server-status
- </Location>
</VirtualHost>
@@ -18,8 +18,4 @@
PerlHandler +PerlOrg::Control::Books->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -9,9 +9,5 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -9,11 +9,6 @@
PerlHandler +PerlOrg::Control::Books->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
-
<Location />
SetHandler perl-script
PerlHandler Combust::Control::Basic->super
@@ -7,8 +7,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -7,8 +7,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -8,9 +8,5 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -7,8 +7,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
@@ -10,11 +10,6 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
-
<Location /redirect/>
SetHandler perl-script
PerlHandler +PerlOrg::Control::Books->super
@@ -7,8 +7,4 @@
PerlHandler Combust::Control::Basic->super
</Location>
- <Location /error/>
- SetHandler perl-script
- PerlHandler Combust::Control::Error->super
- </Location>
</VirtualHost>
View
@@ -0,0 +1,9 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use lib 'lib';
+use PerlOrg::App;
+
+my $app = PerlOrg::App->new;
+return $app->reference;
+
Submodule combust added at 7a4a22
View
@@ -1,58 +1,13 @@
-name = Combust
+name = PerlOrg
author = Ask Bjørn Hansen <ask@develooper.com>
license = Perl_5
copyright_holder = Ask Bjørn Hansen
[Prereqs]
local::lib = 0
-Plack = 0.9980
-Plack::Middleware::AccessLog = 0
-Plack::Middleware::Options = 0
-Plack::Middleware::ReverseProxy = 0
-
-; fragments bugfix
-HTTP::Parser::XS = 0.14
-
-Starman = 0
-
-namespace::clean = 0.20
-Moose = 2
-MooseX::NonMoose = 0
-Router::Simple = 0
-Config::Simple = 0
-Config::General = 0
-Authen::Bitcard = 0
-
-File::Path = 0
-
-Class::Accessor::Class = 0
-
-DBI = 0
-
-JSON::XS = 2
-
-IO::Compress::Gzip = 0
-
-HTML::Entities = 0
-
-HTTP::Date = 0
-
-Cache::Memcached = 1.29
-
-Template = 0
-Template::Plugin::JSON = 0
-Template::Plugin::Comma = 0
-Template::Plugin::Number::Format = 0
-
-Pod::Simple = 0
-
-Digest::SHA = 0
-
-URI::Escape = 0
-
-Data::Dumper = 0
-HTML::TagCloud = 0
-
-
+# for cpanratings
+Class::DBI = 0
+Class::DBI::mysql = 0
+Class::DBI::Plugin::AbstractCount = 0
View
@@ -0,0 +1,6 @@
+package PerlOrg::App;
+use Moose;
+use Plack::Builder;
+extends 'Combust::App';
+with 'Combust::App::ApacheRouters';
+with 'Combust::Redirect';

0 comments on commit 1c36c40

Please sign in to comment.