How to set up Cookieless domain?

Discussion in 'General OpenLiteSpeed Discussion' started by ckissi, May 8, 2017.

  1. ckissi

    ckissi Member

    Hi,

    How can I set up cookieless domain on OLS?
     
  2. lsfoo

    lsfoo Administrator

    What kind of set up are you looking to do?

    I guess I am a little confused about what extra configuration needs to be done, if everything is served as a static file.
     
  3. ckissi

    ckissi Member

    I wonder if I need to set up something like this:

    <FilesMatch "\.(js|css|jpg|png|jpeg|gif|xml|json|txt|pdf|mov|avi|otf|woff|ico|swf)$">
    RequestHeader unset Cookie
    Header unset Cookie
    Header unset Set-Cookie
    </FilesMatch>

    Is this necessary or OLS will handle everything without these settings?
     
  4. ckissi

    ckissi Member

    Did some more research, seems it is necessary only if you serve dynamic files also.
     
    lsfoo likes this.

Share This Page