Apache可以将Cookie从请求清除到特定的URL吗?

我们有以下configuration:

<Directory /docs> AuthFormAuthoritative Off AuthType None Allow from all Satisfy any Options FollowSymLinks </Directory> 

问题:我不希望任何cookie会被发送到Apache目录(即以/docs开头的URL),即使用户首先访问需要身份validation的主站点。

可以用Apache吗? 我应该添加什么configuration?

也许你可以尝试使用mod_headers和:

 RequestHeader unset Cookie 

所有学分去stackoverflow dudes: https : //stackoverflow.com/questions/1798431/how-to-remove-a-cookie-in-apache