Advertisement
Guest User

apache-config entity 303 patch

a guest
Oct 21st, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.50 KB | None | 0 0
  1. diff --git a/main.conf b/main.conf
  2. index 33aba62..f7444f0 100644
  3. --- a/main.conf
  4. +++ b/main.conf
  5. @@ -112,7 +112,7 @@
  6.  
  7.      # rewrite /entity/ URLs for wikidata per
  8.      # https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme
  9. -    RewriteRule ^/entity/(.*)$ https://www.wikidata.org/wiki/Special:EntityData/$1 [R=302,QSA]
  10. +    RewriteRule ^/entity/(.*)$ https://www.wikidata.org/wiki/Special:EntityData/$1 [R=303,QSA]
  11.  
  12.      # Configurable favicon
  13.      RewriteRule ^/favicon\.ico$ /w/favicon.php [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement