Advertisement
tomasnorre

.htaccess for nc_staticfile_cache

Jul 30th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. RewriteCond %{QUERY_STRING} ^$
  2. RewriteCond %{DOCUMENT_ROOT}/typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}index.html%{ENV:TX_NCSTATICFILECACHE_GZIP} -f
  3. RewriteCond %{REQUEST_METHOD} GET
  4. RewriteCond %{HTTP_COOKIE} !be_typo_user [NC]
  5. RewriteCond %{HTTP:Pragma} !no-cache
  6. RewriteCond %{HTTP:Cache-Control} !no-cache
  7. RewriteCond %{HTTP_COOKIE} !nc_staticfilecache [NC]
  8. RewriteRule .* typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html%{ENV:TX_NCSTATICFILECACHE_GZIP} [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement