我试图在Apache(Version4.33) ProxyPass.conf文件中实现下面的proxypass:
balancer://test-cluster/test/testhelpers/testhtml/test.html#/testfunctionality / ProxyPass /test-web/test.cbbotm
我的问题是"#“被编码为"%23”,从而导致失败。
我尝试了以下各种方法,但似乎没有什么效果:
rule
中的重写
任何建议都会很有帮助。如果还有其他选择的话,那也会很有帮助的。
谢谢桑杰
发布于 2020-07-16 07:10:39
我能够通过从proxypass中排除这个url并使用apache重定向特性来修复它。
ProxyPass /test-web/test.cbbotm!重定向/测试-web/test.cbbotm /test-web/test/testhelpers/testhtml/test.html#/testfunctionality
以某种方式重定向,保留"#“,而不对其进行编码。
并将其应用于具有NE,R参数的RewriteRule中。
https://stackoverflow.com/questions/62887713
复制相似问题