我在一台计算机上安装了Apache httpd服务,并希望转发到另外两台装有cookie的计算机。
我尝试如下使用ProxyPassReverseCookiePath和ProxyPassReverseCookieDomain,但失败了:
ProxyPass /test1 http://192.168.0.1/testApp1
ProxyPassReverse /test1 http://192.168.0.1/testApp1
ProxyPassReverseCookiePath /testApp1 /test1
ProxyPassReverseCookieDomain 192.168.0.1 localhost
ProxyPass /test2 http://192.168.0.2/testApp2
ProxyPassReverse /test2 http://192.168.0.2/testApp2
ProxyPassReverseCookiePath /testApp2 /test2
ProxyPassReverseCookieDomain 192.168.0.2 localhost