aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/lighttpd/lighttpd.conf21
-rw-r--r--data/lighttpd/plain.user1
-rw-r--r--data/www/index.html21
-rw-r--r--data/www/private/.placeholder0
4 files changed, 43 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd.conf b/data/lighttpd/lighttpd.conf
new file mode 100644
index 0000000..58c63e5
--- /dev/null
+++ b/data/lighttpd/lighttpd.conf
@@ -0,0 +1,21 @@
+server.modules = (
+ "mod_access",
+ "mod_auth",
+)
+
+server.document-root = "/var/lib/arctica-mediaplayer/www"
+server.bind = "127.0.0.1"
+server.port = 9199
+server.follow-symlink = "enable"
+
+auth.debug = 0
+auth.backend = "plain"
+auth.backend.plain.userfile = "/var/lib/arctica-mediaplayer/lighttpd/plain.user"
+
+auth.require = ( "/private/" =>
+ (
+ "method" => "basic",
+ "realm" => "Arctic Media Player Streams",
+ "require" => "valid-user"
+ ),
+)
diff --git a/data/lighttpd/plain.user b/data/lighttpd/plain.user
new file mode 100644
index 0000000..9b3cde9
--- /dev/null
+++ b/data/lighttpd/plain.user
@@ -0,0 +1 @@
+username:password
diff --git a/data/www/index.html b/data/www/index.html
new file mode 100644
index 0000000..9802a59
--- /dev/null
+++ b/data/www/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
+<title>This page intentionally left blank (default)</title>
+<style type="text/css">
+<!--
+.tpilb{ position:absolute; right:2px; bottom:5px; width:240px; height:30px; }
+body { background: #f0f0f0; }
+div, a { font: normal 9px Verdana, Geneva, Arial, Helvetica, sans-serif; color: #A9A9A9; }
+a:link, a:visited, a:hover, a:active { text-decoration: none; }
+-->
+</style>
+</head>
+<body>
+<div class="tpilb">
+Arctica Media Player Streaming Server:<br />This start page has been intentionally left blank.
+</div>
+
+</body>
+</html>
diff --git a/data/www/private/.placeholder b/data/www/private/.placeholder
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/www/private/.placeholder