From: Nicolas Boisselier Date: Tue, 29 Nov 2016 00:27:29 +0000 (+0000) Subject: bdq X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ff38e2199a00dbe9b33beac970563336ce14b103;p=nb.git bdq --- 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 @@ +