Merge "Allow .htaccess with mod_rewrite for docs.openstack.org"

This commit is contained in:
Jenkins 2016-10-21 15:36:43 +00:00 committed by Gerrit Code Review
commit dda650877c

View File

@ -11,11 +11,15 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
<%= " ServerAlias #{@serveraliases}" -%>
<% end -%>
RewriteEngine on
DocumentRoot <%= @docroot %>
<Directory <%= @docroot %>>
Options Indexes FollowSymLinks MultiViews
Satisfy any
Require all granted
# Allow mod_rewrite rules
AllowOverride FileInfo
</Directory>
ErrorLog /var/log/<%= scope.lookupvar("httpd::params::apache_name") %>/<%= @name %>_error.log