]> git.openstreetmap.org Git - chef.git/commitdiff
Exempt wikibase redirects from being rewritten to wiki pages
authorTom Hughes <tom@compton.nu>
Wed, 28 Nov 2018 22:48:31 +0000 (22:48 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 28 Nov 2018 22:48:31 +0000 (22:48 +0000)
cookbooks/mediawiki/templates/default/apache.erb

index 37977a47fc5b30a12ab7f5ae22d86096ace84b18..7aba9752b87d91e5850f0b19b4e0491814b66ed6 100644 (file)
   RewriteCond %{REQUEST_URI} !^/images/
   RewriteCond %{REQUEST_URI} !^/api\.php$
   RewriteCond %{REQUEST_URI} !^/opensearch_desc\.php$
   RewriteCond %{REQUEST_URI} !^/images/
   RewriteCond %{REQUEST_URI} !^/api\.php$
   RewriteCond %{REQUEST_URI} !^/opensearch_desc\.php$
+  RewriteCond %{REQUEST_URI} !^/entity/
+  RewriteCond %{REQUEST_URI} !^/value/
+  RewriteCond %{REQUEST_URI} !^/reference/
+  RewriteCond %{REQUEST_URI} !^/prop/  
   RewriteCond %{REQUEST_URI} !^/server-status
   RewriteCond %{REQUEST_URI} !^/.well-known/
   RewriteCond %{LA-U:REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_URI} !^/server-status
   RewriteCond %{REQUEST_URI} !^/.well-known/
   RewriteCond %{LA-U:REQUEST_FILENAME} !-f