From ff38e2199a00dbe9b33beac970563336ce14b103 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 29 Nov 2016 00:27:29 +0000 Subject: [PATCH] bdq --- etc/apache/dbq.conf | 10 ++++++++++ www/dbq/.htaccess | 5 +++++ www/dbq/index.php | 3 +++ 3 files changed, 18 insertions(+) create mode 100644 etc/apache/dbq.conf create mode 100644 www/dbq/.htaccess create mode 100644 www/dbq/index.php diff --git a/etc/apache/dbq.conf b/etc/apache/dbq.conf new file mode 100644 index 00000000..67a84aaa --- /dev/null +++ b/etc/apache/dbq.conf @@ -0,0 +1,10 @@ + + ServerName dbq + ServerAlias dbq.* + + DocumentRoot /opt/nb/www/dbq + + SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem + SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key + + diff --git a/www/dbq/.htaccess b/www/dbq/.htaccess new file mode 100644 index 00000000..d952bee0 --- /dev/null +++ b/www/dbq/.htaccess @@ -0,0 +1,5 @@ +RewriteEngine On +#RewriteRule "^/([^/\.]+).tgz$" "/?p=$1.git;a=snapshot;h=refs/heads/master;sf=tgz" [PT] +#RewriteRule "^/([^/\.]+).tgz$" "/$1.git" [R=302] + +DirectoryIndex index.php index.html diff --git a/www/dbq/index.php b/www/dbq/index.php new file mode 100644 index 00000000..26ee66f1 --- /dev/null +++ b/www/dbq/index.php @@ -0,0 +1,3 @@ + -- 2.47.3