Set AllowOverride to FileInfo for g.o.o

In order for the `.htaccess` file to be read and processed in the g.o.o
site, we need to set AllowOverride to something else than None. FileInfo
should be enough for now as the only rule we're overriding is the
ErrorDocument[0].

This rule is needed to redirect missing badges to the "unofficial
project" one.

[0] http://git.openstack.org/cgit/openstack/governance/tree/doc/source/badges/.htaccess

Change-Id: Ie078e271732563e1a18bb0837cf9a40c6e5fcfa7
This commit is contained in:
Flavio Percoco 2016-11-17 11:27:21 +01:00
parent 67fef047ca
commit 5e22e65f47

View File

@ -22,7 +22,7 @@
<% scope.lookupvar('openstack_project::static::governance_directories').each do |dirname| -%>
<Directory <%= dirname %>>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverride FileInfo
Satisfy Any
Require all granted
</Directory>
@ -56,7 +56,7 @@
<% scope.lookupvar('openstack_project::static::governance_directories').each do |dirname| -%>
<Directory <%= dirname %>>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverride FileInfo
Satisfy Any
Require all granted
</Directory>