From 79d294b545a84f818650c50590c1759624a050a8 Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Tue, 6 Oct 2015 13:58:10 -0700 Subject: [PATCH] Update URL rewrites for El Capitan release CatalogURL --- docs/URL_rewrites.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/URL_rewrites.txt b/docs/URL_rewrites.txt index 35ab371..e01de03 100644 --- a/docs/URL_rewrites.txt +++ b/docs/URL_rewrites.txt @@ -33,6 +33,9 @@ RewriteCond %{HTTP_USER_AGENT} Darwin/13 RewriteRule ^index(.*)\.sucatalog$ content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog [L] RewriteCond %{HTTP_USER_AGENT} Darwin/14 RewriteRule ^index(.*)\.sucatalog$ content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog [L] +RewriteCond %{HTTP_USER_AGENT} Darwin/15 +RewriteRule ^index(.*)\.sucatalog$ content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog [L] + (This requires Apache2 to be configured to actually pay attention to mod_rewrite rules in .htaccess files. See your Apache and mod_rewrite documentation for details.) @@ -74,6 +77,10 @@ if ( $http_user_agent ~ "Darwin/13" ){ if ( $http_user_agent ~ "Darwin/14" ){ rewrite ^/index(.*)\.sucatalog$ /content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog last; } +## 10.11.x - El Capitan +if ( $http_user_agent ~ "Darwin/15" ){ + rewrite ^/index(.*)\.sucatalog$ /content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog last; +} Again, consult Nginx documentation for further information about URL rewriting.