Add Redirect options to static https vhosts

The current static-https-redirect.vhost config doesn't allow publishing
a .htaccess file in order to setup redirects.  We do use redirects on
sites that share data over both http and https.

This change enables the same options for static https sites.

The motivation is to allow release.o.o to use .htacces to provide
static, human friendly URLs for constraints that persist after branch
deletion in the openstack/requirements Repo.

See: http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002682.html
Note: in that discussion I tested with RewriteRule but Redirect work and
that is what I'm proposing.

Change-Id: I4d3abd46eb15d5e116c832e7393ec1ec4cb6866b
This commit is contained in:
Tony Breeds 2019-02-22 10:26:25 +11:00
parent 9d74057401
commit 1da84f5a42
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
<Directory <%= @docroot %>>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverrideList Redirect RedirectMatch
Satisfy Any
Require all granted
</Directory>