From 5540780e9011d2385a0226f4e22fe73c0bc92798 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Thu, 18 Mar 2010 18:41:31 +0100 Subject: initial import --- public/404.html | 17 +++++++++++++ public/500.html | 17 +++++++++++++ public/css/error.css | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ public/css/style.css | 34 +++++++++++++++++++++++++ public/dispatch.cgi | 3 +++ public/dispatch.fcgi | 6 +++++ public/favicon.ico | Bin 0 -> 1406 bytes 7 files changed, 147 insertions(+) create mode 100644 public/404.html create mode 100644 public/500.html create mode 100644 public/css/error.css create mode 100644 public/css/style.css create mode 100755 public/dispatch.cgi create mode 100755 public/dispatch.fcgi create mode 100644 public/favicon.ico (limited to 'public') diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..56a7b9d --- /dev/null +++ b/public/404.html @@ -0,0 +1,17 @@ + + + +Error 404 + + + + +

Error 404

+
+

Page Not Found

Sorry, this is the void.

+
+ + + \ No newline at end of file diff --git a/public/500.html b/public/500.html new file mode 100644 index 0000000..f726607 --- /dev/null +++ b/public/500.html @@ -0,0 +1,17 @@ + + + +Error 500 + + + + +

Error 500

+
+

Internal Server Error

Wooops, something went wrong

+
+ + + \ No newline at end of file diff --git a/public/css/error.css b/public/css/error.css new file mode 100644 index 0000000..c65d027 --- /dev/null +++ b/public/css/error.css @@ -0,0 +1,70 @@ +body { + font-family: Lucida,sans-serif; +} + +h1 { + color: #AA0000; + border-bottom: 1px solid #444; +} + +h2 { color: #444; } + +pre { + font-family: "lucida console","monaco","andale mono","bitstream vera sans mono","consolas",monospace; + font-size: 12px; + border-left: 2px solid #777; + padding-left: 1em; +} + +#footer { + font-size: 10px; +} + +span.key { + color: #449; + font-weight: bold; + width: 120px; + display: inline; +} + +span.value { + color: #494; +} + +/* these are for the message boxes */ + +pre.content { + background-color: #eee; + color: #000; + padding: 1em; + margin: 0; + border: 1px solid #aaa; + border-top: 0; + margin-bottom: 1em; +} + +div.title { + font-family: "lucida console","monaco","andale mono","bitstream vera sans mono","consolas",monospace; + font-size: 12px; + background-color: #aaa; + color: #444; + font-weight: bold; + padding: 3px; + padding-left: 10px; +} + +pre.content span.nu { + color: #889; + margin-right: 10px; +} + +pre.error { + background: #334; + color: #ccd; + padding: 1em; + border-top: 1px solid #000; + border-left: 1px solid #000; + border-right: 1px solid #eee; + border-bottom: 1px solid #eee; +} + diff --git a/public/css/style.css b/public/css/style.css new file mode 100644 index 0000000..4a7f59e --- /dev/null +++ b/public/css/style.css @@ -0,0 +1,34 @@ +body { + font-family: Lucida,sans-serif; + color: #eee; + background-color: #1f1b1a; +} + +#content { + color: #000; + background-color: #eee; + padding: 1em; + margin: 1em; + padding-top: 0.5em; +} + +a { + color: #a5ec02; +} + +h1 { + color: #a5ec02; +} + +#footer { + border-top: 1px solid #aba29c; + margin-top: 2em; + padding-top: 1em; + font-size: 10px; + color: #ddd; +} + +pre { + font-family: \"lucida console\",\"monaco\",\"andale mono\",\"bitstream vera sans mono\",\"consolas\",monospace; +} + diff --git a/public/dispatch.cgi b/public/dispatch.cgi new file mode 100755 index 0000000..85eb1db --- /dev/null +++ b/public/dispatch.cgi @@ -0,0 +1,3 @@ +#!/home/franck/local/bin/perl +use Plack::Runner; +Plack::Runner->run('/home/franck/tmp/dancerREST/app.psgi'); diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi new file mode 100755 index 0000000..559f2b7 --- /dev/null +++ b/public/dispatch.fcgi @@ -0,0 +1,6 @@ +#!/home/franck/local/bin/perl +use Plack::Handler::FCGI; + +my $app = do('/home/franck/tmp/dancerREST/app.psgi'); +my $server = Plack::Handler::FCGI->new(nproc => 5, detach => 1); +$server->run($app); diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..957f4b4 Binary files /dev/null and b/public/favicon.ico differ -- cgit v1.2.3