【问题标题】:How to set up a reverse proxy for Apache on Business-Objects BI 4.1?如何在 Business-Objects BI 4.1 上为 Apache 设置反向代理?
【发布时间】:2016-08-11 21:47:55
【问题描述】:

我需要确切知道要在 httpd.conf 文件中添加什么,以便在这两个链接上为 Apache 设置反向代理:

http://localhost:8080/BOE

http://localhost:8080/AdminTools

我在这个页面上找到了一些信息:http://solveissue.com/note?id=1676146

ProxyPass /BI4/BOE http://localhost:8080/BOE

ProxyPassReverseCookiePath //BI4/BOE

ProxyPass /BI4/AdminTools http://localhost:8080/AdminTools

ProxyPassReverseCookiePath //BI4/AdminTools

但还不足以让它发挥作用。启动 Apache 时总是出现此错误:

ProxyPassReverseCookiePath takes two or three arguments, Path rewrite rule for proxying cookies

【问题讨论】:

    标签: apache server reverse-proxy httpd.conf business-objects


    【解决方案1】:

    您缺少一个空格。应该是:

    ProxyPassReverseCookiePath    /    /BI4/BOE
    

    (为澄清添加了额外的空格)

    【讨论】:

    • 你能解释一下这个例子中的 BI4 是什么,我对此有点陌生。
    • /BI4 是根虚拟目录。您要做的是使对http://server/BI4/BOE 的调用重新映射为http://server:8080/BOE
    • 还有一个问题:我怎么知道反向代理是否工作正常?
    • 转到http://server/BI4/BOE 看看会发生什么 :) 如果您看到 BO 的登录屏幕,则说明它可以正常工作。
    猜你喜欢
    • 1970-01-01
    • 2011-06-24
    • 2017-10-04
    • 1970-01-01
    • 1970-01-01
    • 2010-09-21
    • 2012-02-02
    • 1970-01-01
    • 2018-02-02
    相关资源
    最近更新 更多