所以我使用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