X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0950668153776b73b4e02a62d5435a77773cdde..4e01b4b17f139ae35a9564bb0221ce0842b3b90f:/cookbooks/mediawiki/templates/default/apache.erb diff --git a/cookbooks/mediawiki/templates/default/apache.erb b/cookbooks/mediawiki/templates/default/apache.erb index 8c5224a4a..dc3dc5eb0 100644 --- a/cookbooks/mediawiki/templates/default/apache.erb +++ b/cookbooks/mediawiki/templates/default/apache.erb @@ -32,6 +32,10 @@ DocumentRoot <%= @directory %> + AllowEncodedSlashes NoDecode + + ProxyTimeout 300 + RewriteCond %{SERVER_NAME} !=<%= @name %> RewriteRule ^/(.*)$ https://<%= @name %>/$1 [R=permanent]