summaryrefslogtreecommitdiffstats
path: root/frikanalen/debian/apache-conf
diff options
context:
space:
mode:
Diffstat (limited to 'frikanalen/debian/apache-conf')
-rw-r--r--frikanalen/debian/apache-conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/frikanalen/debian/apache-conf b/frikanalen/debian/apache-conf
new file mode 100644
index 0000000..743819f
--- /dev/null
+++ b/frikanalen/debian/apache-conf
@@ -0,0 +1,19 @@
+#
+# New URL http://<host>/frikanalen/ for the front page, and
+# http://<host>/cgi-bin/frontpage.cgi and
+# http://<host>/cgi-bin/fetchvideo.cgi implementing it.
+#
+
+Alias /frikanalen /usr/share/frikanalen/www
+ScriptAlias /cgi-bin/frontpage.cgi /usr/lib/cgi-bin/frontpage.cgi
+ScriptAlias /cgi-bin/fetchvideo.cgi /usr/lib/cgi-bin/fetchvideo.cgi
+
+<Directory /usr/share/frikanalen/www>
+ AllowOverride None
+ Options +SymLinksIfOwnerMatch -MultiViews
+
+ # everyone have access
+ Order deny,allow
+ Deny from none
+ Allow from all
+</Directory>