From 17cb181111a1198d62f257574562875b189833c7 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 28 Mar 2013 15:09:28 -0700 Subject: [PATCH] Move zuul status to static.o.o. And update the status page to use common.js. Redirect old zuul status urls to status.o.o. Change-Id: I98e86eb78b70d5cbe53410919642f302e9709d19 Reviewed-on: https://review.openstack.org/25664 Reviewed-by: Clark Boylan Approved: James E. Blair Tested-by: Jenkins --- templates/zuul.vhost.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/zuul.vhost.erb b/templates/zuul.vhost.erb index 746d6dd..4b553b7 100644 --- a/templates/zuul.vhost.erb +++ b/templates/zuul.vhost.erb @@ -1,6 +1,6 @@ :80> ServerAdmin <%= scope.lookupvar("::zuul::serveradmin") %> - DocumentRoot /var/lib/zuul/www + DocumentRoot /var/www ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-error.log @@ -9,7 +9,8 @@ CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::zuul::vhost_name") %>-access.log combined RewriteEngine on - RewriteRule ^/zuul/status$ http://127.0.0.1:8001/status [P] + RewriteRule ^/$ http://status.openstack.org/zuul/ [R] + RewriteRule ^/zuul/status$ http://status.openstack.org/zuul/ [R] RewriteRule ^/status.json$ http://127.0.0.1:8001/status.json [P] Alias /rechecks.html /var/www/recheckwatch/rechecks.html