How to setup cookieless domain in Lighttpd?

风流意气都作罢 提交于 2020-01-02 07:31:10

问题


I want to setup domain with disabled cookies, to serve static content.


回答1:


Don't set a cookie on your domain then. Seriously. That's all you have to do.

Just use a subdomain, and make sure you don't hit whatever your scripting solution is (php, python, whatever) anywhere on that domain. Also, make sure you don't have any lighty modules enabled that cause cookie creation (I'm not sure if there are any or not, but best to check).



来源:https://stackoverflow.com/questions/1186987/how-to-setup-cookieless-domain-in-lighttpd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!