如何在Lighttpd中设置无cookie域? [英] How to setup cookieless domain in Lighttpd?

查看:180
本文介绍了如何在Lighttpd中设置无cookie域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用禁用的cookie设置域,以提供静态内容.

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

推荐答案

然后不要在您的域上设置cookie.严重地.这就是您要做的全部.

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

只需使用一个子域,并确保您在该域的任何地方都不会遇到任何脚本解决方案(php,python等).另外,请确保没有启用任何导致cookie创建的轻巧模块(我不确定是否有任何模块,但最好检查一下).

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).

这篇关于如何在Lighttpd中设置无cookie域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆