Version
top

Index Cache Score Version
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwww.narval.fr.eu.org <4e20841124e5f093a4cf7e8a65f10f65>2016-06-04 12:56:47 +0200
committerwww.narval.fr.eu.org <4e20841124e5f093a4cf7e8a65f10f65>2016-06-04 12:56:47 +0200
commita6a43933c1ba2a39e71c7fbd651857bb9220c93d (patch)
tree1544c5a69561d87afb54a8baaa9099daa3253b55 /apache2
Initial collection setup
Diffstat (limited to 'apache2')
-rw-r--r--apache2/cgi.htaccess28
-rw-r--r--apache2/home.htaccess17
-rw-r--r--apache2/htgroup4
-rw-r--r--apache2/htpasswd1
-rw-r--r--apache2/index.htaccess3
-rw-r--r--apache2/score.htaccess3
6 files changed, 56 insertions, 0 deletions
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
+
+<Files get.cgi>
+ # set log severity
+ SetEnv MDTX_LOG_FACILITY local2
+ SetEnv MDTX_LOG_SEVERITY_MAIN info
+
+ # login/password
+ Require env NO_AUTH
+ Require group index
+</Files>
+
+<Files cgit.cgi>
+ # cgit configuration
+ SetEnv CGIT_CONFIG ../../cgitrc
+
+ # login/password
+ Require env NO_AUTH
+ Require group history
+</Files>
+
+#<Files search.cgi>
+# # login/password
+# Require env NO_AUTH
+# Require group index
+#</Files>
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