From a6a43933c1ba2a39e71c7fbd651857bb9220c93d Mon Sep 17 00:00:00 2001
From: "www.narval.fr.eu.org" <4e20841124e5f093a4cf7e8a65f10f65>
Date: Sat, 4 Jun 2016 12:56:47 +0200
Subject: Initial collection setup
---
apache2/cgi.htaccess | 28 ++++++++++++++++++++++++++++
apache2/home.htaccess | 17 +++++++++++++++++
apache2/htgroup | 4 ++++
apache2/htpasswd | 1 +
apache2/index.htaccess | 3 +++
apache2/score.htaccess | 3 +++
6 files changed, 56 insertions(+)
create mode 100644 apache2/cgi.htaccess
create mode 100644 apache2/home.htaccess
create mode 100644 apache2/htgroup
create mode 100644 apache2/htpasswd
create mode 100644 apache2/index.htaccess
create mode 100644 apache2/score.htaccess
(limited to 'apache2')
diff --git a/apache2/cgi.htaccess b/apache2/cgi.htaccess
new file mode 100644
index 0000000..64bac23
--- /dev/null
+++ b/apache2/cgi.htaccess
@@ -0,0 +1,28 @@
+# enable cgi
+Options +ExecCGI +FollowSymLinks
+AddHandler cgi-script .cgi
+
+
+ # set log severity
+ SetEnv MDTX_LOG_FACILITY local2
+ SetEnv MDTX_LOG_SEVERITY_MAIN info
+
+ # login/password
+ Require env NO_AUTH
+ Require group index
+
+
+
+ # cgit configuration
+ SetEnv CGIT_CONFIG ../../cgitrc
+
+ # login/password
+ Require env NO_AUTH
+ Require group history
+
+
+#
+# # login/password
+# Require env NO_AUTH
+# Require group index
+#
diff --git a/apache2/home.htaccess b/apache2/home.htaccess
new file mode 100644
index 0000000..13864c1
--- /dev/null
+++ b/apache2/home.htaccess
@@ -0,0 +1,17 @@
+# uncomment to force https (no more http available)
+#SSLOptions +StrictRequire
+#SSLRequireSSL
+
+# uncomment to disable authentification
+#SetEnvIf Request_Protocol "^H" NO_AUTH
+
+# server side includes
+Options +Includes
+DirectoryIndex index.shtml
+
+# login/password
+AuthType Digest
+AuthName "mdtx-demo"
+AuthDigestProvider file
+AuthUserFile /etc/mediatex/mdtx-demo/apache2/htpasswd
+AuthGroupFile /etc/mediatex/mdtx-demo/apache2/htgroup
diff --git a/apache2/htgroup b/apache2/htgroup
new file mode 100644
index 0000000..a21b6f5
--- /dev/null
+++ b/apache2/htgroup
@@ -0,0 +1,4 @@
+index: mdtx
+cache: mdtx
+score: mdtx
+history: mdtx
\ No newline at end of file
diff --git a/apache2/htpasswd b/apache2/htpasswd
new file mode 100644
index 0000000..1935467
--- /dev/null
+++ b/apache2/htpasswd
@@ -0,0 +1 @@
+mdtx:mdtx-demo:f7019f6919cb96c6103c980f10303b8c
diff --git a/apache2/index.htaccess b/apache2/index.htaccess
new file mode 100644
index 0000000..3e8aa1d
--- /dev/null
+++ b/apache2/index.htaccess
@@ -0,0 +1,3 @@
+# login/password
+Require env NO_AUTH
+Require group index
diff --git a/apache2/score.htaccess b/apache2/score.htaccess
new file mode 100644
index 0000000..aa82f42
--- /dev/null
+++ b/apache2/score.htaccess
@@ -0,0 +1,3 @@
+# login/password
+Require env NO_AUTH
+Require group score
--
cgit v1.2.3