From dea8ee940df2ffe3d52140341b415cf6eddb2d2f Mon Sep 17 00:00:00 2001 From: Jérémy Bobbio Date: Sat, 31 Oct 2015 19:14:36 +0100 Subject: Setup reproducible-builds.org website --- .../etc/apache2/sites-available/jenkins.debian.net | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'hosts/jenkins/etc/apache2/sites-available') diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net index f3218582..ddd50175 100644 --- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net +++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net @@ -314,17 +314,22 @@ Use common-debian-service-https-redirect reproducible-builds.org Use common-directives reproducible-builds.org startcom.crt SSLCertificateFile /etc/apache2/ssl/reproducible-builds.org.pem - DocumentRoot /var/lib/jenkins/userContent/reproducible + DocumentRoot /srv/reproducible-builds.org/www AddDefaultCharset utf-8 - # redirects reproducible-builds.org to https://reproducible.debian.net except for /specs/ and /howto/ - RewriteCond %{HTTP_HOST} reproducible-builds\.org - RewriteCond %{REQUEST_URI} !^/specs($|/) - RewriteCond %{REQUEST_URI} !^/howto($|/) - RewriteRule ^/?(.*) https://reproducible.debian.net/$1 [R=301,L] + Alias /website.git /srv/reproducible-builds.org/git/website.git + Alias /specs /var/lib/jenkins/userContent/reproducible/specs - + RewriteRule on + RewriteRule /howto($|/.*) /docs/ [R=permanent] + + + AllowOverride None Require all granted - + + + AllowOverride None + Require all granted + -- cgit v1.2.3-70-g09d2