diff --git a/modules/openstack_project/templates/docs.vhost.erb b/modules/openstack_project/templates/docs.vhost.erb
index d36b0b32d9..a7096f6ba9 100644
--- a/modules/openstack_project/templates/docs.vhost.erb
+++ b/modules/openstack_project/templates/docs.vhost.erb
@@ -46,8 +46,9 @@
Options Indexes FollowSymLinks MultiViews
Satisfy any
Require all granted
+ AllowOverride None
# Allow mod_rewrite rules
- AllowOverride FileInfo
+ AllowOverrideList Redirect RedirectMatch
ErrorDocument 404 /errorpage.html
diff --git a/modules/openstack_project/templates/static-http-and-https.vhost.erb b/modules/openstack_project/templates/static-http-and-https.vhost.erb
index 189ee44afc..a82bd24b9f 100644
--- a/modules/openstack_project/templates/static-http-and-https.vhost.erb
+++ b/modules/openstack_project/templates/static-http-and-https.vhost.erb
@@ -17,6 +17,7 @@
>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
+ AllowOverrideList Redirect RedirectMatch
Satisfy Any
Require all granted
@@ -45,6 +46,7 @@
>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
+ AllowOverrideList Redirect RedirectMatch
Satisfy Any
Require all granted