Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # GZIP FILE
  2. <IfModule mod_mime.c>
  3. RewriteCond %{REQUEST_URI} /$
  4. RewriteCond %{REQUEST_URI} !^/wp-admin/.*
  5. RewriteCond %{REQUEST_METHOD} !=POST
  6. RewriteCond %{QUERY_STRING} ^(.*)$
  7. RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
  8. RewriteCond %{HTTP:Accept-Encoding} gzip
  9. RewriteCond %{DOCUMENT_ROOT}/wordpress/wp-content/plugins/app-api/cache/%{REQUEST_URI}/index.html.gz -f
  10. RewriteRule ^(.*) /wordpress/wp-content/plugins/app-api/cache/$1/index.html.gz [L]
  11.  
  12. AddType text/html .gz
  13. AddEncoding gzip .gz
  14. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement