Skip to content

Commit

Permalink
Sierra documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gregneagle committed Sep 19, 2016
1 parent b13dc6b commit a9fb3c5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/URL_rewrites.md
Expand Up @@ -36,6 +36,8 @@ Here is an example .htaccess file you could place at the root of your Reposado r
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]
RewriteCond %{HTTP_USER_AGENT} Darwin/16
RewriteRule ^index(.*)\.sucatalog$ content/catalogs/others/index-10.12-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.
Expand Down Expand Up @@ -105,6 +107,13 @@ Heig Gregorian has contributed this example of an Nginx configuration. This is a
rewrite ^/index(.*)\.sucatalog$ /content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog last;
}


### 10.12.x - Sierra

if ( $http_user_agent ~ "Darwin/16" ){
rewrite ^/index(.*)\.sucatalog$ /content/catalogs/others/index-10.12-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.


Expand Down
11 changes: 11 additions & 0 deletions docs/client_configuration.md
Expand Up @@ -99,3 +99,14 @@ El Capitan clients should use a CatalogURL of the form:
Branch CatalogURLs take the form of:

http://su.yourorg.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_<branchname>.sucatalog


## Sierra Clients

Sierra clients should use a CatalogURL of the form:

http://su.yourorg.com/content/catalogs/others/index-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog

Branch CatalogURLs take the form of:

http://su.yourorg.com/content/catalogs/others/index-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_<branchname>.sucatalog

0 comments on commit a9fb3c5

Please sign in to comment.