所以我使用Apache将特定文件夹代理到Glassfish实例。我的conf中的规则是:Apache ProxyPass和Sessions
ProxyPass /folder http://localhost:28083
ProxyPassReverse /folder http://localhost:28083
ProxyPassReverseCookiePath /folder http://localhost:28083
它工作正常,会议除外。为每个子文件夹创建一个新的会话。
因此,虽然我留在一个文件夹中,但会话仍然存在,但只要我跳到另一个文件夹中,就会创建一个新会话。
如何为所有子文件夹创建一个会话?
请注意,ProxyPassReverseCookiePath参数与其他ProxyPass参数进行了切换。 – cdauth 2015-12-17 23:18:19