Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compression for sucatalog files #50

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated documentation for serving compressed catalogs
  • Loading branch information
cvgs committed Aug 2, 2016
commit 33407bac2e005189e2e23a1cfc576a3e507380a3
4 changes: 4 additions & 0 deletions docs/URL_rewrites.md
Original file line number Diff line number Diff line change
@@ -17,9 +17,13 @@ If you are using Apache2 as your webserver, you may be able to configure mod_rew

Here is an example .htaccess file you could place at the root of your Reposado repo:

AddEncoding x-gzip .gz
AddType text/plain .gz
Options FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} Darwin/16
RewriteRule ^/index(.*)\.sucatalog(\.gz)?$ /content/catalogs/others/index-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog$2 [S=8]
RewriteCond %{HTTP_USER_AGENT} Darwin/15
RewriteRule ^/index(.*)\.sucatalog(\.gz)?$ /content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog$2 [S=7]
RewriteCond %{HTTP_USER_AGENT} Darwin/14