【问题标题】:Apache Reverse Proxy on Sharepoint server how to Preserve Proxy PortSharepoint 服务器上的 Apache 反向代理如何保留代理端口
【发布时间】:2020-07-12 06:13:03
【问题描述】:

我正在为共享点服务器添加 apache 反向代理。 下面是虚拟主机配置。

< VirtualHost *:80 >

    ServerName spdev1.domain.com 
    ProxyRequests Off
    ProxyPreserveHost On
    RequestHeader unset Origin
    #ProxyVia Off


    <Proxy *>
    Order Deny,Allow
    Allow from all
    </Proxy>
    ProxyPass / http://172.16.2.1:8001/ retry=1 acquire=3000 timeout=600 Keepalive=On
    ProxyPassReverse / http://172.16.2.1:8001/
< /VirtualHost>

当我访问 URL http://spdev1.domain.com 时,Sharepoint 站点被重定向到 http://spdev1.domain.com:8001

如何在响应中保留代理端口号 80,而不是重定向到端口 8001?

Sharepoint 站点是否需要进行任何更改?

谢谢

【问题讨论】:

    标签: apache sharepoint reverse-proxy


    【解决方案1】:

    我能够通过添加从内部 URL 到公共 URL 的备用访问映射来解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-26
      • 2013-04-02
      • 2018-08-23
      • 2020-12-29
      • 1970-01-01
      • 1970-01-01
      • 2020-09-07
      • 2019-06-30
      相关资源
      最近更新 更多