summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/apache2/sites-available
diff options
context:
space:
mode:
authorHW42 <hw42@ipsumj.de>2015-08-29 17:08:31 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-29 17:28:36 +0200
commit9005ffed5d8236d5102d1f2b9f4b401e66981b2e (patch)
tree275d30a4300054d226e550434ea31a1c956626ed /hosts/jenkins/etc/apache2/sites-available
parentf1cce714fbaa8ee4bd9c16d4fee0c27ca6986b0c (diff)
downloadjenkins.debian.net-9005ffed5d8236d5102d1f2b9f4b401e66981b2e.tar.xz
fix reproducible-builds.org/{howto,spec} redirects
don't redirects /howto and /specs and anything below before for example the following links were wrongly redirected: https://reproducible-builds.org/howto (without /) https://reproducible-builds.org/specs (without /) https://reproducible-builds.org/specs/source-date-epoch-spec/
Diffstat (limited to 'hosts/jenkins/etc/apache2/sites-available')
-rw-r--r--hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
index af07ca90..4042eac7 100644
--- a/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
+++ b/hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net
@@ -299,8 +299,8 @@ Use common-debian-service-https-redirect reproducible-builds.org
# 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/$
+ RewriteCond %{REQUEST_URI} !^/specs($|/)
+ RewriteCond %{REQUEST_URI} !^/howto($|/)
RewriteRule ^/?(.*) https://reproducible.debian.net/$1 [R=301,L]
<Proxy *>