Cookie-Free Subdomain using htacces


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <IfModule mod_headers.c>
  2. <FilesMatch "\\.(js|css|jpg|png|jpeg|gif)$">
  3. RequestHeader unset Cookie
  4. Header unset Set-Cookie
  5. Header set Cache-Control "max-age=86400"
  6. </FilesMatch>
  7. </IfModule>

URL: http://www.dzieyzone.com/content/06-13-2010/cookie-free-subdomain-using-htacces-drupal-multisite

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.