diff options
Diffstat (limited to 'apache2')
-rw-r--r-- | apache2/cgi.htaccess | 28 | ||||
-rw-r--r-- | apache2/home.htaccess | 17 | ||||
-rw-r--r-- | apache2/htgroup | 4 | ||||
-rw-r--r-- | apache2/htpasswd | 1 | ||||
-rw-r--r-- | apache2/index.htaccess | 3 | ||||
-rw-r--r-- | apache2/score.htaccess | 3 |
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 |